debeem-wallet

Type alias TransactionHistoryQueryOptions

TransactionHistoryQueryOptions: {
    category?: string[];
    contractAddresses?: string[];
    excludeZeroValue?: boolean;
    fromBlock?: string;
    pageKey?: string;
    toBlock?: string;
    withMetadata?: boolean;
}

Type declaration

  • Optional category?: string[]

    Array of categories, can be any of the following: "external", "internal", "erc20", "erc721", "erc1155", or "specialnft".

    See the table above for supported categories on each network:
    https://docs.alchemy.com/reference/alchemy-getassettransfers
  • Optional contractAddresses?: string[]

    List of contract addresses (hex strings) to filter for - only applies to "erc20", "erc721", "erc1155" transfers. Default wildcard - any address

  • Optional excludeZeroValue?: boolean

    A boolean to exclude transfers with zero value - zero value is not the same as null value. Defaults to true.

  • Optional fromBlock?: string

    Inclusive from block (hex string, int, latest, or indexed). Defaults to 0x0

  • Optional pageKey?: string

    UUID for pagination. If more results are available, an uuid pageKey will be returned in the response. Pass that uuid into pageKey to fetch the next request.

  • Optional toBlock?: string

    Inclusive to block (hex string, int, latest, or indexed). Defaults to latest. Read more about block tags: https://docs.alchemy.com/reference/transfers-api-quickstart#what-are-the-different-types-of-block-tags

  • Optional withMetadata?: boolean

    Whether to include additional metadata about each transfer event. Defaults to false.