getblockcount
BitcoinC1Returns the current block height — the number of blocks in the longest valid chain. Takes no parameters.
Endpoint
POST https://api.1st-node.com/v1/bitcoin/rpcReturns
number — the current block height.
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": "getblockcount",
"params": []
}'{
"jsonrpc": "2.0",
"id": 1,
"method": "getblockcount",
"params": []
}Response
{
"jsonrpc": "2.0",
"id": 1,
"result": 854120
}More blocks methods on Bitcoin
チャージして、キーを取得し、リリース。
セルフサーブ。暗号資産またはカードで支払い。クレジットで従量課金——重いプリミティブは高く、単純なものは安価。
APIキーを取得