Skip to content
Alchemy Logo

getCompressedTokenAccountsByDelegate

POST
/{apiKey}

Returns the compressed token accounts delegated to the given Pubkey.

Compressed token delegation is rare on mainnet, so most Pubkeys (including the example value) currently return an empty items array. To see a non-empty response, supply a Pubkey that has been set as the SPL-Token-2022 delegate on a compressed token account.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

stringrequired

Pubkey of the delegate.

string or nulloptional

Optional mint Pubkey to filter accounts by.

string or nulloptional

Pagination cursor returned by a previous response.

integer or nulloptional

Maximum number of accounts to return.

Responses

200

A paginated list of compressed token accounts delegated to the given Pubkey.

Was this page helpful?