curl --request GET \
--url https://xbt-mainnet.gomaestro-api.org/v0/rpc/general/info \
--header 'api-key: <api-key>'
{
"data": {
"automatic_pruning": true,
"bestblockhash": "<string>",
"blocks": 123,
"chain": "<string>",
"chainwork": "<string>",
"difficulty": 123,
"headers": 123,
"initialblockdownload": true,
"mediantime": 123,
"prune_target_size": 123,
"pruned": true,
"pruneheight": 123,
"size_on_disk": 123,
"softforks": {},
"verificationprogress": 123,
"warnings": "<string>"
},
"last_updated": {
"block_hash": "<string>",
"block_height": 123
}
}
Get Bitcoin blockchain general information including network stats, block height, difficulty, and node status.
curl --request GET \
--url https://xbt-mainnet.gomaestro-api.org/v0/rpc/general/info \
--header 'api-key: <api-key>'
{
"data": {
"automatic_pruning": true,
"bestblockhash": "<string>",
"blocks": 123,
"chain": "<string>",
"chainwork": "<string>",
"difficulty": 123,
"headers": 123,
"initialblockdownload": true,
"mediantime": 123,
"prune_target_size": 123,
"pruned": true,
"pruneheight": 123,
"size_on_disk": 123,
"softforks": {},
"verificationprogress": 123,
"warnings": "<string>"
},
"last_updated": {
"block_hash": "<string>",
"block_height": 123
}
}
Project API Key
OK
The response is of type object
.
Was this page helpful?