Versions in this module Expand all Collapse all v0 v0.1.0 Nov 22, 2026 Changes in this version + const DefaultEndpoint + const MaxBatch + const MaxBodyBytes + const MaxPermitPerBatch + const Version + func CheckEndpoint(endpoint string, schemes ...string) error + func Methods() []string + func NoRedirects(hc *http.Client) *http.Client + func Ptr[T any](v T) *T + func RESTRoutes() []string + func RedactSecrets(text string) string + func RetryAfterHeader(h http.Header) (time.Duration, bool) + func Subscriptions() []string + type AccountDataEncoding string + const AccountDataEncodingBase58 + const AccountDataEncodingBase64 + const AccountDataEncodingBase64Zstd + type AccountInfo struct + Data EncodedData + Executable bool + Lamports uint64 + Owner string + RentEpoch uint64 + Space *uint64 + type AccountInfoConfig struct + Commitment Commitment + DataSlice *DataSlice + Encoding Encoding + MinContextSlot *uint64 + type AccountKeySource string + const AccountKeySourceLookupTable + const AccountKeySourceTransaction + type AddressHistoryDetails string + const AddressHistoryDetailsFull + const AddressHistoryDetailsSignatures + type AddressTransaction struct + BlockTime *int64 + ConfirmationStatus *Commitment + Err TransactionError + Memo *string + Meta *TransactionMeta + Signature string + Slot uint64 + Transaction *EncodedTransaction + TransactionIndex *uint64 + Version TxVersion + type BatchCall struct + Method string + Params any + type BatchResult struct + Err *Error + Result json.RawMessage + func (r BatchResult) Decode(out any) error + type BinaryEncoding string + const BinaryEncodingBase58 + const BinaryEncodingBase64 + type Block struct + BlockHeight *uint64 + BlockTime *int64 + Blockhash string + NumRewardPartitions *uint64 + ParentSlot uint64 + PreviousBlockhash string + Rewards []Reward + Signatures []string + Transactions []BlockTransaction + type BlockCommitment struct + Commitment []uint64 + TotalStake uint64 + type BlockConfig struct + Commitment Commitment + Encoding TransactionEncoding + MaxSupportedTransactionVersion *uint64 + MinContextSlot *uint64 + Rewards *bool + TransactionDetails TransactionDetails + type BlockEncoding string + const BlockEncodingBase58 + const BlockEncodingBase64 + const BlockEncodingJSON + type BlockNotification struct + Block *Block + Err TransactionError + Slot uint64 + type BlockProduction struct + ByIdentity map[string]BlockProductionCount + Range BlockProductionRange + type BlockProductionConfig struct + Commitment Commitment + Identity string + Range *BlockProductionConfigRange + type BlockProductionConfigRange struct + FirstSlot uint64 + LastSlot *uint64 + type BlockProductionCount struct + BlocksProduced uint64 + LeaderSlots uint64 + func (t *BlockProductionCount) UnmarshalJSON(b []byte) error + func (t BlockProductionCount) MarshalJSON() ([]byte, error) + type BlockProductionRange struct + FirstSlot uint64 + LastSlot uint64 + type BlockSubscribeDetails string + const BlockSubscribeDetailsFull + const BlockSubscribeDetailsNone + const BlockSubscribeDetailsSignatures + type BlockTransaction struct + Meta *TransactionMeta + Transaction EncodedTransaction + Version TxVersion + type Client struct + func NewClient(apiKey string, opts *Options) (*Client, error) + func (c *Client) GetAccountInfo(ctx context.Context, pubkey string, config *AccountInfoConfig) (*WithContext[*AccountInfo], error) + func (c *Client) GetAgGenesisCert(ctx context.Context) (json.RawMessage, error) + func (c *Client) GetAsset(ctx context.Context, params GetAssetParams) (*DASAsset, error) + func (c *Client) GetAssetBatch(ctx context.Context, params GetAssetsParams) ([]*DASAsset, error) + func (c *Client) GetAssets(ctx context.Context, params GetAssetsParams) ([]*DASAsset, error) + func (c *Client) GetAssetsByAuthority(ctx context.Context, params GetAssetsByAuthorityParams) (*DASAssetList, error) + func (c *Client) GetAssetsByCreator(ctx context.Context, params GetAssetsByCreatorParams) (*DASAssetList, error) + func (c *Client) GetAssetsByGroup(ctx context.Context, params GetAssetsByGroupParams) (*DASAssetList, error) + func (c *Client) GetAssetsByOwner(ctx context.Context, params GetAssetsByOwnerParams) (*DASAssetList, error) + func (c *Client) GetBalance(ctx context.Context, pubkey string, config *CommitmentConfig) (*WithContext[uint64], error) + func (c *Client) GetBlock(ctx context.Context, slot uint64, config *BlockConfig) (*Block, error) + func (c *Client) GetBlockCommitment(ctx context.Context, slot uint64) (*BlockCommitment, error) + func (c *Client) GetBlockHeight(ctx context.Context, config *CommitmentConfig) (uint64, error) + func (c *Client) GetBlockProduction(ctx context.Context, config *BlockProductionConfig) (*WithContext[BlockProduction], error) + func (c *Client) GetBlockTime(ctx context.Context, slot uint64) (*int64, error) + func (c *Client) GetBlocks(ctx context.Context, startSlot uint64, endSlot *uint64, ...) ([]uint64, error) + func (c *Client) GetBlocksWithLimit(ctx context.Context, startSlot uint64, limit uint64, ...) ([]uint64, error) + func (c *Client) GetClusterNodes(ctx context.Context) ([]ClusterNode, error) + func (c *Client) GetEpochInfo(ctx context.Context, config *CommitmentConfig) (*EpochInfo, error) + func (c *Client) GetEpochSchedule(ctx context.Context) (*EpochSchedule, error) + func (c *Client) GetFeeForMessage(ctx context.Context, message string, config *CommitmentConfig) (*WithContext[*uint64], error) + func (c *Client) GetFirstAvailableBlock(ctx context.Context) (uint64, error) + func (c *Client) GetGenesisHash(ctx context.Context) (string, error) + func (c *Client) GetHealth(ctx context.Context) (string, error) + func (c *Client) GetHighestSnapshotSlot(ctx context.Context) (*HighestSnapshotSlot, error) + func (c *Client) GetIdentity(ctx context.Context) (*GetIdentityResult, error) + func (c *Client) GetInflationGovernor(ctx context.Context, config *CommitmentOnlyConfig) (*InflationGovernor, error) + func (c *Client) GetInflationRate(ctx context.Context) (*InflationRate, error) + func (c *Client) GetInflationReward(ctx context.Context, addresses []string, config *GetInflationRewardConfig) ([]*InflationReward, error) + func (c *Client) GetLargestAccounts(ctx context.Context, config *CommitmentConfig) (*WithContext[[]LargestAccount], error) + func (c *Client) GetLatestBlockhash(ctx context.Context, config *CommitmentConfig) (*WithContext[LatestBlockhash], error) + func (c *Client) GetLeaderSchedule(ctx context.Context, slot *uint64, config *LeaderScheduleConfig) (map[string][]uint64, error) + func (c *Client) GetMaxRetransmitSlot(ctx context.Context) (uint64, error) + func (c *Client) GetMaxShredInsertSlot(ctx context.Context) (uint64, error) + func (c *Client) GetMinimumBalanceForRentExemption(ctx context.Context, dataLength uint64, config *CommitmentOnlyConfig) (uint64, error) + func (c *Client) GetMultipleAccounts(ctx context.Context, pubkeys []string, config *AccountInfoConfig) (*WithContext[[]*AccountInfo], error) + func (c *Client) GetNFTEditions(ctx context.Context, params GetNFTEditionsParams) (*DASEditionList, error) + func (c *Client) GetPriorityFeeEstimate(ctx context.Context, params PriorityFeeEstimateParams) (*PriorityFeeEstimate, error) + func (c *Client) GetProgramAccounts(ctx context.Context, programID string, config *ProgramAccountsConfig) (*ProgramAccounts, error) + func (c *Client) GetRecentPerformanceSamples(ctx context.Context, limit *uint64) ([]PerformanceSample, error) + func (c *Client) GetRecentPrioritizationFees(ctx context.Context, addresses []string) ([]PrioritizationFee, error) + func (c *Client) GetSignatureStatuses(ctx context.Context, signatures []string, config *GetSignatureStatusesConfig) (*WithContext[[]*SignatureStatus], error) + func (c *Client) GetSignaturesForAddress(ctx context.Context, address string, config *SignaturesForAddressConfig) ([]SignatureInfo, error) + func (c *Client) GetSlot(ctx context.Context, config *CommitmentConfig) (uint64, error) + func (c *Client) GetSlotLeader(ctx context.Context, config *CommitmentConfig) (string, error) + func (c *Client) GetSlotLeaders(ctx context.Context, startSlot uint64, limit uint64) ([]string, error) + func (c *Client) GetStakeMinimumDelegation(ctx context.Context, config *CommitmentOnlyConfig) (*WithContext[uint64], error) + func (c *Client) GetSupply(ctx context.Context, config *GetSupplyConfig) (*WithContext[Supply], error) + func (c *Client) GetTokenAccountBalance(ctx context.Context, tokenAccount string, config *CommitmentOnlyConfig) (*WithContext[TokenAmount], error) + func (c *Client) GetTokenAccounts(ctx context.Context, params GetTokenAccountsParams) (*DASTokenAccountList, error) + func (c *Client) GetTokenAccountsByDelegate(ctx context.Context, delegate string, filter TokenAccountsFilter, ...) (*WithContext[[]KeyedAccount], error) + func (c *Client) GetTokenAccountsByOwner(ctx context.Context, owner string, filter TokenAccountsFilter, ...) (*WithContext[[]KeyedAccount], error) + func (c *Client) GetTokenSupply(ctx context.Context, mint string, config *CommitmentOnlyConfig) (*WithContext[TokenAmount], error) + func (c *Client) GetTransaction(ctx context.Context, signature string, config *TransactionConfig) (*TransactionWithMeta, error) + func (c *Client) GetTransactionCount(ctx context.Context, config *CommitmentConfig) (uint64, error) + func (c *Client) GetTransactionsForAddress(ctx context.Context, address string, config *TransactionsForAddressConfig) (*TransactionsForAddress, error) + func (c *Client) GetVersion(ctx context.Context) (*VersionInfo, error) + func (c *Client) GetVoteAccounts(ctx context.Context, config *VoteAccountsConfig) (*VoteAccounts, error) + func (c *Client) Health(ctx context.Context) (*QuoteHealth, error) + func (c *Client) IsBlockhashValid(ctx context.Context, blockhash string, config *CommitmentConfig) (*WithContext[bool], error) + func (c *Client) MinimumLedgerSlot(ctx context.Context) (uint64, error) + func (c *Client) Prices(ctx context.Context, params PricesParams) (*Prices, error) + func (c *Client) QnEstimatePriorityFees(ctx context.Context, params QnPriorityFeesParams) (*QnPriorityFees, error) + func (c *Client) Quote(ctx context.Context, params QuoteParams) (*Quote, error) + func (c *Client) SearchAssets(ctx context.Context, params SearchAssetsParams) (*DASAssetList, error) + func (c *Client) SendTransaction(ctx context.Context, signedTransaction string, config *SendTransactionConfig) (string, error) + func (c *Client) SimulateTransaction(ctx context.Context, transaction string, config *SimulateTransactionConfig) (*WithContext[SimulateTransactionResult], error) + func (c *Client) Swap(ctx context.Context, params SwapParams) (*Swap, error) + func (cl *Client) Batch(ctx context.Context, calls []BatchCall) ([]BatchResult, error) + func (cl *Client) Call(ctx context.Context, method string, params any, out any) error + func (cl *Client) Cq1Quote(ctx context.Context, params Cq1QuoteParams) (*Cq1Quote, error) + func (cl *Client) Endpoint() string + func (cl *Client) Format(f fmt.State, verb rune) + func (cl *Client) GoString() string + func (cl *Client) String() string + type ClusterNode struct + FeatureSet *uint64 + Gossip *string + Pubkey string + Pubsub *string + RPC *string + ShredVersion *uint64 + TPU *string + TPUQUIC *string + Version *string + type Commitment string + const CommitmentConfirmed + const CommitmentFinalized + const CommitmentProcessed + type CommitmentConfig struct + Commitment Commitment + MinContextSlot *uint64 + type CommitmentOnlyConfig struct + Commitment Commitment + type Context struct + APIVersion string + Slot uint64 + type Cq1Quote struct + DestAmountOut string + DestAmountOutMin string + FeeBps string + FeeMint string + InputMint string + OutputMint string + PriceImpact string + PriceImpactPct string + PrioritizationFeeLamports string + RentFeeLamports string + RequestID string + RoutePlan []Cq1RouteLeg + Router string + SignatureFeeLamports string + Slippage string + SrcAmountIn string + SwapMode string + SwapType string + type Cq1QuoteParams struct + AmountIn uint64 + DstMint string + SlippageBps uint64 + SrcMint string + type Cq1RouteLeg struct + Bps string + Percent string + SwapInfo Cq1SwapInfo + type Cq1SwapInfo struct + AmmKey string + FeeAmount string + FeeMint string + InAmount string + InputMint string + Label string + OutAmount string + OutputMint string + type DASAsset struct + Authorities []DASAssetAuthority + Burnt bool + Compression map[string]json.RawMessage + Content map[string]json.RawMessage + Creators []DASAssetCreator + ExternalPlugins []json.RawMessage + Grouping []DASAssetGroupingItem + ID string + Inscription map[string]json.RawMessage + Interface string + MintExtensions map[string]json.RawMessage + MplCoreInfo map[string]json.RawMessage + Mutable bool + Ownership DASAssetOwnership + Plugins map[string]json.RawMessage + Royalty map[string]json.RawMessage + Supply map[string]json.RawMessage + TokenInfo map[string]json.RawMessage + type DASAssetAuthority struct + Address string + Scopes []string + type DASAssetCreator struct + Address string + Share uint64 + Verified bool + type DASAssetGroupingItem struct + GroupKey string + GroupValue string + Verified *bool + type DASAssetList struct + After string + Before string + Cursor string + GrandTotal *uint64 + Items []DASAsset + LastIndexedSlot *uint64 + Limit uint64 + NativeBalance *DASAssetListNativeBalance + Page *uint64 + Total uint64 + type DASAssetListNativeBalance struct + Lamports uint64 + type DASAssetOwnership struct + Delegate *string + Delegated bool + Frozen bool + Owner string + OwnershipModel string + type DASDisplayOptions struct + RequireFullIndex *bool + ShowClosedAccounts *bool + ShowCollectionMetadata *bool + ShowFungible *bool + ShowGrandTotal *bool + ShowInscription *bool + ShowNativeBalance *bool + ShowRawData *bool + ShowSystemMetadata *bool + ShowUnverifiedCollections *bool + ShowZeroBalance *bool + type DASEdition struct + Edition uint64 + EditionAddress string + Mint string + type DASEditionList struct + Editions []DASEdition + Limit uint64 + MasterEditionAddress string + MaxSupply *uint64 + Page uint64 + Supply uint64 + Total uint64 + type DASGrouping struct + Key string + Value string + func (g *DASGrouping) UnmarshalJSON(b []byte) error + func (g DASGrouping) MarshalJSON() ([]byte, error) + type DASSort struct + SortBy DASSortBy + SortDirection SortOrder + type DASSortBy string + const DASSortByCreated + const DASSortByID + const DASSortByNone + const DASSortByRecentAction + const DASSortByUpdated + type DASTokenAccount struct + Address string + Amount uint64 + DelegatedAmount uint64 + Frozen bool + Mint string + Owner string + type DASTokenAccountList struct + Cursor string + LastIndexedSlot *uint64 + Limit uint64 + Page *uint64 + TokenAccounts []DASTokenAccount + Total uint64 + type DASTokenType string + const DASTokenTypeAll + const DASTokenTypeCompressedNFT + const DASTokenTypeFungible + const DASTokenTypeNonFungible + const DASTokenTypeRegularNFT + type DataSlice struct + Length uint64 + Offset uint64 + type Decimal string + func (d *Decimal) UnmarshalJSON(b []byte) error + func (d Decimal) MarshalJSON() ([]byte, error) + type EncodedData struct + Data string + Encoding AccountDataEncoding + Parsed *ParsedData + func (d *EncodedData) UnmarshalJSON(b []byte) error + func (d EncodedData) MarshalJSON() ([]byte, error) + type EncodedTransaction struct + AccountKeys []TransactionAccountKey + Data string + Encoding BinaryEncoding + Message map[string]json.RawMessage + Signatures []string + func (t *EncodedTransaction) UnmarshalJSON(b []byte) error + func (t EncodedTransaction) MarshalJSON() ([]byte, error) + type Encoding string + const EncodingBase58 + const EncodingBase64 + const EncodingBase64Zstd + const EncodingJSONParsed + type EpochInfo struct + AbsoluteSlot uint64 + BlockHeight uint64 + Epoch uint64 + SlotIndex uint64 + SlotsInEpoch uint64 + TransactionCount *uint64 + type EpochSchedule struct + FirstNormalEpoch uint64 + FirstNormalSlot uint64 + LeaderScheduleSlotOffset uint64 + SlotsPerEpoch uint64 + Warmup bool + type Error struct + Code int + Data json.RawMessage + ErrorCode string + HTTPStatus int + Kind ErrorKind + Message string + Method string + Reason string + RequestID string + RetryAfter time.Duration + Retryable bool + func NewError(in ErrorInit) *Error + func RPCError(method string, errorObject json.RawMessage) *Error + func (e *Error) Error() string + func (e *Error) MarshalJSON() ([]byte, error) + func (e *Error) Unwrap() error + func (e Error) Format(f fmt.State, verb rune) + type ErrorInit struct + Cause error + Code int + Data []byte + ErrorCode string + HTTPStatus int + Kind ErrorKind + Message string + Method string + Reason string + RequestID string + RetryAfter time.Duration + Retryable bool + type ErrorKind string + const KindAccount + const KindAuth + const KindCredits + const KindDCA + const KindNode + const KindRateLimit + const KindRequest + const KindRoute + const KindSocket + const KindStream + const KindTokens + const KindTransport + const KindUpstream + const KindWebhook + type GetAssetParams struct + DisplayOptions *DASDisplayOptions + ID string + Options *DASDisplayOptions + type GetAssetsByAuthorityParams struct + After string + AuthorityAddress string + Before string + Cursor string + DisplayOptions *DASDisplayOptions + Limit *uint64 + Options *DASDisplayOptions + Page *uint64 + SortBy *DASSort + type GetAssetsByCreatorParams struct + After string + Before string + CreatorAddress string + Cursor string + DisplayOptions *DASDisplayOptions + Limit *uint64 + OnlyVerified *bool + Options *DASDisplayOptions + Page *uint64 + SortBy *DASSort + type GetAssetsByGroupParams struct + After string + Before string + Cursor string + DisplayOptions *DASDisplayOptions + GroupKey string + GroupValue string + Limit *uint64 + Options *DASDisplayOptions + Page *uint64 + SortBy *DASSort + type GetAssetsByOwnerParams struct + After string + Before string + Cursor string + DisplayOptions *DASDisplayOptions + Limit *uint64 + Options *DASDisplayOptions + OwnerAddress string + Page *uint64 + SortBy *DASSort + type GetAssetsParams struct + DisplayOptions *DASDisplayOptions + IDs []string + Options *DASDisplayOptions + type GetIdentityResult struct + Identity string + type GetInflationRewardConfig struct + Commitment Commitment + Epoch *uint64 + MinContextSlot *uint64 + type GetNFTEditionsParams struct + Limit *uint64 + Mint string + Page *uint64 + type GetSignatureStatusesConfig struct + SearchTransactionHistory *bool + type GetSupplyConfig struct + Commitment Commitment + ExcludeNonCirculatingAccountsList *bool + MinContextSlot *uint64 + type GetTokenAccountsParams struct + Cursor string + Limit *uint64 + Mint string + Options *GetTokenAccountsParamsOptions + Owner string + Page *uint64 + type GetTokenAccountsParamsOptions struct + ShowZeroBalance *bool + type HighestSnapshotSlot struct + Full uint64 + Incremental *uint64 + type HistoryStatusFilter string + const HistoryStatusFilterAny + const HistoryStatusFilterFailed + const HistoryStatusFilterSucceeded + type HistoryTokenAccounts string + const HistoryTokenAccountsAll + const HistoryTokenAccountsBalanceChanged + const HistoryTokenAccountsNone + type InflationGovernor struct + Foundation float64 + FoundationTerm float64 + Initial float64 + Taper float64 + Terminal float64 + type InflationRate struct + Epoch uint64 + Foundation float64 + Total float64 + Validator float64 + type InflationReward struct + Amount uint64 + Commission *uint64 + EffectiveSlot uint64 + Epoch uint64 + PostBalance uint64 + type InnerInstructions struct + Index uint64 + Instructions []json.RawMessage + type KeyedAccount struct + Account AccountInfo + Pubkey string + type LargestAccount struct + Address string + Lamports uint64 + type LatestBlockhash struct + Blockhash string + LastValidBlockHeight uint64 + type LeaderScheduleConfig struct + Commitment Commitment + Identity string + type LoadedAddresses struct + Readonly []string + Writable []string + type LogsNotification struct + Err TransactionError + Logs []string + Signature string + type MemcmpEncoding string + const MemcmpEncodingBase58 + const MemcmpEncodingBase64 + const MemcmpEncodingBytes + type MethodSpec struct + Batch string + ByName bool + GoName string + Permit bool + Plane string + func LookupMethod(name string) (MethodSpec, bool) + type Options struct + Endpoint string + HTTPClient *http.Client + MaxAttempts int + MaxHint time.Duration + Timeout time.Duration + type ParsedData struct + Parsed json.RawMessage + Program string + Space uint64 + type PerformanceSample struct + NumNonVoteTransactions *uint64 + NumSlots uint64 + NumTransactions uint64 + SamplePeriodSecs uint64 + Slot uint64 + type Prices struct + BuiltUnix int64 + Noroute uint64 + Priced uint64 + Rows []PricesRow + SolUSD float64 + Stale uint64 + Total uint64 + type PricesParams struct + Mints []string + type PricesRow struct + Mint string + PriceUSD *float64 + QuoteMint string + TVLUSD float64 + func (t *PricesRow) UnmarshalJSON(b []byte) error + func (t PricesRow) MarshalJSON() ([]byte, error) + type PrioritizationFee struct + PrioritizationFee uint64 + Slot uint64 + type PriorityFeeEstimate struct + PriorityFeeEstimate *float64 + PriorityFeeLevels *PriorityFeeEstimatePriorityFeeLevels + type PriorityFeeEstimateParams struct + AccountKeys []string + Options *PriorityFeeEstimateParamsOptions + Transaction string + type PriorityFeeEstimateParamsOptions struct + IncludeAllPriorityFeeLevels *bool + LookbackSlots *uint64 + PriorityLevel PriorityLevel + Recommended *bool + TransactionEncoding BinaryEncoding + type PriorityFeeEstimatePriorityFeeLevels struct + High float64 + Low float64 + Medium float64 + Min float64 + UnsafeMax float64 + VeryHigh float64 + type PriorityLevel string + const PriorityLevelHigh + const PriorityLevelLow + const PriorityLevelMedium + const PriorityLevelMin + const PriorityLevelUnsafeMax + const PriorityLevelVeryHigh + type ProgramAccounts struct + Context *Context + Value []KeyedAccount + func (p *ProgramAccounts) UnmarshalJSON(b []byte) error + func (p ProgramAccounts) MarshalJSON() ([]byte, error) + type ProgramAccountsConfig struct + Commitment Commitment + DataSlice *DataSlice + Encoding Encoding + Filters []ProgramAccountsFilter + MinContextSlot *uint64 + WithContext *bool + type ProgramAccountsFilter struct + DataSize *uint64 + Memcmp *ProgramAccountsFilterMemcmp + type ProgramAccountsFilterMemcmp struct + Bytes string + Encoding BinaryEncoding + Offset uint64 + type ProgramSubscribeFilter struct + DataSize *uint64 + Memcmp *ProgramSubscribeFilterMemcmp + type ProgramSubscribeFilterMemcmp struct + Bytes string + Encoding MemcmpEncoding + Offset uint64 + type QnPriorityFeeLevels struct + Extreme float64 + High float64 + Low float64 + Medium float64 + Percentiles map[string]float64 + type QnPriorityFees struct + Context QnPriorityFeesContext + PerComputeUnit QnPriorityFeeLevels + PerTransaction QnPriorityFeeLevels + Recommended float64 + type QnPriorityFeesContext struct + Slot uint64 + type QnPriorityFeesParams struct + APIVersion *uint64 + Account string + LastNBlocks *uint64 + type Quote struct + DestAmountOut string + InputMint string + MinAmountOut string + OutputMint string + Partial *bool + PlatformFee *QuotePlatformFee + QuoteID string + RequestedAmountIn string + RoutePlan []RouteLeg + SlippageBps uint64 + SrcAmountIn string + SwapMode string + SwapTag *uint64 + TxVersion *uint64 + type QuoteHealth struct + CanBuild bool + ChainRPC json.RawMessage + Families []string + OK bool + PoolStore json.RawMessage + Priced uint64 + QuoteRefusalRatio float64 + QuoteUpstream json.RawMessage + Stale uint64 + TableAgeSecs float64 + Total uint64 + type QuoteParams struct + AmountIn Decimal + Dex []string + Dexes []string + DstMint string + SlippageBps uint64 + SrcMint string + SwapTag *uint64 + TxVersion *uint64 + type QuotePlatformFee struct + Amount string + FeeBps uint64 + Mint string + type ReturnData struct + Data [2]string + ProgramID string + type Reward struct + Commission *uint64 + Lamports int64 + PostBalance uint64 + Pubkey string + RewardType *string + type RouteLeg struct + Hop uint64 + Percent string + SwapInfo RouteLegSwapInfo + type RouteLegSwapInfo struct + AMMKey string + InAmount string + InputMint string + Label string + OutAmount string + OutputMint string + type SearchAssetsParams struct + After string + AuthorityAddress string + Before string + Burnt *bool + Compressed *bool + ConditionType string + CreatorAddress string + CreatorVerified *bool + Cursor string + Delegate string + DisplayOptions *DASDisplayOptions + Frozen *bool + Grouping *DASGrouping + Interface string + Limit *uint64 + Negate *bool + Options *DASDisplayOptions + OwnerAddress string + Page *uint64 + SortBy *DASSort + TokenType DASTokenType + type Secret string + func (s *Secret) UnmarshalJSON(b []byte) error + func (s Secret) Format(f fmt.State, verb rune) + func (s Secret) GoString() string + func (s Secret) MarshalJSON() ([]byte, error) + func (s Secret) Reveal() string + func (s Secret) String() string + type SendTransactionConfig struct + Encoding BinaryEncoding + MaxRetries *uint64 + MinContextSlot *uint64 + PreflightCommitment Commitment + SkipPreflight *bool + type SettledCommitment string + const SettledCommitmentConfirmed + const SettledCommitmentFinalized + type SignatureInfo struct + BlockTime *int64 + ConfirmationStatus *Commitment + Err TransactionError + Memo *string + Signature string + Slot uint64 + type SignatureNotification struct + Err TransactionError + type SignatureStatus struct + ConfirmationStatus *Commitment + Confirmations *uint64 + Err TransactionError + Slot uint64 + Status *TxStatus + type SignaturesForAddressConfig struct + Before string + Commitment Commitment + Limit *uint64 + MinContextSlot *uint64 + Until string + type SimulateTransactionConfig struct + Accounts *SimulateTransactionConfigAccounts + Commitment Commitment + Encoding BinaryEncoding + InnerInstructions *bool + MinContextSlot *uint64 + ReplaceRecentBlockhash *bool + SigVerify *bool + type SimulateTransactionConfigAccounts struct + Addresses []string + Encoding Encoding + type SimulateTransactionResult struct + Accounts []*AccountInfo + Err TransactionError + InnerInstructions []InnerInstructions + Logs []string + ReplacementBlockhash *LatestBlockhash + ReturnData *ReturnData + UnitsConsumed *uint64 + type SlotRange struct + Eq *uint64 + Gt *uint64 + Gte *uint64 + Lt *uint64 + Lte *uint64 + type SortOrder string + const SortOrderAsc + const SortOrderDesc + type Supply struct + Circulating uint64 + NonCirculating uint64 + NonCirculatingAccounts []string + Total uint64 + type Swap struct + AtaCreates uint64 + Blockhash string + ComputeUnitLimit uint64 + LastValidBlockHeight uint64 + MinAmountOut string + PriorityFeeLamports string + RentLamports *string + RouteRerouted *SwapRouteRerouted + SwapTag *uint64 + Transaction string + TxVersion *uint64 + type SwapParams struct + ComputeUnitPriceMicroLamports *uint64 + QuoteID string + UserPubkey string + type SwapRouteRerouted struct + DeadPool string + Floor string + QuotedOut string + ReroutedOut string + Why string + type TokenAccountsFilter struct + Mint string + ProgramID string + type TokenAmount struct + Amount string + Decimals uint64 + UIAmount *float64 + UIAmountString string + type TokenBalance struct + AccountIndex uint64 + Mint string + Owner string + ProgramID string + UITokenAmount TokenAmount + type TransactionAccountKey struct + Pubkey string + Signer bool + Source AccountKeySource + Writable bool + type TransactionConfig struct + Commitment Commitment + Encoding TransactionEncoding + MaxSupportedTransactionVersion *uint64 + MinContextSlot *uint64 + type TransactionDetails string + const TransactionDetailsAccounts + const TransactionDetailsFull + const TransactionDetailsNone + const TransactionDetailsSignatures + type TransactionEncoding string + const TransactionEncodingBase58 + const TransactionEncodingBase64 + const TransactionEncodingJSON + const TransactionEncodingJSONParsed + type TransactionError json.RawMessage + func (e *TransactionError) UnmarshalJSON(b []byte) error + func (e TransactionError) MarshalJSON() ([]byte, error) + func (e TransactionError) String() string + type TransactionMeta struct + ComputeUnitsConsumed *uint64 + CostUnits *uint64 + Err TransactionError + Fee uint64 + InnerInstructions []InnerInstructions + LoadedAddresses *LoadedAddresses + LogMessages []string + PostBalances []uint64 + PostTokenBalances []TokenBalance + PreBalances []uint64 + PreTokenBalances []TokenBalance + ReturnData *ReturnData + Rewards []Reward + Status *TxStatus + type TransactionWithMeta struct + BlockTime *int64 + Meta *TransactionMeta + Slot uint64 + Transaction EncodedTransaction + Version TxVersion + type TransactionsForAddress struct + Data []AddressTransaction + DroppedRows *uint64 + HistoryFloor *uint64 + PaginationToken *string + type TransactionsForAddressConfig struct + Commitment Commitment + Encoding TransactionEncoding + Filters *TransactionsForAddressConfigFilters + Limit *uint64 + MaxSupportedTransactionVersion *uint64 + MinContextSlot *uint64 + PaginationToken string + SortOrder SortOrder + TransactionDetails AddressHistoryDetails + type TransactionsForAddressConfigFilters struct + BlockTime *SlotRange + Slot *SlotRange + Status HistoryStatusFilter + TokenAccounts HistoryTokenAccounts + TokenTransfer *TransactionsForAddressConfigFiltersTokenTransfer + type TransactionsForAddressConfigFiltersTokenTransfer struct + Amount *SlotRange + Direction TransferDirection + Mint string + With string + type TransferDirection string + const TransferDirectionAny + const TransferDirectionIn + const TransferDirectionOut + type TxStatus struct + Err TransactionError + func (s *TxStatus) UnmarshalJSON(b []byte) error + func (s TxStatus) MarshalJSON() ([]byte, error) + func (s TxStatus) OK() bool + type TxVersion string + const TxVersion0 + const TxVersion1 + const TxVersionLegacy + func (v *TxVersion) UnmarshalJSON(b []byte) error + func (v TxVersion) MarshalJSON() ([]byte, error) + type VersionInfo struct + FeatureSet *uint64 + SolanaCore string + type VoteAccount struct + ActivatedStake uint64 + Commission uint64 + EpochCredits []VoteAccountEpochCredit + EpochVoteAccount bool + LastVote uint64 + NodePubkey string + RootSlot uint64 + VotePubkey string + type VoteAccountEpochCredit struct + Credits uint64 + Epoch uint64 + PreviousCredits uint64 + func (t *VoteAccountEpochCredit) UnmarshalJSON(b []byte) error + func (t VoteAccountEpochCredit) MarshalJSON() ([]byte, error) + type VoteAccounts struct + Current []VoteAccount + Delinquent []VoteAccount + type VoteAccountsConfig struct + Commitment Commitment + DelinquentSlotDistance *uint64 + KeepUnstakedDelinquents *bool + VotePubkey string + type WithContext struct + Context Context + Value T