Skip to content

Commit

Permalink
Merge pull request #2318 from dfinity/jmongeon-patch
Browse files Browse the repository at this point in the history
Replacing `xrc` with canister ID `uf6dk-hyaaa-aaaaq-qaaaq-cai`
  • Loading branch information
jessiemongeon1 authored Jan 3, 2024
2 parents 29794e3 + 844d9bc commit c1c658f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ If you need to get your wallet canister ID, you can run the `dfx wallet addresse
Then, you can send a request, such as one to get the BTC/USD rate, with the following command:

```
dfx canister call --wallet $WALLET --with-cycles 10000000000 xrc get_exchange_rate '(record { base_asset = record { symbol = "BTC"; class = variant { Cryptocurrency } }; quote_asset = record { symbol = "USD"; class = variant { FiatCurrency } } })'
dfx canister call --wallet $WALLET --with-cycles 10000000000 uf6dk-hyaaa-aaaaq-qaaaq-cai get_exchange_rate '(record { base_asset = record { symbol = "BTC"; class = variant { Cryptocurrency } }; quote_asset = record { symbol = "USD"; class = variant { FiatCurrency } } })'
```

## Exchange rate canister demo
Expand Down

0 comments on commit c1c658f

Please sign in to comment.