Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
},
"evm/supported-chains",
"evm/balances",
"evm/stablecoins",
"evm/activity",
"evm/collectibles",
"evm/defi-positions",
Expand Down Expand Up @@ -177,6 +178,10 @@
"name": "EVM Balances",
"file": "evm/openapi/balances.json"
},
{
"name": "EVM Stablecoin Balances",
"file": "evm/openapi/stablecoins.json"
},
{
"name": "EVM Activity",
"file": "evm/openapi/activity.json"
Expand Down
6 changes: 5 additions & 1 deletion evm/balances.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ The Token Balances API provides accurate and fast real time balances of the nati

<Tip>
Looking for the balance of a single token for a wallet? See <a href="#single-token-balance">Single token balance</a>.
</Tip>
</Tip>

<Tip>
Looking for only stablecoin balances? Use the dedicated <a href="/evm/stablecoins">Stablecoins</a> endpoint or add `asset_class=stablecoin` to your request.
</Tip>

## Token Prices

Expand Down
10 changes: 10 additions & 0 deletions evm/openapi/balances.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,16 @@
"enum": ["erc20", "native"]
}
},
{
"name": "asset_class",
"in": "query",
"description": "Filter by asset class. Use `stablecoin` to return only stablecoin balances. This is equivalent to using the `/stablecoins` endpoint.",
"required": false,
"schema": {
"type": "string",
"enum": ["stablecoin"]
}
},
{
"name": "metadata",
"in": "query",
Expand Down
Loading