lxq.link
postscategoriesabout

比特币单位换算和转账费率

单位换算

  • 1 BTC = 1,000 mBTC(毫比特币)

  • 1 BTC = 1,000,000μBTC(微比特币)

  • 1 BTC = 100,000,000 Satoshis

  • 1 mBTC = 100,000 Satoshis

  • 1μBTC(微比特币)= 100 Satoshis

The satoshi is currently the smallest unit of the bitcoin currency recorded on the block chain. It is a one hundred millionth of a single bitcoin (0.00000001 BTC). The unit has been named in collective homage to the original creator of Bitcoin, Satoshi Nakamoto.

https://en.bitcoin.it/wiki/Satoshi_(unit)


转账费率计算

比特币转账按照字节收费,一笔交易约占250字节,每字节约消耗 2-6 satoshis(更新于2019/01/09)

每字节消耗 satoshis 实时查询 api

http get -> https://bitcoinfees.earn.com/api/v1/fees/recommended

Example response:

{ "fastestFee": 40, "halfHourFee": 20, "hourFee": 10 }
  • fastestFee: The lowest fee (in satoshis per byte) that will currently result in the fastest transaction confirmations (usually 0 to 1 block delay).
  • halfHourFee: The lowest fee (in satoshis per byte) that will confirm transactions within half an hour (with 90% probability).
  • hourFee: The lowest fee (in satoshis per byte) that will confirm transactions within an hour (with 90% probability).
2020-08-28