Skip to main content

MinaNFTEscrow

Index

Constructors

constructor

  • Create MinaNFTEscrow


    Parameters

    • optionaladdress: PublicKey

      Public key of the deployed NFT zkApp

    Returns MinaNFTEscrow

Properties

optionaladdress

address?: PublicKey

Methods

publicapproveSale

publicdeploy

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

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

    Returns Promise<undefined | PendingTransaction>

publicdeposit

  • deposit(data: EscrowTransfer, buyer: PrivateKey, escrow: PublicKey): Promise<undefined | { deposited: EscrowDeposit; tx: PendingTransaction }>
  • Parameters

    Returns Promise<undefined | { deposited: EscrowDeposit; tx: PendingTransaction }>

publictransfer