Type alias ApproveRequest

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

Type declaration

  • Optional chainId?: ChainId

    Alias for fromChainId. This will be deprecated in the future: use fromChainId.

  • Optional tokenAddress?: Web3Address

    Alias for fromToken.


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

  • Optional fromChainId?: ChainId

    ChainId of fromToken. See https://chainlist.org/.

  • fromToken: Web3Address

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

  • toChainId: ChainId

    ChainId of toToken. See https://chainlist.org/.

  • toToken: Web3Address

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

  • Optional amount?: string



  • Optional tokenId?: string

    ERC-721 tokenId.

Generated using TypeDoc