chain/estimateFeeRate

Estimates the fee rate given an optional priority. If no fee rate is provided, the average priority will be used.

Fee rates are estimated from the distribution of transaction fees over the last 10 blocks. The fee rate for each transaction is computed by dividing the transaction fee in $ORE by the size of the transaction in kB.

The slow, average, and fast rates each come from a percentile in the distribution:

  • slow: 10th
  • average: 20th
  • fast: 30th

Request 

{
  priority: 'slow' | 'average' | 'fast'
} | undefined

Response 

{
  rate: string;
}
View on Github

Join our newsletter and stay up to date with privacy and crypto.

Discover our impactful presence — read our blog.

Use

  • Node App
  • Node CLI
  • Mine
  • Block Explorer
  • Ecosystem

Learn

  • Get Started
  • FAQ
  • Whitepaper
  • Tokenomics

Community

  • Foundation
  • Governance
  • Grants
  • Our Community

Developers

  • Documentation
  • Github
Privacy Policy

|

Media Kit

|

Copyright 2024 Iron Fish.