Skip to main content
POST
getTokenAccountsByDelegate
Configuración y errores: inicio rápido RPC. Facturación: créditos y límites.

Autorizaciones

api_key
string
query
requerido

Cuerpo

application/json
jsonrpc
enum<string>
predeterminado:2.0
requerido

The JSON-RPC protocol version.

Opciones disponibles:
2.0
Ejemplo:

"2.0"

id
string
predeterminado:1
requerido

A unique identifier for the request.

Ejemplo:

"1"

method
enum<string>
predeterminado:getTokenAccountsByDelegate
requerido

The name of the RPC method to invoke.

Opciones disponibles:
getTokenAccountsByDelegate
Ejemplo:

"getTokenAccountsByDelegate"

params
string · object · object[]
requerido

Parameters for querying token accounts by delegate.

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

Ejemplo:

"4Nd1mBQtrMJVYVfKf2PJy9NZUZdTAsp7D4xWLs4gDB4T"

Respuesta

Successfully retrieved token accounts by delegate.

jsonrpc
enum<string>

The JSON-RPC protocol version.

Opciones disponibles:
2.0
Ejemplo:

"2.0"

id
string

Identifier matching the request.

Ejemplo:

"1"

result
object

Context and account details.