Skip to main content

MinaNFTBadge

Index

Constructors

constructor

Properties

optionaladdress

address?: PublicKey

name

name: string

oracle

oracle: PublicKey

owner

owner: string

tokenSymbol

tokenSymbol: string

verifiedKey

verifiedKey: string

verifiedKind

verifiedKind: string

Methods

publicdeploy

  • deploy(deployer: PrivateKey, privateKey?: undefined | PrivateKey, nonce?: number): Promise<undefined | PendingTransaction>
  • Parameters

    • deployer: PrivateKey
    • privateKey: undefined | PrivateKey = undefined
    • optionalnonce: number

    Returns Promise<undefined | PendingTransaction>

publicissue

  • issue(deployer: PrivateKey, nft: MinaNFT, oraclePrivateKey: PrivateKey, nonce?: number): Promise<undefined | PendingTransaction>
  • Parameters

    • deployer: PrivateKey
    • nft: MinaNFT
    • oraclePrivateKey: PrivateKey
    • optionalnonce: number

    Returns Promise<undefined | PendingTransaction>

publicverify

  • verify(nft: MinaNFT): Promise<boolean>
  • Parameters

    Returns Promise<boolean>

publicstaticfromPublicKey

  • fromPublicKey(badgePublicKey: PublicKey): Promise<undefined | MinaNFTBadge>
  • Parameters

    • badgePublicKey: PublicKey

    Returns Promise<undefined | MinaNFTBadge>