Skip to main content
POST
getTokenAccountsByDelegate

Request Parameters

string
required
Solana address (public key) of the delegate that has been authorized to manage token accounts.
string
Specific token mint address to filter delegated accounts by a particular token type.
string
Specific token program ID (typically SPL Token program) to filter delegated accounts.
string
The commitment level for the request.
  • confirmed
  • finalized
  • processed
number
The minimum slot that the request can be evaluated at.
object
Request a slice of the account’s data.
number
Number of bytes to return.
number
Byte offset from which to start reading.
string
Encoding format for Account data.
  • base58
  • base64
  • base64+zstd
  • jsonParsed

Authorizations

api-key
string
query
required

Your Helius API key. You can get one for free in the dashboard.

Body

application/json
jsonrpc
enum<string>
default:2.0

The JSON-RPC protocol version.

Available options:
2.0
Example:

"2.0"

id
string
default:1

A unique identifier for the request.

Example:

"1"

method
enum<string>
default:getTokenAccountsByDelegate

The name of the RPC method to invoke.

Available options:
getTokenAccountsByDelegate
Example:

"getTokenAccountsByDelegate"

params
string · object · object[]

Parameters for querying token accounts by delegate.

Solana address (public key) of the delegate that has been authorized to manage token accounts.

Example:

"4Nd1mBQtrMJVYVfKf2PJy9NZUZdTAsp7D4xWLs4gDB4T"

Response

Successfully retrieved token accounts by delegate.

jsonrpc
enum<string>

The JSON-RPC protocol version.

Available options:
2.0
Example:

"2.0"

id
string

Identifier matching the request.

Example:

"1"

result
object

Context and account details.