estimatesmartfee
BitcoinC1Returns a fee-rate estimate (BTC/kvB) needed for a transaction to confirm within the target number of blocks, based on mempool and recent blocks.
Endpoint
POST https://api.1st-node.com/v1/bitcoin/rpcParameters
| Name | Type | Description |
|---|---|---|
| conf_target | number | Confirmation target in blocks. |
Returns
object — feerate in BTC/kvB and the blocks target.
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": "estimatesmartfee",
"params": [6]
}'{
"jsonrpc": "2.0",
"id": 1,
"method": "estimatesmartfee",
"params": [6]
}Response
{
"jsonrpc": "2.0",
"id": 1,
"result": { "feerate": 0.00002, "blocks": 6 }
}More chain methods on Bitcoin
Recarga, obtén tu clave y publica.
Autoservicio. Paga en cripto o con tarjeta. Medido por créditos: las primitivas pesadas cuestan más, las simples son baratas.
Obtener clave API