getblockchaininfo
BitcoinC1Returns chain-wide state: chain name, block/header height, difficulty, verification progress and pruning status. Takes no parameters.
Endpoint
POST https://api.1st-node.com/v1/bitcoin/rpcReturns
object — chain, blocks, headers, difficulty and more.
Request
curl https://api.1st-node.com/v1/bitcoin/rpc \
-H "Authorization: Bearer $ONE_KEY" \
-H "content-type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "getblockchaininfo",
"params": []
}'{
"jsonrpc": "2.0",
"id": 1,
"method": "getblockchaininfo",
"params": []
}Response
{
"jsonrpc": "2.0",
"id": 1,
"result": { "chain": "main", "blocks": 854120, "pruned": false }
}More chain methods on Bitcoin
Sıkça sorulanlar
Are your Bitcoin nodes pruned?
No — getblockchaininfo reports pruned: false; we run full archive nodes.
Bakiye yükle, anahtarını al, yayına çık.
Self servis. Kripto ya da kartla öde. Krediyle ölçümlenir — ağır ilkel yapılar daha pahalı, basitler ucuz.
API anahtarı al