getmempoolinfo

BitcoinC1

Returns mempool state: number of transactions, total size in bytes and the current minimum relay fee. Takes no parameters.

Endpoint
POST https://api.1st-node.com/v1/bitcoin/rpc

Returns

object — size, bytes, mempoolminfee 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": "getmempoolinfo",
  "params": []
}'
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getmempoolinfo",
  "params": []
}

Response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": { "size": 41230, "bytes": 18240000, "mempoolminfee": 0.00001 }
}
More chain methods on Bitcoin

Bitcoin API

充值、拿密钥、上线。

自助开通。支持加密货币或银行卡。按额度计费——重型原语更贵,简单调用很便宜。

获取 API 密钥