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.

    Deprecated

    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

    Default

    "115792089237316195423570985008687907853269984665640564039457584007913129639935"

  • Optional tokenId?: string

    ERC-721 tokenId.

Generated using TypeDoc