curl --request GET \
--url https://xdg-mainnet.gomaestro-api.org/v0/rpc/general/info \
--header 'api-key: <api-key>'
{
"data": {
"bestblockhash": "<string>",
"bip9_softforks": {
"csv": {
"since": 123,
"startTime": 123,
"status": "<string>",
"timeout": 123
}
},
"blocks": 123,
"chain": "<string>",
"chainwork": "<string>",
"difficulty": 123,
"headers": 123,
"initialblockdownload": true,
"mediantime": 123,
"pruned": true,
"size_on_disk": 123,
"softforks": [
{
"id": "<string>",
"reject": {
"status": true
},
"version": 123
}
],
"verificationprogress": 123,
"warnings": "<string>"
},
"last_updated": {
"block_hash": "<string>",
"block_height": 123
}
}
Blockchain info
curl --request GET \
--url https://xdg-mainnet.gomaestro-api.org/v0/rpc/general/info \
--header 'api-key: <api-key>'
{
"data": {
"bestblockhash": "<string>",
"bip9_softforks": {
"csv": {
"since": 123,
"startTime": 123,
"status": "<string>",
"timeout": 123
}
},
"blocks": 123,
"chain": "<string>",
"chainwork": "<string>",
"difficulty": 123,
"headers": 123,
"initialblockdownload": true,
"mediantime": 123,
"pruned": true,
"size_on_disk": 123,
"softforks": [
{
"id": "<string>",
"reject": {
"status": true
},
"version": 123
}
],
"verificationprogress": 123,
"warnings": "<string>"
},
"last_updated": {
"block_hash": "<string>",
"block_height": 123
}
}
Project API Key
OK
The response is of type object
.