GET
/
transaction
/
estimatefee
/
{blocks}
Estimate Fee
curl --request GET \
  --url https://xbt-mainnet.gomaestro-api.org/v0/rpc/transaction/estimatefee/{blocks} \
  --header 'api-key: <api-key>'
{
  "data": {
    "blocks": 123,
    "feerate": 123
  },
  "last_updated": {
    "block_hash": "<string>",
    "block_height": 123
  }
}

Authorizations

api-key
string
header
required

Project API Key

Path Parameters

blocks
integer
default:1
required

Confirmation target in blocks.

Required range: 1 <= x <= 1008

Query Parameters

mode
string
default:conservative

Whether to return a more conservative estimate which also satisfies a longer history. A conservative estimate potentially returns a higher feerate and is more likely to be sufficient for the desired target, but is not as responsive to short term drops in the prevailing fee market. Must be one of: 'unset' 'economical' 'conservative'.

Response

200
application/json

OK

The response is of type object.