Function createCapsuleTx

  • Parameters

    • offchainData: string

      Off-chain data related to the NFT metadata. Can be an IPFS Hash, an URL or plain text.

    • capsuleOffchainData: string

      Off-chain data related to the Capsule metadata. Can be an IPFS hash, a URL or plain text.

    • royalty: number = 0

      Percentage of all second sales that the creator will receive. It's a decimal number in range [0, 100]. Default is 0.

    • collectionId: undefined | number = undefined

      The collection to which the NFT belongs. Optional Parameter.

    • isSoulbound: boolean = false

      If true, makes the Capsule intransferable. Default is false.

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

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

    Name

    createCapsuleTx

    Summary

    Creates an unsigned unsubmitted Create-Capsule Transaction Hash for a Capsule NFT.

Generated using TypeDoc