/transaction/fee-estimate REST API Endpoint
Body Parameters
tx
string
REQUIRED
The transaction hash in hexadecimal format
Returns
weight
object
Contains details about the computational effort required for the operation
refTime
string
The weight of computational time used based on some reference hardware
proofSize
string
The weight of storage space used by proof of validity
class
string
The extrinsic class. It can be one of these - `Normal`, `Operational` or `Mandatory`
partialFee
string
The expected inclusion fee for the transaction. Note that the fee rate changes up to 30% in a 24 hour period and this will not be the exact fee
Request
1curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/transaction/fee-estimate' \2--header 'Content-Type: application/json' \3--header 'Accept: application/json' \4--data '{5"tx": "YOUR_TRANSACTION"6}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free