The URL of the Solana RPC endpoint.
The public key of the account to fetch the transfer history for.
The maximum number of transactions to fetch. Defaults to 100.
Optional
beforeSignature: stringFetch transactions before this signature.
An array of ConfirmedSignatureInfo for SPL transfer transactions.
const rpcUrl = 'https://api.mainnet-beta.solana.com';
const accountAddress = 'TokenAccountAddress';
const transfers = await getSPLTransferHistory(rpcUrl, accountAddress);
console.log(transfers);
Generated using TypeDoc
Fetches the SPL Transfer history for a given wallet address.