Skip to main content

Usage

Returns

createToken

Function to create a new token. See createToken args.
  • type: ({ channelAddress: string; uri: string; maxSupply: bigint; transactionOverrides?: TransactionOverrides; }) => Promise<Log[] | undefined>

status

  • type: ContractExecutionStatus
the status of the transaction

tokenId

  • type: bigint
the token id of the new token

txHash

  • type: string
the transaction hash of the transaction

error

  • type: any
the revert message if the transaction fails