Skip to main content
POST
getTokenAccountsByDelegate

Authorizations

api_key
string
query
required

Body

application/json
jsonrpc
enum<string>
default:2.0
required

The JSON-RPC protocol version.

Available options:
2.0
Example:

"2.0"

id
string
default:1
required

A unique identifier for the request.

Example:

"1"

method
enum<string>
default:getTokenAccountsByDelegate
required

The name of the RPC method to invoke.

Available options:
getTokenAccountsByDelegate
Example:

"getTokenAccountsByDelegate"

params
string · object · object[]
required

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.