Skip to main content
POST
/
getCompressedTokenAccountsByDelegate
cURL
curl --request POST \
  --url https://mainnet.helius-rpc.com/getCompressedTokenAccountsByDelegate \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "test-account",
  "jsonrpc": "2.0",
  "method": "getCompressedTokenAccountsByDelegate",
  "params": {
    "cursor": "<any>",
    "delegate": "11111116djSnXB2wXVGT4xDLsfTnkp1p4cCxHAfRq",
    "limit": "<any>",
    "mint": "11111116djSnXB2wXVGT4xDLsfTnkp1p4cCxHAfRq"
  }
}
'
{
  "context": "<any>",
  "value": "<any>"
}

Body

application/json
id
enum<string>
required

An ID to identify the request.

Available options:
test-account
jsonrpc
enum<string>
required

The version of the JSON-RPC protocol.

Available options:
2.0
method
enum<string>
required

The name of the method to invoke.

Available options:
getCompressedTokenAccountsByDelegate
params
object
required

Response

context
any
required
value
any
required