Pages:
Author

Topic: List of Bitcoin blockchain APIs (Read 8186 times)

legendary
Activity: 1492
Merit: 1021
October 01, 2015, 03:55:33 AM
#74

Added bitgo and gem for high-level wallet providers.

Any reason as to why Blocktrail is not there? We provide multi-sig, HD and webhooks.

I am currently a bit unsure how to categorize the different bitcoin APIs and wallet services.
I should maybe revisit my categorization criteria and redo this list - at the moment it's a bit
vague. For example, your services provides obviously more integrated/high-level features than
a typical "data API" provider such as chain.com, but it's less high-level that for example
BitGo, right?

So maybe I'll just redo this list in form of a table of features rather than making up categories
that are to some extend arbitrary.

I am open for ideas - maybe a website would be a better option?

It's as high level as BitGo.

You could try making a website I guess.
hero member
Activity: 691
Merit: 569
October 01, 2015, 12:03:13 AM
#73
Please consider adding blockonomics api to the list https://www.blockonomics.co/views/api.html

- Thanks
hero member
Activity: 518
Merit: 502
September 02, 2015, 01:55:40 PM
#72

Added bitgo and gem for high-level wallet providers.

Any reason as to why Blocktrail is not there? We provide multi-sig, HD and webhooks.

I am currently a bit unsure how to categorize the different bitcoin APIs and wallet services.
I should maybe revisit my categorization criteria and redo this list - at the moment it's a bit
vague. For example, your services provides obviously more integrated/high-level features than
a typical "data API" provider such as chain.com, but it's less high-level that for example
BitGo, right?

So maybe I'll just redo this list in form of a table of features rather than making up categories
that are to some extend arbitrary.

I am open for ideas - maybe a website would be a better option?
legendary
Activity: 1492
Merit: 1021
September 02, 2015, 09:31:09 AM
#71

Added bitgo and gem for high-level wallet providers.

Any reason as to why Blocktrail is not there? We provide multi-sig, HD and webhooks.
hero member
Activity: 518
Merit: 502
September 02, 2015, 09:19:39 AM
#70

Added bitgo and gem for high-level wallet providers.
legendary
Activity: 1492
Merit: 1021
August 31, 2015, 04:58:58 AM
#69
We recommend using a library to do so instead of using an API, it's faster and more reliable.
Our own SDKs use the following libs and we'd recommend these to anyone (we're also co-maintainers on these);
Right, yes, I didn't think of that but good point. I'll look into the SDKs you suggested. Thx again!

No problem. Let me know if you have any more questions.
legendary
Activity: 1176
Merit: 1011
July 28, 2015, 08:05:57 AM
#68
We recommend using a library to do so instead of using an API, it's faster and more reliable.
Our own SDKs use the following libs and we'd recommend these to anyone (we're also co-maintainers on these);
Right, yes, I didn't think of that but good point. I'll look into the SDKs you suggested. Thx again!
legendary
Activity: 1492
Merit: 1021
July 28, 2015, 07:36:44 AM
#67
Yep, no problem! If you or anyone else for that matter have any more questions you can always PM me. Thanks  Cheesy
I've got another question Smiley

Does BlockTrail have a function (either in the API, or through the web UI) to decode a raw transaction (hex data) back into json data with inputs and outputs etc?
I mean something like http://btc.blockr.io/tx/push or https://blockchain.info/decode-tx or the decodetx function in smartbit's API.

Note that I can't always use a txid here, it has to be raw tx data, as this would also be used to verify or inspect txs before pushing them to the network.

We recommend using a library to do so instead of using an API, it's faster and more reliable.
Our own SDKs use the following libs and we'd recommend these to anyone (we're also co-maintainers on these);

 - PHP: https://github.com/Bit-Wasp/bitcoin-lib-php (functional) or https://github.com/Bit-Wasp/bitcoin-php (OOP)
 - NodeJS: github.com/bitcoinjs/bitcoinjs-lib
 - Python: https://github.com/petertodd/python-bitcoinlib
