Get latest price of DAI in USD on Base
Retrieves the USD price of a token on Base chain by setting `SmartContract: {is: "0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb"}` . 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 0x50c5…b0cb
- token network is Base
- ranking position is 1
The subscription
subscription {
Trading {
Pairs(
where: {
Token: {
Network: { is: "Base" }
Address: { is: "0x50c5725949a6f0c72e6c4a641f24049a917db0cb" }
},
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