Function addSecretToNftTx

  • Name

    addSecretToNftTx

    Summary

    Creates an unsigned unsubmitted Add-Secret-NFT Transaction Hash.

    Returns

    Unsigned unsubmitted Create-Secret-NFT Transaction Hash. The Hash is only valid for 5 minutes.

    Parameters

    • id: number

      The ID of the NFT.

    • secretOffchainData: string

      Off-chain related NFT secret metadata. Can be an IPFS hash, a URL or plain text.

    Returns Promise<`0x${string}`>

Generated using TypeDoc