Class: EvmSoldPriceLastSale
moralis-monorepo / @moralisweb3/common-evm-utils / EvmSoldPriceLastSale
Class: EvmSoldPriceLastSale
@moralisweb3/common-evm-utils.EvmSoldPriceLastSale
Table of contents
Methods
Properties
- blockTimestamp
- buyerAddress
- currentUsdValue
- paymentToken
- price
- priceFormatted
- sellerAddress
- tokenId
- transactionHash
- usdPriceAtSale
Methods
create
▸ Static create(input): EvmSoldPriceLastSale
Parameters
| Name | Type |
|---|---|
input | EvmSoldPriceLastSaleInput | EvmSoldPriceLastSale |
Returns
fromJSON
▸ Static fromJSON(json): EvmSoldPriceLastSale
Parameters
| Name | Type |
|---|---|
json | EvmSoldPriceLastSaleJSON |
Returns
toJSON
▸ toJSON(): EvmSoldPriceLastSaleJSON
Returns
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