Skip to main content

estimatefee

estimatefee nblocks

DEPRECATED. Please use estimatesmartfee for more intelligent estimates. Estimates the approximate fee per kilobyte needed for a transaction to begin confirmation within nblocks blocks.

A negative value is returned if not enough transactions and blocks have been observed to make an estimate. -1 is always returned for nblocks == 1 as it is impossible to calculate a fee that is high enough to get reliably included in the next block.

yerbas-cli estimatefee 6

Arguments

ArgumentTypeDescription
"address"(string)The base58check encoded address
Arguments:
1. nblocks (numeric, required)

Output

ResultTypeDescription
.........
Result:
n (numeric) estimated fee-per-kilobyte

Examples

curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "estimatefee", "params": [6] }' -H 'content-type: text/plain;' http://127.0.0.1:9998/