Function createCollection

  • Name

    createCollection

    Summary

    Creates a collection.

    Returns

    CollectionCreatedEvent Blockchain event.

    Parameters

    • offchainData: string

      Off-chain related Collection metadata. Can be an IPFS Hash, an URL or plain text.

    • limit: undefined | number = undefined

      Amount of NFTs that can be associated with this collection. This is optional

    • keyring: IKeyringPair

      Account that will sign the transaction.

    • waitUntil: TernoaConstants.WaitUntil

      Execution trigger that can be set either to BlockInclusion or BlockFinalization.

    Returns Promise<TernoaEvents.CollectionCreatedEvent>

Generated using TypeDoc