Skip to main content

Class: EvmSoldPriceLastSale

moralis-monorepo / @moralisweb3/common-evm-utils / EvmSoldPriceLastSale

Class: EvmSoldPriceLastSale

@moralisweb3/common-evm-utils.EvmSoldPriceLastSale

Table of contents

Methods

Properties

Methods

create

Static create(input): EvmSoldPriceLastSale

Parameters

NameType
inputEvmSoldPriceLastSaleInput | EvmSoldPriceLastSale

Returns

EvmSoldPriceLastSale


fromJSON

Static fromJSON(json): EvmSoldPriceLastSale

Parameters

NameType
jsonEvmSoldPriceLastSaleJSON

Returns

EvmSoldPriceLastSale


toJSON

toJSON(): EvmSoldPriceLastSaleJSON

Returns

EvmSoldPriceLastSaleJSON

Properties

blockTimestamp

Readonly blockTimestamp: string

Description

The block timestamp of the last sale


buyerAddress

Readonly buyerAddress: EvmAddress

Description

The buyer address of the last sale


currentUsdValue

Optional Readonly currentUsdValue: string

Description

The USD price of the last sale at the current value


paymentToken

Readonly paymentToken: EvmSoldPriceLastSalePaymentToken

Description

The ERC20 token that is being traded with


price

Readonly price: string

Description

The price of the last sale


priceFormatted

Readonly priceFormatted: string

Description

The formatted price of the last sale


sellerAddress

Readonly sellerAddress: EvmAddress

Description

The seller address of the last sale


tokenId

Optional Readonly tokenId: string

Description

The token ID that is sold


transactionHash

Readonly transactionHash: string

Description

The transaction hash of the last sale


usdPriceAtSale

Optional Readonly usdPriceAtSale: string

Description

The USD price of the last sale at sale time