SolanaRPCGetTokenAccountsByDelegate class
Returns all SPL Token accounts by approved Delegate. https://solana.com/docs/rpc/http/gettokenaccountsbydelegate
- Inheritance
-
- Object
- LoockupLedgerRequest
- SolanaRPCRequest<
List< TokenAccountResponse> > - SolanaRPCGetTokenAccountsByDelegate
Constructors
- SolanaRPCGetTokenAccountsByDelegate({required SolAddress account, SolAddress? mint, SolAddress? programId, RPCDataSliceConfig? dataSlice, Commitment? commitment, MinContextSlot? minContextSlot, SolanaRPCEncoding? encoding})
-
const
Properties
- account → SolAddress
-
Pubkey of account delegate to query, as base-58 encoded string
final
- commitment → Commitment?
-
The desired commitment level for the request.
finalinherited
- dataSlice → RPCDataSliceConfig?
-
Request a slice of the account's data.
final
- encoding → SolanaRPCEncoding?
-
The encoding format of the data.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- method → String
-
getTokenAccountsByDelegate
no setteroverride
- minContextSlot → MinContextSlot?
-
The minimum context slot for the request.
finalinherited
- mint → SolAddress?
-
Pubkey of the specific token Mint to limit accounts to, as base-58 encoded string
final
- programId → SolAddress?
-
Pubkey of the Token program that owns the accounts, as base-58 encoded string
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- validate → String?
-
A validation property (not used in this implementation).
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onResonse(
dynamic result) → List< TokenAccountResponse> -
Converts a dynamic response to the generic type
T
.override -
toJson(
) → List -
Converts the request to JSON format.
override
-
toRequest(
int requestId) → SolanaRequestDetails -
Converts the request parameters to a SolanaRequestDetails object.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited