Bitcoin Forum
May 05, 2024, 04:54:55 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / Re: Bitcoin confirmation API on: May 25, 2020, 07:21:10 AM
You might want to use paid API (such as https://blockchair.com/api) which don't have such limit.

If you have fixed list of addresses, where you want to see transaction related to those address, you could run Bitcoin Core (and enable transaction indexing/txindex).
You only need to add list of addresses to watch only addresses, then use this command to get total confirmation of a transaction.

Code:
gettransaction [your_tx_id]

Blockchair api too much expensive, From $250 / mo for only 25000 req/day, But i need min 2req/sec



Have you tried Blockchain or BTC.com API? They don't give you the transaction confirmation count but you can calculate it using the blockcount:

Blockcount - The block your transaction was included in (block height) + 1
631516 - 631509 + 1 = 8 confirmations

on blockchain api documentation i see this
Please limit your queries to a maximum of 1 every 10 seconds.,

and on btc.com api getting this while browsing the page once every second from my browser,(a file is being downloaded and in the file have this)
Don't abuse the API. Please contact webmaster@btc.com





Have you tried Blockchain or BTC.com API? They don't give you the transaction confirmation count but you can calculate it using the blockcount:

Blockcount - The block your transaction was included in (block height) + 1
631516 - 631509 + 1 = 8 confirmations


Blockcount - The block your transaction was included in (block height) + 1

This Helped Too Much Thanks,,,,, i can now store block_height from starting and just call one req to get current block and do the easy math......

Thank You Soooooo Much  Roll Eyes Roll Eyes Roll Eyes



Have you tried Blockchain or BTC.com API? They don't give you the transaction confirmation count but you can calculate it using the blockcount:

Blockcount - The block your transaction was included in (block height) + 1
631516 - 631509 + 1 = 8 confirmations


Can u please tell me usually after how much time currentblock count increases? an estimate pls

[moderator's note: consecutive posts merged]
2  Bitcoin / Bitcoin Technical Support / Bitcoin confirmation API on: May 24, 2020, 07:51:39 AM
Hello,

Can i know some API providers who gives the opportunity to check how many confirmations a bitcoin transaction have with HASH ID. I If the request limit is or over 3 req/sec will be better!

( i tried sochain api but getting this https://imbt.ga/k7U0pKZ4ih when running curl https://sochain.com/api/v2/is_tx_confirmed/BTC/9f8c30b1070e5a62981b8b45df3e25be6caaf9b670ad8464610a047d502e2b00 on console,,,,,,

blockcypher api limit is too low,

bitaps api giving wrong TRANSACTION NOT FOUND error when giving valid hash
https://api.bitaps.com/btc/v1/blockchain/transaction/f00120799e54e093bc1aae712f907afd1ad7246d590fa5f8d3205ab428c9a5dd
https://blockchain.info/tx/f00120799e54e093bc1aae712f907afd1ad7246d590fa5f8d3205ab428c9a5dd,,,,

on coinbase i can see confirmations for outgoing transactions not incoming ones,,,,,,,)

Thank You.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!