Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssociatedTokenAccountDataType ¶
type AssociatedTokenAccountDataType struct { Parsed struct { Info struct { IsNative bool `json:"isNative"` Mint string `json:"mint"` Owner string `json:"owner"` RentExemptReserve struct { Amount string `json:"amount"` Decimals uint64 `json:"decimals"` UIAmount float64 `json:"uiAmount"` UIAmountString string `json:"uiAmountString"` } `json:"rentExemptReserve"` State string `json:"state"` TokenAmount struct { Amount string `json:"amount"` Decimals uint64 `json:"decimals"` UIAmount float64 `json:"uiAmount"` UIAmountString string `json:"uiAmountString"` } `json:"tokenAmount"` } `json:"info"` Type string `json:"type"` } `json:"parsed"` Program string `json:"program"` Space uint64 `json:"space"` }
func GetAssociatedTokenAccountData ¶
func GetAssociatedTokenAccountData( rpcClient *rpc.Client, associatedTokenAccount solana.PublicKey, ) (*AssociatedTokenAccountDataType, error)
func GetAssociatedTokenAccountDatas ¶ added in v0.1.1
func GetAssociatedTokenAccountDatas( rpcClient *rpc.Client, accounts []solana.PublicKey, ) ([]*AssociatedTokenAccountDataType, error)
Click to show internal directories.
Click to hide internal directories.