Interface: GetPairPriceOperationRequest
moralis-monorepo / @moralisweb3/common-evm-utils / GetPairPriceOperationRequest
Interface: GetPairPriceOperationRequest
@moralisweb3/common-evm-utils.GetPairPriceOperationRequest
Table of contents
Properties
Properties
chain
• Optional
Readonly
chain: string
| EvmChain
Description
The chain to query
exchange
• Optional
Readonly
exchange: string
Description
The factory name or address of the token exchange
toBlock
• Optional
Readonly
toBlock: number
Description
The block number to get the reserves from
toDate
• Optional
Readonly
toDate: Date
Description
Get the price up to this date (format in seconds or datestring accepted by momentjs)
- Provide the param 'to_block' or 'to_date'
- If 'to_date' and 'to_block' are provided, 'to_block' will be used.
token0Address
• Readonly
token0Address: EvmAddressInput
Description
The token0 address
token1Address
• Readonly
token1Address: EvmAddressInput
Description
The token1 address