New: Try Gatekeeper (Beta) for significantly lower latency. Learn More
New: Try Gatekeeper (Beta) for significantly lower latency. Learn More
Returns the token balances for a given owner. The V2 version solves a minor naming issue. .
curl --request POST \
--url 'https://mainnet.helius-rpc.com/?api-key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": "1",
"method": "getCompressedTokenBalancesByOwnerV2",
"params": {
"owner": "11111114DhpssPJgSi1YU7hCMfYt1BJ334YgsffXm",
"cursor": "3J98t1WpEZ73CNm",
"limit": 1,
"mint": "11111114DhpssPJgSi1YU7hCMfYt1BJ334YgsffXm"
}
}
'{
"context": {
"slot": 100
},
"value": {
"items": [
{
"balance": 100,
"mint": "11111114DhpssPJgSi1YU7hCMfYt1BJ334YgsffXm"
}
],
"cursor": "3J98t1WpEZ73CNm"
}
}Documentation Index
Fetch the complete documentation index at: https://helius-codex-token-transfer-filter-docs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
The version of the JSON-RPC protocol.
2.0 An ID to identify the request.
The name of the method to invoke.
getCompressedTokenBalancesByOwnerV2 Show child attributes
Was this page helpful?
curl --request POST \
--url 'https://mainnet.helius-rpc.com/?api-key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": "1",
"method": "getCompressedTokenBalancesByOwnerV2",
"params": {
"owner": "11111114DhpssPJgSi1YU7hCMfYt1BJ334YgsffXm",
"cursor": "3J98t1WpEZ73CNm",
"limit": 1,
"mint": "11111114DhpssPJgSi1YU7hCMfYt1BJ334YgsffXm"
}
}
'{
"context": {
"slot": 100
},
"value": {
"items": [
{
"balance": 100,
"mint": "11111114DhpssPJgSi1YU7hCMfYt1BJ334YgsffXm"
}
],
"cursor": "3J98t1WpEZ73CNm"
}
}