Basic B (ERC721) - Mainnet

Deposit & Withdraw ERC721 from DSA. BASIC-ERC721-v1.0 connector on mainnet triggers methods like depositERC721, withdrawERC721. You can view details like source code, ABIs on Etherscan.

  • Use 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee to indicate ETH.
  • use -1 or dsa.maxValue for the maximum amount in function.
  • If not sure about the arguments getId and setId, pass 0.

DepositERC721

Deposit a ERC721 token to DSA

spells.add({  connector: "BASIC-B",  method: "depositERC721",  args: [token, tokenId, getId, setId]});
Parameter Type Description
token address Address of token.
tokenId uint256 ID of token.
getId uint256 ID to retrieve tokenId.
setId uint256 ID stores the tokenId.

WithdrawERC721

Withdraw a ERC721 token from DSA

spells.add({  connector: "BASIC-B",  method: "withdrawERC721",  args: [token, tokenId, to, getId, setId]});
Parameter Type Description
token address Address of the token.
tokenId uint256 ID of token.
to address The address to receive the token upon withdrawal
getId uint256 ID to retrieve tokenId.
setId uint256 ID stores the tokenId.

If you still can't find something you're looking for or have any questions, ask them at our developers community on Discord or simply send an Email.


Our team is excited about assisting you to build an application using Instadapp Developer Platform. Your questions and feedback help us make a better development environment for future developers.