Type alias TokenAllowanceRequest

TokenAllowanceRequest: {
    chainId?: ChainId;
    accountAddress: Web3Address;
    tokenAddress?: Web3Address;
    fromChainId?: ChainId;
    fromToken: Web3Address;
    toChainId: ChainId;
    toToken: Web3Address;
    tokenId?: string;
}

Type declaration

  • Optional chainId?: ChainId

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

  • accountAddress: Web3Address
  • Optional tokenAddress?: Web3Address

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

    Deprecated

    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 tokenId?: string

    ERC-721 tokenId.

Generated using TypeDoc