curl --request POST \
--url https://dev.backend.scan.biya.io/explorer \
--header 'Content-Type: application/json' \
--data '
{
"type": "blockDetails",
"height": 123
}
'{
"type": "blockDetails",
"blockDetails": {
"height": 123,
"blockTime": 123,
"hash": "<string>",
"proposer": "<string>",
"numTxs": 123,
"txs": [
{
"time": 123,
"user": "<string>",
"action": {},
"block": 123,
"hash": "<string>",
"legacyHash": "<string>",
"error": null,
"status": "included",
"executionStatus": "<string>",
"executionResponseStatus": "<string>",
"executionResponseType": "<string>",
"executionResponse": null
}
],
"transactionsTruncated": true,
"transactionsNextCursor": "<string>"
},
"tx": {
"time": 123,
"user": "<string>",
"action": {},
"block": 123,
"hash": "<string>",
"legacyHash": "<string>",
"error": null,
"status": "included",
"executionStatus": "<string>",
"executionResponseStatus": "<string>",
"executionResponseType": "<string>",
"executionResponse": null
},
"txs": [
{
"time": 123,
"user": "<string>",
"action": {},
"block": 123,
"hash": "<string>",
"legacyHash": "<string>",
"error": null,
"status": "included",
"executionStatus": "<string>",
"executionResponseStatus": "<string>",
"executionResponseType": "<string>",
"executionResponse": null
}
]
}{
"error": "block not found"
}{
"error": "block not found"
}{
"error": "block not found"
}{
"error": "block not found"
}{
"error": "block not found"
}Compatibility
Legacy explorer query
type must be blockDetails, txDetails, or userDetails.
userDetails returns at most 200 Actions. Large blockDetails
responses may set truncation fields.
POST
/
explorer
curl --request POST \
--url https://dev.backend.scan.biya.io/explorer \
--header 'Content-Type: application/json' \
--data '
{
"type": "blockDetails",
"height": 123
}
'{
"type": "blockDetails",
"blockDetails": {
"height": 123,
"blockTime": 123,
"hash": "<string>",
"proposer": "<string>",
"numTxs": 123,
"txs": [
{
"time": 123,
"user": "<string>",
"action": {},
"block": 123,
"hash": "<string>",
"legacyHash": "<string>",
"error": null,
"status": "included",
"executionStatus": "<string>",
"executionResponseStatus": "<string>",
"executionResponseType": "<string>",
"executionResponse": null
}
],
"transactionsTruncated": true,
"transactionsNextCursor": "<string>"
},
"tx": {
"time": 123,
"user": "<string>",
"action": {},
"block": 123,
"hash": "<string>",
"legacyHash": "<string>",
"error": null,
"status": "included",
"executionStatus": "<string>",
"executionResponseStatus": "<string>",
"executionResponseType": "<string>",
"executionResponse": null
},
"txs": [
{
"time": 123,
"user": "<string>",
"action": {},
"block": 123,
"hash": "<string>",
"legacyHash": "<string>",
"error": null,
"status": "included",
"executionStatus": "<string>",
"executionResponseStatus": "<string>",
"executionResponseType": "<string>",
"executionResponse": null
}
]
}{
"error": "block not found"
}{
"error": "block not found"
}{
"error": "block not found"
}{
"error": "block not found"
}{
"error": "block not found"
}Body
application/json