Image

NEXT GEN BITCOIN

Real-time decision support and analytics for the evolving Bitcoin ecosystem

Optimize Your Fees API Reference

Fees are important.

As block space becomes more competitive, the importance of optimizing transaction fees grows. The emerging fee market, which in the winter of 2017/2018 saw Bitcoin fees briefly rise above $50/tx, proves the need for an improved, enterprise-grade fee estimation service.

Many estimators ignore the mempool and focus only on historical transaction data. Others focus exclusively on the current mempool, ignoring history.

NGB Fees employs machine learning algorithms to build a predictive model from a large sample of historical data. We then apply this model to our production mempool image. This creates a fee estimation model that is tunable, reactive, and accurate. Our goal is to increase your confidence and remove uncertainty when making on-chain transactions. Save on fees, improve your confirmation time, and avoid stuck transactions.

Once a predetermined number of coins have entered circulation, the incentive can transition entirely to transaction fees and be completely inflation free.

Satoshi Nakamoto, Bitcoin: A Peer-to-Peer Electronic Cash System


Email us, schedule a call or scroll down to learn more.





NGB Fees is...

Tunable.

Evaluate tradeoffs between confirmation time, transaction cost, and confidence level to select fee rates that best suit your business needs.

Reactive.

Constant data updates mean our API never reflects a stale mempool state, allowing you to adjust quickly to sudden changes such as a spike in network activity or several quickly mined blocks.

Accurate.

Rest easy knowing that whatever your requirements, NGB Fees will provide the lowest fee estimates while still meeting your goals.

API Reference

Fee Rate Table

GET https://api.nextgenbitco.in/feeRate?apikey={apikey}

  • Returns a JSON object with all fee rates by block target and confidence
  • Fee rates are in Satoshis/Byte

https://api.nextgenbitco.in/feeRate?apikey=12345

    {
        "1":{
            "90":9.78472,
            "91":9.78873,
            "92":9.78873,
            "93":9.80459,
            "94":10.20482,
            "95":11.82671,
            "96":15.0,
            "97":25.0,
            "98":62.82723,
            "99":250.67024
        },
        "2":{
            "90":4.51408,
            "91":4.93143,
            "92":6.10526,
            "93":8.02685,
            "94":9.60096,
            "95":9.60096,
            "96":9.78472,
            "97":9.78873,
            "98":11.14798,
            "99":20.44141
        },
        "3":{
            "90":3.02778,
            "91":3.04036,
            "92":3.33778,
            "93":3.56842,
            "94":4.31338,
            "95":4.93143,
            "96":8.02685,
            "97":9.60096,
            "98":9.78588,
            "99":11.82671
        },
        "6":{
            "90":1.30742,
            "91":2.25097,
            "92":2.48276,
            "93":2.99043,
            "94":3.00804,
            "95":3.01613,
            "96":3.03534,
            "97":3.375,
            "98":4.93089,
            "99":9.60618
        }
    } 
                        

Specific Fee Rate

GET https://api.nextgenbitco.in/feeRate?blocks={blocks}&confidence={confidence}&apikey={apikey}

  • Select block target: 1, 2, 3, or 6 (~10, ~20, ~30, ~60 minutes, respectively)
  • Select confidence: Between 90-99
  • Returns a single fee rate
  • Fee rates are in Satoshis/Byte

https://api.nextgenbitco.in/feeRate?blocks=1&confidence=95&apikey=12345

35.1

Coming Soon

  • Transaction Evaluation/Monitoring
  • RBF (Replace-By-Fee) Support
  • CPFP (Child-Pays-For-Parent) Support


About Us

Next Gen Bitcoin uses advanced analytics to empower businesses to make better decisions when interacting with the Bitcoin network. Our current focus is on improving fee estimation for businesses with high transaction volume. We are working toward delivering even more sophisticated algorithms to support Replace by Fee (RBF) and Child Pays for Parent (CPFP) decisions.


Made with 🥩 in Nashville, TN 🇺🇸
|