Transaction History with the SDK
transactinos.getTransactions()
Get Transaction History
This function is used to get address specific transactions. It takes an address
, symbol
, and optionally a tokenStandard
as parameters and returns an object containing the address, transactions, and any potential error.
Function Params
address
: string - The address to get the transactions forsymbol
: string - The symbol of the tokentokenStandard
?: TokenStandard - The standard of the token (optional)
Function Response
The function returns an object that includes:
address
: string - The address for which the transactions were fetchedtransactions
: Transaction[] - An array of transaction objectserror
?: any - Any error that occurred while fetching the transactions
Example
Last updated