Skip to content
Alchemy Logo

getCompressedAccountsByOwner

POST
/{apiKey}

Returns the compressed accounts owned by the given Pubkey.

Advanced filters (dataSlice, filters) are supported by the underlying Photon API but are not modeled in this Try It widget. To use them, send the request directly with dataSlice: { offset, length } and/or filters: [{ memcmp: { offset, bytes } }] added to the params object.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

stringrequired

Pubkey of the owner whose compressed accounts to query.

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 accounts owned by the given Pubkey.

Was this page helpful?