legendary
Activity: 1176
Merit: 1011
July 28, 2015, 07:09:40 AM
#66
Yep, no problem! If you or anyone else for that matter have any more questions you can always PM me. Thanks  Cheesy
I've got another question Smiley

Does BlockTrail have a function (either in the API, or through the web UI) to decode a raw transaction (hex data) back into json data with inputs and outputs etc?
I mean something like http://btc.blockr.io/tx/push or https://blockchain.info/decode-tx or the decodetx function in smartbit's API.

Note that I can't always use a txid here, it has to be raw tx data, as this would also be used to verify or inspect txs before pushing them to the network.
legendary
Activity: 1492
Merit: 1021
July 22, 2015, 03:40:43 AM
#65
BlockTrail has a `push tx` endpoint, the documentation is lacking a bit behind on some of the new features added;
https://api.blocktrail.com/v1/BTC/send-raw-tx?api_key
either POST a raw hex or JSON {hex: }
Great, thanks!

Yep, no problem! If you or anyone else for that matter have any more questions you can always PM me. Thanks  Cheesy
legendary
Activity: 1176
Merit: 1011
July 22, 2015, 02:01:33 AM
#64
We have just launched a new block explorer - smartbit.com.au

Our launch thread can be found here: https://bitcointalksearch.org/topic/ann-smartbitcomau-bitcoin-block-explorer-1127817
Wow, looks great! Both the web explorer as well as the API.
Also thanks to jspri3 for the detailed examples. Good stuff!
legendary
Activity: 1176
Merit: 1011
July 22, 2015, 01:56:10 AM
#63
BlockTrail has a `push tx` endpoint, the documentation is lacking a bit behind on some of the new features added;
https://api.blocktrail.com/v1/BTC/send-raw-tx?api_key
either POST a raw hex or JSON {hex: }
Great, thanks!
newbie
Activity: 4
Merit: 1
July 19, 2015, 07:12:41 PM
#62
Just to add on to Charles comment Smartbit has the following features as well

1. Get tx data: given a tx hash, return its hex data (also for unconfirmed txs).

Couple options. For example here's how to to get the hex, based on the transaction hash :
https://www.smartbit.com.au/tx/bf3c9cf049c360fcd9e6af9e730478e0de5563167e283bfb29e8b012ae53b747/hex
https://api.smartbit.com.au/v1/blockchain/transaction/e0d4d2f1ec598fe237dced2132ed8e978da9f4708884b87a41e898b74a835fc1/hex

You can also decode the hex and get the response directly from bitcoin core which is quite cool!
https://www.smartbit.com.au/txs/decodetx

Or you can use the API to decode via POST (See API Playground)
https://api.smartbit.com.au/v1/blockchain/decodetx


2. Push tx: given a tx (as hex data), push or broadcast it to the network.

Just paste the hex in here:
https://www.smartbit.com.au/txs/pushtx
Or API as  POST method
https://api.smartbit.com.au/v1/blockchain/pushtx


If the hex is already in the blockchain, the api will respond with the relevant transaction id.

3. Get tx propagation: given an unconfirmed tx hash, returns an estimate % of nodes that have this tx in their mempool.

Smartbit has transaction propagation % across the network. You can see this live on any unconfirmed transaction.

Find a unconfirmed transaction here and go to its detail page. You'll see the propagtion percentage as its picked up across the network.
https://www.smartbit.com.au/txs/unconfirmed
https://api.smartbit.com.au/v1/blockchain/transaction/e0d4d2f1ec598fe237dced2132ed8e978da9f4708884b87a41e898b74a835fc1

The propagation field on the API is (along with double_spend).
"propagation": "1.0000",
"double_spend": false,

If more than one transaction tries to re spend an unspent transaction output, we'll flag the transaction as a double spend.


We've also built an API Playground. The playground allows anyone to interact with the API, changing any variables, and seeing the response via the interface. Perfect for testing and understanding how the Data API and websockets calls work.

API Playground here:

https://www.smartbit.com.au/docs


Would appreciate knowing if anyone uses the API Playground and feedback you may have?

