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キーを取得