Type alias ApproveRequest

ApproveRequest: {
    chainId: ChainId;
    tokenAddress?: Web3Address;
    fromToken: Web3Address;
    toToken: Web3Address;
    amount?: string;
    tokenId?: string;

Type declaration

  • chainId: ChainId
  • Optional tokenAddress?: Web3Address

    Alias for fromToken.


    in favor of fromToken. This parameter will be removed in the future, please migrate.

  • fromToken: Web3Address

    Address of fromToken, the token you wish to zap with.

  • toToken: Web3Address

    Address of toToken, the token you wish to zap into.

  • Optional amount?: string



  • Optional tokenId?: string

    ERC-721 tokenId.

Generated using TypeDoc