getTokenAccountsByDelegate

A previosly disabled method, this RPC method is now indexed via our Hyperion service to allow for ultra low latency responses.

getTokenAccountsByDelegate — Token accounts by delegate

post
/

Returns all SPL Token accounts by approved delegate. This method is essential for finding token accounts where a specific address has been granted delegation permissions to spend tokens on behalf of the owner. Parameters

  1. delegate (required) — Delegate pubkey, base-58.

  2. filter (required) — Filter by mint or program id (one of).

  3. config (optional) — Optional configuration object. Every field is optional; omit the entire object to use defaults.

Authorizations
AuthorizationstringOptional

Pass Authorization: <api-key> on each request.

Body
jsonrpcstring · enumRequired

JSON-RPC protocol version.

Example: 2.0Possible values:
idone ofRequired

Request identifier echoed back in the response.

Example: 1
stringOptional
or
integerOptional
methodstring · enumRequired

Must be getTokenAccountsByDelegate.

Example: getTokenAccountsByDelegatePossible values:
Responses
200

Successful getTokenAccountsByDelegate response.

application/json

Base envelope of every JSON-RPC 2.0 response.

jsonrpcstring · enumRequiredExample: 2.0Possible values:
idone ofRequired

Echoed request id.

Example: 1
stringOptional
or
integerOptional
post
/

Last updated