hero member
Activity: 518
Merit: 502
July 19, 2015, 06:57:30 AM
#61
hero member
Activity: 518
Merit: 502
July 13, 2015, 06:20:08 AM
#59
BlockTrail is based on bitcoin core with heavy extensions, yes.

This is one of the reasons we were able to maintain all of our infrastructure (block explorer, API's, etc) on the correct chain, which in turn, left our users happy.

Yes, that is certainly an advantage over using a custom software directly. Thanks for replying!
legendary
Activity: 1492
Merit: 1021
July 13, 2015, 05:04:11 AM
#58
Any chance Blocktrail will offer these two functionalities?

1. Get tx data: given a tx hash, return its hex data (also for unconfirmed txs). (edit: sorry, I noticed this was already in the 'Get Transaction' function, as 'raw')
2. Push tx: given a tx (as hex data), push or broadcast it to the network.

I love blocktrail (my absolute #1 preferred API) but I really miss these two functions.

While I'm at it, something else that would be great as well:

3. Get tx propagation: given an unconfirmed tx hash, returns an estimate % of nodes that have this tx in their mempool.



BlockTrail has a `push tx` endpoint, the documentation is lacking a bit behind on some of the new features added;
https://api.blocktrail.com/v1/BTC/send-raw-tx?api_key
either POST a raw hex or JSON {hex: }

While you are here: out of curiosity, is Blocktrail based on bitcoin core (with heavy extensions on top of it, of course), based on a different client (eg, btcd) or completely custom?


BlockTrail is based on bitcoin core with heavy extensions, yes.

This is one of the reasons we were able to maintain all of our infrastructure (block explorer, API's, etc) on the correct chain, which in turn, left our users happy.

hero member
Activity: 518
Merit: 502
July 13, 2015, 01:21:35 AM
#57
Any chance Blocktrail will offer these two functionalities?

1. Get tx data: given a tx hash, return its hex data (also for unconfirmed txs). (edit: sorry, I noticed this was already in the 'Get Transaction' function, as 'raw')
2. Push tx: given a tx (as hex data), push or broadcast it to the network.

I love blocktrail (my absolute #1 preferred API) but I really miss these two functions.

While I'm at it, something else that would be great as well:

3. Get tx propagation: given an unconfirmed tx hash, returns an estimate % of nodes that have this tx in their mempool.



BlockTrail has a `push tx` endpoint, the documentation is lacking a bit behind on some of the new features added;
https://api.blocktrail.com/v1/BTC/send-raw-tx?api_key
either POST a raw hex or JSON {hex: }

While you are here: out of curiosity, is Blocktrail based on bitcoin core (with heavy extensions on top of it, of course), based on a different client (eg, btcd) or completely custom?
legendary
Activity: 1492
Merit: 1021
July 10, 2015, 09:42:02 AM
#56
Any chance Blocktrail will offer these two functionalities?

1. Get tx data: given a tx hash, return its hex data (also for unconfirmed txs). (edit: sorry, I noticed this was already in the 'Get Transaction' function, as 'raw')
2. Push tx: given a tx (as hex data), push or broadcast it to the network.

I love blocktrail (my absolute #1 preferred API) but I really miss these two functions.

While I'm at it, something else that would be great as well:

3. Get tx propagation: given an unconfirmed tx hash, returns an estimate % of nodes that have this tx in their mempool.



BlockTrail has a `push tx` endpoint, the documentation is lacking a bit behind on some of the new features added;
https://api.blocktrail.com/v1/BTC/send-raw-tx?api_key
either POST a raw hex or JSON {hex: }
legendary
Activity: 1176
Merit: 1011
July 10, 2015, 03:06:05 AM
#55
Any chance Blocktrail will offer these two functionalities?

1. Get tx data: given a tx hash, return its hex data (also for unconfirmed txs). (edit: sorry, I noticed this was already in the 'Get Transaction' function, as 'raw')
2. Push tx: given a tx (as hex data), push or broadcast it to the network.

I love blocktrail (my absolute #1 preferred API) but I really miss these two functions.

While I'm at it, something else that would be great as well:

3. Get tx propagation: given an unconfirmed tx hash, returns an estimate % of nodes that have this tx in their mempool.

Pages:
Jump to: