Skip to main content

EscrowTransfer

EscrowTransfer is the data for transfer of the NFT from one owner to another

Hierarchy

  • { escrow: Field; name: Field; newOwner: Field; oldOwner: Field; price: UInt64; tokenId: Field; version: UInt64 }
    • EscrowTransfer

Index

Constructors

constructor

  • new EscrowTransfer(value: { escrow: Field; name: Field; newOwner: Field; oldOwner: Field; price: UInt64; tokenId: Field; version: UInt64 }): EscrowTransfer
  • Parameters

    • value: { escrow: Field; name: Field; newOwner: Field; oldOwner: Field; price: UInt64; tokenId: Field; version: UInt64 }

    Returns EscrowTransfer

Properties

escrow

escrow: Field = Field

The escrow of the NFT - Poseidon hash of the escrow public key

name

name: Field = Field

The name of the NFT

newOwner

newOwner: Field = Field

The new owner of the NFT

oldOwner

oldOwner: Field = Field

The old owner of the NFT

price

price: UInt64 = UInt64

The price of the NFT

tokenId

tokenId: Field = Field

The tokenId of the NFT, Field(0) for MINA payments

version

version: UInt64 = UInt64

The new version of the NFT, increases by one with the changing of the metadata or owner