Skip to main content

BuyEvent

Emitted when an NFT is purchased.

Hierarchy

  • { address: PublicKey; buyer: PublicKey; price: UInt64; seller: PublicKey; version: UInt32 }
    • BuyEvent

Index

Constructors

externalconstructor

  • new BuyEvent(value: { address: PublicKey; buyer: PublicKey; price: UInt64; seller: PublicKey; version: UInt32 }): BuyEvent
  • Parameters

    • externalvalue: { address: PublicKey; buyer: PublicKey; price: UInt64; seller: PublicKey; version: UInt32 }
      • externaladdress: PublicKey = PublicKey

        The public key address of the NFT being purchased.

      • externalbuyer: PublicKey = PublicKey

        The public key of the buyer who purchased the NFT.

      • externalprice: UInt64 = UInt64

        The price at which the NFT was purchased.

      • externalseller: PublicKey = PublicKey

        The public key of the seller from whom the NFT is purchased.

      • externalversion: UInt32 = UInt32

        The version number of the NFT state at the time of purchase.

    Returns BuyEvent

Properties

address

address: PublicKey = PublicKey

The public key address of the NFT being purchased.

buyer

buyer: PublicKey = PublicKey

The public key of the buyer who purchased the NFT.

price

price: UInt64 = UInt64

The price at which the NFT was purchased.

seller

seller: PublicKey = PublicKey

The public key of the seller from whom the NFT is purchased.

version

version: UInt32 = UInt32

The version number of the NFT state at the time of purchase.