New answers tagged

0

Blockchain.info offers a fee API: https://api.blockchain.info/mempool/fees The response looks something like this: {"limits":{"min":1,"max":75},"regular":3,"priority":50}. To calculate the transaction fee multiply either the value for regular or priority by your transaction size.


2

Bitcoin Core does not track each individual address, only the addresses associated with your wallet. There are other clients, such as bitcore-insight and btcd, which maintain a separate address index. Alternatively, you can implement an index yourself, or run an existing one such as ElectrumX.


0

Blockexplorers typically provide APIs that serve exactly that sort of data. For example the address call of the Blockchair API returns the latest 100 transactions the address was involved in. You would retrieve the data for example by calling curl https://api.blockchair.com/bitcoin-cash/dashboards/address/<someAddress> where you'll need to replace ...


Top 50 recent answers are included