Skip to main content

Robinhood Token Supply API

Get token total supply on the Robinhood network with Bitquery's EVM.TransactionBalances API. This guide covers the latest supply of a token, a real-time supply stream, and the supply of all active tokens.

API Key Required

To query or stream data outside the Bitquery IDE, you need an API access token.

Follow the steps here: How to generate Bitquery API token ➤

Supply is decimal-normalized

TokenBalance.TotalSupply is already adjusted for the token's decimals, so it returns whole-token values (e.g. 100000000.000000000000000000) — not the raw on-chain integer.


Latest Supply of a Token

Get the most recent total supply for a single token by filtering on its contract address and taking the newest balance record.

{
EVM(network: robinhood) {
TransactionBalances(
limit: {count: 1}
orderBy: {descending: Block_Time}
where: {TokenBalance: {Currency: {SmartContract: {is: "0x0bd7d308f8e1639fab988df18a8011f41eacad73"}}}}
) {
TokenBalance {
Currency {
Symbol
HasURI
SmartContract
}
TotalSupply
}
}
}
}
Sample response
{
"EVM": {
"TransactionBalances": [
{
"TokenBalance": {
"Currency": {
"Symbol": "WETH",
"HasURI": false,
"SmartContract": "0x0bd7d308f8e1639fab988df18a8011f41eacad73"
},
"TotalSupply": "18584.722713864831985195"
}
}
]
}
}

Real-Time Supply Stream for Tokens on Robinhood

Subscribe to live total-supply updates across Robinhood tokens. The SmartContract: {not: "0x"} filter excludes the native coin so only token supply changes stream through.

subscription {
EVM(network: robinhood) {
TransactionBalances(
where: {
TokenBalance: {
Currency: {
SmartContract: {not: "0x"}
}
}
}
) {
TokenBalance {
Currency {
Symbol
HasURI
SmartContract
}
TotalSupply
}
}
}
}

Supply of All Active Tokens

Fetch the latest total supply for every recently active token in a single query. limitBy collapses results to the newest record per token contract, so each token appears once with its current supply. Keep a limit — unbounded, this returns one row per active token, which can be very large.

{
EVM(network: robinhood) {
TransactionBalances(
limitBy: {by: TokenBalance_Currency_SmartContract, count: 1}
limit: {count: 100}
orderBy: {descending: Block_Time}
where: {TokenBalance: {Currency: {SmartContract: {not: "0x"}}}}
) {
TokenBalance {
Currency {
Symbol
HasURI
SmartContract
}
TotalSupply
}
}
}
}
Sample response
{
"EVM": {
"TransactionBalances": [
{
"TokenBalance": {
"Currency": { "Symbol": "HEIST", "HasURI": false, "SmartContract": "0xfbb3171fc52fca9f8ff10b2494a6055a51f68717" },
"TotalSupply": "100000000.000000000000000000"
}
},
{
"TokenBalance": {
"Currency": { "Symbol": "ROBINHOOD", "HasURI": false, "SmartContract": "0x217b7013e00c13ce4f3bc968238e0b13ce297382" },
"TotalSupply": "100000000000.000000000000000000"
}
},
{
"TokenBalance": {
"Currency": { "Symbol": "BabyJugger", "HasURI": false, "SmartContract": "0xd8e25ced04f51efa18fa94b460f6e924c3aa23ae" },
"TotalSupply": "1000000000.000000000000000000"
}
}
]
}
}

Tokenized Stock Supply (NVDA)

Robinhood's tokenized equities are ordinary ERC-20s, so the same query returns the on-chain supply of a stock token — TotalSupply reads as the tokenized share count. Example: NVIDIA (NVDA); swap in AAPL (0xaf3d76f1834a1d425780943c99ea8a608f8a93f9) or any other stock token.

{
EVM(network: robinhood) {
TransactionBalances(
limit: {count: 1}
orderBy: {descending: Block_Time}
where: {TokenBalance: {Currency: {SmartContract: {is: "0xd0601ce157db5bdc3162bbac2a2c8af5320d9eec"}}}}
) {
TokenBalance {
Currency {
Symbol
Name
SmartContract
}
TotalSupply
}
}
}
}

Supply Watchlist: Multiple Tokens at Once

One latest supply row per token for a fixed list — SmartContract.in plus limitBy per contract. Example list: WETH, USDG, AAPL, NVDA.

{
EVM(network: robinhood) {
TransactionBalances(
limitBy: {by: TokenBalance_Currency_SmartContract, count: 1}
limit: {count: 10}
orderBy: {descending: Block_Time}
where: {TokenBalance: {Currency: {SmartContract: {in: [
"0x0bd7d308f8e1639fab988df18a8011f41eacad73",
"0x5fc5360d0400a0fd4f2af552add042d716f1d168",
"0xaf3d76f1834a1d425780943c99ea8a608f8a93f9",
"0xd0601ce157db5bdc3162bbac2a2c8af5320d9eec"
]}}}}
) {
TokenBalance {
Currency {
Symbol
SmartContract
}
TotalSupply
}
}
}
}

FAQ

How do I get the current total supply of a Robinhood token?

Query EVM.TransactionBalances filtered by the token's Currency.SmartContract, ordered by descending: Block_Time with limit: 1. The newest record holds the latest TotalSupply.

How do I stream supply changes in real time?

Run the subscription on TransactionBalances with Currency.SmartContract: {not: "0x"}. Each supply change on a token is pushed to your client as it is indexed.

How do I list supply for all active tokens at once?

Use limitBy: {by: TokenBalance_Currency_SmartContract, count: 1} with orderBy: {descending: Block_Time}. This returns one row — the latest supply — per token contract.

Can I get supply for several tokens in one query?

Yes — filter Currency.SmartContract with in: [...] and add limitBy: {by: TokenBalance_Currency_SmartContract, count: 1} so each token returns its newest supply once. See the watchlist example.

Is TotalSupply raw or decimal-adjusted?

It is decimal-normalized (whole tokens), already divided by the token's decimals. Use it directly for market-cap math without further scaling.


Next steps