POST
/
api
/
v1
/
price
/
onchain
/
batch
Get Batch On Chain Prices
curl --request POST \
  --url https://prv.explorer.biya.io/api/v1/price/onchain/batch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "symbols": [
    "<string>"
  ],
  "denoms": [
    "<string>"
  ],
  "use_cache": true
}
'
{
  "code": 123,
  "message": "<string>",
  "data": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
symbols
string[]
denoms
string[]
use_cache
boolean

Response

200 - application/json

OK

Generic response structure

code
integer<int32>

Response status code, 0 indicates success, non-zero indicates failure

message
string

Response message

data
object

Response data (using Struct type to directly return JSON objects, more intuitive)