Skip To Content

Blockdaemon Documentation

Available Currencies and Tokens

Overview
Available Currencies and Tokens
Filtering by Asset
Algorand Examples
Ethereum Examples
Solana Examples
Stellar Examples


Overview

The Ubiquity blockchain API Suite provides access to multiple blockchain assets across multiple protocols. Information on assets is returned by Ubiquity endpoints when you query accounts, blocks, and transactions.

For some of the supported protocols, multiple currencies and tokens are available. In this case you can filter the results by asset. To learn more, see the Filtering by Asset section and examples below.


Available Currencies and Tokens

In the table below you will find the full list of available currencies and tokens. The Path column contains asset paths used for filtering by asset.

Protocol Asset Path
Algorand ALGO algorand/native/algo
other assets algorand/asset/{id}
Bitcoin BTC bitcoin/native/btc
Bitcoin Cash BCH bitcoincash/native/bch
Dogecoin DOGE dogecoin/native/doge
Ethereum ETH ethereum/native/eth
ERC-20 tokens ethereum/contract/{contract_hash}/erc-20
Litecoin LTC litecoin/native/ltc
NEAR NEAR near/native/near
Oasis ROSE oasis/native/rose
Optimism OP optimism/native/op
Polkadot DOT polkadot/native/dot
Polygon MATIC polygon/native/matic
Solana SOL solana/native/sol
SPL tokens solana/mint/{pub_key}
Stellar XLM stellar/native/xlm
other assets stellar/credit_alphanum4/{code}
stellar/credit_alphanum12/{code}
Tezos XTZ tezos/native/xtz
XRP XRP ripple/native/xrp

Filtering by Asset

Some of the Ubiquity endpoints support a query parameter allowing you to filter results by asset:

  • parameter: assets
  • value: an asset path or a comma-separated list of paths

The path structure for getting native coins is the following:

  • {protocol}/native/{symbol}
  • e.g. ethereum/native/eth

The path for getting tokens and other assets varies from protocol to protocol.

In the sections below you will find examples of filtering by asset. Please note that only protocols for which Ubiquity supports multiple assets are included.

Supported endpoints


Algorand Examples

The path for the ALGO coin is the following:

  • algorand/native/algo

Other assets are identified by numeric ID:

  • algorand/asset/{id}

Ubiquity supports all Algorand standard assets, e.g.:

Name Symbol ID
AKITA INU AKTA 523683256
goBTC goBTC 386192725
goETH goETH 386195940
Planets PLANET 27165954
STBL STBL 465865291
USD Coin USDC 25077
Yieldly YLDY 226701642
Christmas Space Monkey #241 S-MONKEY 477682918
Hippie Space Monkey #318 S-MONKEY 617226333
etc.

For example, to get the ALGO and USD balances of a given Algorand Mainnet address, use the assets parameter with the following values:

  • algorand/native/algo
  • algorand/asset/25077
svc.blockdaemon.com/universal/v1/algorand/mainnet/account/QA75IQ76F6H2T55G65BY7BPLF5QNWSLT5XGI62COZSYB4ZQ3MSKI3EQ25A?assets=algorand/native/algo,algorand/asset/25077

Learn more about the endpoint: GET Balances of Address


Ethereum Examples

The path for the ETH coin is the following:

  • ethereum/native/eth

ERC-20 tokens are identified by contract hash:

  • ethereum/contract/{contract_hash}/erc-20

Ubiquity supports all ERC-20 tokens, e.g.:

Name Symbol Contract hash
ApeCoin APE 0x4d224452801aced8b2f0aebe155379bb5d594381
Chainlink Token LINK 0x514910771af9ca656af840dff83e8264ecf986ca
Dai Stablecoin DAI 0x6b175474e89094c44da98b954eedeac495271d0f
Matic Token MATIC 0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0
Tether USD USDT 0xdac17f958d2ee523a2206206994597c13d831ec7
SHIBA INU SHIB 0x95ad61b0a150d79219dcf64e1e6cc01f0b64c4ce
USD Coin USDC 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Wrapped BTC WBTC 0x2260fac5e5542a773aa44fbcfedf7c193bc2c599
Wrapped BTC WBTC 0x2260fac5e5542a773aa44fbcfedf7c193bc2c599
etc.

