Documentation ¶
Index ¶
Constants ¶
View Source
const (
// defaultPageLimit is the default number of signatures to fetch in one GetSignaturesForAddressWithOpts call
DefaultPageLimit = 1000
)
Variables ¶
This section is empty.
Functions ¶
func GetFirstSignatureForAddress ¶
func GetFirstSignatureForAddress( ctx context.Context, client interfaces.SolanaRPCClient, address solana.PublicKey, pageLimit int, ) (solana.Signature, error)
GetFirstSignatureForAddress searches the first signature for the given address. Note: make sure that the rpc provider used has enough transaction history.
func GetSignaturesForAddressUntil ¶
func GetSignaturesForAddressUntil( ctx context.Context, client interfaces.SolanaRPCClient, address solana.PublicKey, untilSig solana.Signature, pageLimit int, ) ([]*rpc.TransactionSignature, error)
GetSignaturesForAddressUntil searches for signatures for the given address until the given signature (exclusive). Note: make sure that the rpc provider used has enough transaction history.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.