Function erc721Transfer

  • Perform an erc721 transfer

    Example

    const params = {
    domainId: '9',
    resourceId: '0x00001',
    amountOrId: '123123123', // tokenID from the ERC721
    recipientAddress: '0x123ABCD',
    handlerAddress: '0xabc123',
    tokenInstance: new ERC721MinterBurnerPauser(), // from the sygma-contacts
    bridgeInstance: new Bridge(), // from the sygma-contacts
    feeData: { .. }, // fee data
    confirmations: 10,
    provider: new ethers.providers.Web3Provider(window.ethereum),
    };
    const receipt = await erc721Transfer(params);

    Returns

    A promise that resolves to the contract receipt.

    Parameters

    Returns Promise<ContractTransaction>

Generated using TypeDoc