Get latest price of WBTC in USD on optimism
Retrieves the USD price of a token on Optimism by setting `SmartContract: {is: "0x68f180fcCe6836688e9084f035309E29Bf0A2095"}` . Check the field `PriceInUSD` for the USD value. You can access the query. Trading cube - MEV-filtered trades with USD prices on every row.
What it returns
- block time
- token symbol
- token name
- token address
- quote token symbol
- market name
- protocol
- position
- open
- high
- low
- close
- is quoted in USD
- USD
Filters
- token address is 0x68f1…2095
- token network is Optimism
- ranking position is 1
The subscription
subscription {
Trading {
Pairs(
where: {
Token: {
Network: { is: "Optimism" }
Address: { is: "0x68f180fcce6836688e9084f035309e29bf0a2095" }
},
Price: { IsQuotedInUsd: true },
Ranking: { Position: { eq: 1 } }
}
) {
Block { Time }
Token { Symbol Name Address }
QuoteToken { Symbol }
Market { Name Protocol }
Ranking { Position }
Price { Ohlc { Open High Low Close } IsQuotedInUsd }
Volume { Usd }
}
}
}
Similar queries
- Stream pool price live (WETH/USDC Uniswap v3) · Trading (all chains) · Pairs
- Token Pool Liquidity Stream · Trading (all chains) · Pairs
- Arc Mainnet Trading: Latest price of a token stream (v2) · Trading (all chains) · Pairs
- Arc Mainnet Trading: Latest price of a token stream · Trading (all chains) · Pairs
- Robinhood Chain OHLCV / Candlestick API for a Token Pair · Trading (all chains) · Pairs