Overview
Fireblocks supports hundreds of EVM tokens and dozens of different blockchains. Customers can add their own tokens on different networks as long as these are supported. To learn more, read the following guide.
Fireblocks provides an API to retrieve information about all supported assets, including their unique Fireblocks ID, symbol, contract address (if applicable), and more. This allows customers to see a comprehensive list of supported assets and integrate them into their operations.
Listing Supported Assets
To list all supported assets and their information, customers can utilize the Get Supported Assets endpoint. This endpoint provides detailed information about each supported asset within the Fireblocks ecosystem.
Key Points
- Global vs. Local Support: Some assets are supported globally across all Fireblocks workspaces, while others are supported locally for specific workspaces. The level of support depends on the token's popularity among Fireblocks customers.
- Comprehensive Information: The API returns detailed information about each asset, including its unique Fireblocks ID, symbol, contract address, and other relevant details.
By using this endpoint, customers can ensure they have up-to-date information on all supported assets, enabling them to manage their portfolios and transactions more effectively.
Code Example:
import { readFileSync } from 'fs';
import { Fireblocks, BasePath } from "@fireblocks/ts-sdk";
const FIREBLOCKS_API_SECRET_PATH = "<PATH_TO_YOUR_SECRET>";
// Initialize a Fireblocks API instance with local variables
const fireblocks = new Fireblocks({
apiKey: "<YOUR_API_KEY>",
basePath: BasePath.US,
secretKey: readFileSync(FIREBLOCKS_API_SECRET_PATH, "utf8"),
});
(async() => {
const supportedAssets = await fireblocks.blockchainsAssets.getSupportedAssets()
console.log(JSON.stringify(supportedAssets, null, 2))
})();
Response:
[
.
.
.
{
"id": "YARD_SOL",
"name": "SolYard Finance (Solana)",
"type": "SOL_ASSET",
"contractAddress": "",
"nativeAsset": "SOL",
"decimals": 9,
"issuerAddress": "8RYSc3rrS4X4bvBCtSJnhcpPpMaAJkXnVKZPzANxQHgz"
},
{
"id": "YFI",
"name": "Yearn Finance",
"type": "ERC20",
"contractAddress": "0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e",
"nativeAsset": "ETH",
"decimals": 18
}
.
.
.
]
In the response above you can see that some of the returned tokens have different properties depending on the blockchain.
Here we have a SPL (Solana) token with the Fireblocks ID YARD_SOL
and the mint address under issuerAddress
while the second object represents an ERC20
token on Ethereum with Fireblocks ID YFI
and some additional data like the decimals and the contract's address.