POST
https://prv.gateway.indexer.biya.io
/
injective_oracle_rpc.InjectiveOracleRpc
/
PriceV2
PriceV2
curl --request POST \
  --url https://prv.gateway.indexer.biya.io/injective_oracle_rpc.InjectiveOracleRpc/PriceV2 \
  --header 'Content-Type: application/json' \
  --data '
{
  "filters": [
    {}
  ]
}
'
Get prices of multiple oracles (V2).
filters
array
required
Array of oracle filters (required)
Each filter object should contain:
  • base_symbol (string, required)
  • quote_symbol (string, required)
  • oracle_type (string, required)
  • oracle_scale_factor (number, optional)

Response

{
  "prices": [
    {
      "base_symbol": "string",
      "quote_symbol": "string",
      "oracle_type": "string",
      "oracle_scale_factor": "number",
      "price": "string",
      "market_id": "string"
    }
  ]
}