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
Частые вопросы
Are your Bitcoin nodes pruned?
No — getblockchaininfo reports pruned: false; we run full archive nodes.
Пополнили, получили ключ, запустили.
Полное самообслуживание. Оплата криптой или картой. Тарификация в кредитах — тяжёлые примитивы дороже, простые дёшевы.
Получить API-ключ