Balances

Returns list of token balances that a wallet has.

ℹ️

This endpoint is available on Codex Growth and Enterprise Plans

Endpoint: balances

Method: POST

Arguments

NameTypeDescription
inputBalancesInput!

Required

NameTypeDescription
cursorString

A cursor for use in pagination.

includeNativeBoolean

Whether to include native network balances in the response (ID will be native:networkId). Requires a list of networks. Does not apply when using tokens.

limitInt

The maximum number of holdings to return. Does not apply when using tokens.

networks[Int!]

The network IDs to filter by.

removeScamsBoolean

Whether to remove scam tokens from the response.

tokens[String!]

The token IDs (address:networkId) or addresses to request the balance for. Requires a list of networks if only passing addresses. Include native network balances using native as the token address. Only applied when using walletAddress (not walletId). Max 200 tokens.

walletAddressString

The wallet address to filter by.

Response

NameTypeDescription
cursorStringA cursor for use in pagination.
items

[Balance!]

!

The list of token balances that a wallet has.

Explore


👋

Ask questions, share what you're working on and request new features 👬👭