GetTokenAccountsByDelegateApi
GetTokenAccountsByDelegateApi =
object
Methods
getTokenAccountsByDelegate()
Call Signature
getTokenAccountsByDelegate(
delegate
,filter
,config
):SolanaRpcResponse
<GetTokenAccountsByDelegateResponse
<AccountInfoWithBase64EncodedData
>>
Returns all SPL Token accounts for which transfer authority over some quantity of tokens has been delegated to the supplied address.
The accounts' data will be returned in the response as a tuple whose first element is a base64-encoded string.
Parameters
Parameter | Type | Description |
---|---|---|
delegate | Address | - |
filter | AccountsFilter | Limits the results to either token accounts associated with a particular mint, or token accounts owned by a certain token program. |
config | Readonly <{ commitment? : Commitment ; encoding? : "base58" | "base64" | "base64+zstd" | "jsonParsed" ; minContextSlot? : Slot ; }> & Readonly <{ dataSlice? : DataSlice ; }> & Readonly <{ encoding : "base64" ; }> | - |
Returns
SolanaRpcResponse
<GetTokenAccountsByDelegateResponse
<AccountInfoWithBase64EncodedData
>>
See
https://solana.com/docs/rpc/http/gettokenaccountsbydelegate
Call Signature
getTokenAccountsByDelegate(
delegate
,filter
,config
):SolanaRpcResponse
<GetTokenAccountsByDelegateResponse
<AccountInfoWithBase64EncodedZStdCompressedData
>>
Returns all SPL Token accounts for which transfer authority over some quantity of tokens has been delegated to the supplied address.
The accounts' data will first be compressed using ZStandard and the result will be returned in the response as a tuple whose first element is a base64-encoded string.
Parameters
Parameter | Type | Description |
---|---|---|
delegate | Address | - |
filter | AccountsFilter | Limits the results to either token accounts associated with a particular mint, or token accounts owned by a certain token program. |
config | Readonly <{ commitment? : Commitment ; encoding? : "base58" | "base64" | "base64+zstd" | "jsonParsed" ; minContextSlot? : Slot ; }> & Readonly <{ dataSlice? : DataSlice ; }> & Readonly <{ encoding : "base64+zstd" ; }> | - |
Returns
SolanaRpcResponse
<GetTokenAccountsByDelegateResponse
<AccountInfoWithBase64EncodedZStdCompressedData
>>
See
https://solana.com/docs/rpc/http/gettokenaccountsbydelegate
Call Signature
getTokenAccountsByDelegate(
delegate
,filter
,config
):SolanaRpcResponse
<GetTokenAccountsByDelegateResponse
<TokenAccountInfoWithJsonData
>>
Returns all SPL Token accounts for which transfer authority over some quantity of tokens has been delegated to the supplied address.
The server will attempt to process the accounts' data using a parser specific to each account's owning token program.
Parameters
Parameter | Type | Description |
---|---|---|
delegate | Address | - |
filter | AccountsFilter | Limits the results to either token accounts associated with a particular mint, or token accounts owned by a certain token program. |
config | Readonly <{ commitment? : Commitment ; encoding? : "base58" | "base64" | "base64+zstd" | "jsonParsed" ; minContextSlot? : Slot ; }> & Readonly <{ encoding : "jsonParsed" ; }> | - |
Returns
SolanaRpcResponse
<GetTokenAccountsByDelegateResponse
<TokenAccountInfoWithJsonData
>>
See
https://solana.com/docs/rpc/http/gettokenaccountsbydelegate
Call Signature
getTokenAccountsByDelegate(
delegate
,filter
,config
):SolanaRpcResponse
<GetTokenAccountsByDelegateResponse
<AccountInfoWithBase58EncodedData
>>
Returns all SPL Token accounts for which transfer authority over some quantity of tokens has been delegated to the supplied address.
The accounts' data will be returned in the response as a tuple whose first element is a base58-encoded string. If any account contains more than 129 bytes of data, this method will raise an error.
Parameters
Parameter | Type | Description |
---|---|---|
delegate | Address | - |
filter | AccountsFilter | Limits the results to either token accounts associated with a particular mint, or token accounts owned by a certain token program. |
config | Readonly <{ commitment? : Commitment ; encoding? : "base58" | "base64" | "base64+zstd" | "jsonParsed" ; minContextSlot? : Slot ; }> & Readonly <{ dataSlice? : DataSlice ; }> & Readonly <{ encoding : "base58" ; }> | - |
Returns
SolanaRpcResponse
<GetTokenAccountsByDelegateResponse
<AccountInfoWithBase58EncodedData
>>
See
https://solana.com/docs/rpc/http/gettokenaccountsbydelegate
Call Signature
getTokenAccountsByDelegate(
delegate
,filter
,config?
):SolanaRpcResponse
<GetTokenAccountsByDelegateResponse
<AccountInfoWithBase58Bytes
>>
Returns all SPL Token accounts for which transfer authority over some quantity of tokens has been delegated to the supplied address.
The accounts' data will be returned in the response as a base58-encoded string. If any account contains more than 129 bytes of data, this method will raise an error.
Parameters
Parameter | Type | Description |
---|---|---|
delegate | Address | - |
filter | AccountsFilter | Limits the results to either token accounts associated with a particular mint, or token accounts owned by a certain token program. |
config? | Readonly <{ commitment? : Commitment ; encoding? : "base58" | "base64" | "base64+zstd" | "jsonParsed" ; minContextSlot? : Slot ; }> & Readonly <{ dataSlice? : DataSlice ; }> | - |
Returns
SolanaRpcResponse
<GetTokenAccountsByDelegateResponse
<AccountInfoWithBase58Bytes
>>