File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
packages/thirdweb/src/bridge Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import type { Token } from "./types/Token.js";
1515 *
1616 * const tokens = await Bridge.tokens({
1717 * client: thirdwebClient,
18+ * chainId: 1,
1819 * });
1920 * ```
2021 *
@@ -28,7 +29,13 @@ import type { Token } from "./types/Token.js";
2829 * symbol: "ETH",
2930 * name: "Ethereum",
3031 * iconUri: "https://assets.relay.link/icons/1/light.png",
31- * priceUsd: 2000.50
32+ * priceUsd: 2000.50,
33+ * prices: {
34+ * USD: 2000.50,
35+ * EUR: 1800.00,
36+ * GBP: 1500.00,
37+ * JPY: 10000.00
38+ * }
3239 * },
3340 * {
3441 * chainId: 1,
@@ -37,7 +44,13 @@ import type { Token } from "./types/Token.js";
3744 * symbol: "USDC",
3845 * name: "USD Coin",
3946 * iconUri: "https://assets.coingecko.com/coins/images/6319/large/USD_Coin_icon.png",
40- * priceUsd: 1.00
47+ * priceUsd: 1.00,
48+ * prices: {
49+ * USD: 1.00,
50+ * EUR: 0.84,
51+ * GBP: 0.73,
52+ * JPY: 120.00
53+ * }
4154 * }
4255 * ]
4356 * ```
You can’t perform that action at this time.
0 commit comments