For example, to get the ETH and USDT of a given Ethereum Mainnet address, use the assets parameter with the following values:

  • ethereum/native/eth
  • ethereum/contract/0xdac17f958d2ee523a2206206994597c13d831ec7/erc-20
svc.blockdaemon.com/universal/v1/ethereum/mainnet/account/0x3cd751e6b0078be393132286c442345e5dc49699?assets=ethereum/native/eth,ethereum/contract/0xdac17f958d2ee523a2206206994597c13d831ec7/erc-20

Learn more about the endpoint: GET Balances of Address


Solana Examples

The path for the SOL coin is the following:

  • solana/native/sol

SPL tokens are identified by pubkey:

  • solana/mint/{pub_key}

Ubiquity supports all SPL tokens, e.g.:

Name Symbol Pubkey
Audius (Portal) AUDIO 9LzCMqDgTKYz9Drzqnpgee3SGa89up3a247ypMj2xrqM
Mango MNGO MangoCzJ36AjZyKwVj3VnYU4GTonjfVEnJmvvWaxLac
Plutonian DAO PLD 2cJgFtnqjaoiu9fKVX3fny4Z4pRzuaqfJ3PBTMk2D9ur
Raydium RAY 4k3Dyjzvzp8eMZWUXbBCjEvwSkkk59S5iCNLY3QrkX6R
Republic Credits RPC EAefyXw6E8sny1cX3LTH6RSvtzH6E5EFy1XsE2AiH1f3
Serum SRM SRMuApVNdxXokk5GT7XD5cUUgXMBCoAz2LHeuAoKWRt
etc.

For example, to get the SOL and PLD balances of a given Solana Mainnet address, use the assets parameter with the following values:

  • solana/native/sol
  • solana/mint/2cJgFtnqjaoiu9fKVX3fny4Z4pRzuaqfJ3PBTMk2D9ur
svc.blockdaemon.com/universal/v1/solana/mainnet/account/BkJfuow72HkBGZMNGJQDwiPYmjvyu9DsgWxaFBVP5o2X?assets=solana/native/sol,solana/mint/2cJgFtnqjaoiu9fKVX3fny4Z4pRzuaqfJ3PBTMk2D9ur

Learn more about the endpoint: GET Balances of Address


Stellar Examples

The path for the XLM coin is the following:

  • stellar/native/xlm

Other assets are identified by code (symbol):

  • stellar/credit_alphanum4/{code}
  • stellar/credit_alphanum12/{code}

Stellar supports two code types, 4- and 12-character maximum, e.g.:

Name Symbol Type Code
Aqua AQUA credit_alphanum4 aqua
Ixinium XXA credit_alphanum4 xxa
Mobius MOBI credit_alphanum4 mobi
Tether USD USDT credit_alphanum4 usdt
yXLM yXLM credit_alphanum4 yxlm
Bitcoin Lightning BTCLN credit_alphanum12 btcln
Polygon MATIC credit_alphanum12 matic
yUSDC yUSDC credit_alphanum12 yusdc
etc.

For example, to get the XLM and MATIC balances of a given Stellar Mainnet address, use the assets parameter with the following values:

  • stellar/native/xlm
  • stellar/credit_alphanum12/matic
svc.blockdaemon.com/universal/v1/stellar/mainnet/account/GBIBSQ36BXMS2N6HIFLWGU3K2G7XJZIWI2R4GEBCJAOWIELJBRXVFH5J?assets=stellar/native/xlm,stellar/credit_alphanum12/matic

Learn more about the endpoint: GET Balances of Address

We don't support Internet Explorer

Please use Chrome, Safari, Firefox, or Edge to view this site.