Get fee estimate
Retrieves an estimated fee rate for transactions.
POST
/v2/fees/transaction
Get approximate fees for a given transaction
Get an estimated fee for the supplied transaction.
Note: If the final transaction's byte size is larger than supplied to estimated_len
, then applications should increase this fee amount by:
fee_rate
x cost_scalar_change_by_byte
x (final_size
- estimated_size
)
Request Body (Optional)
transaction_payload
Requiredstring
Hex-encoded serialization of the TransactionPayload
for the transaction.
estimated_len
integer
Estimation of the final length (in bytes) of the transaction, including any post-conditions and signatures.
Status code | Description |
---|---|
200 | Estimated fees for the transaction |
POST response for estimated fee