arnuschky (OP)
|
|
July 19, 2015, 11:57:30 AM |
|
I added you to the list. Let me know if there's anything missing.
|
|
|
|
jspri3
Newbie
Offline
Activity: 4
Merit: 1
|
|
July 20, 2015, 12:12:41 AM Last edit: July 20, 2015, 08:11:52 AM by jspri3 |
|
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/hexhttps://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/decodetxOr you can use the API to decode via POST (See API Playground) https://api.smartbit.com.au/v1/blockchain/decodetx2. 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/pushtxOr API as POST method https://api.smartbit.com.au/v1/blockchain/pushtxIf 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/unconfirmedhttps://api.smartbit.com.au/v1/blockchain/transaction/e0d4d2f1ec598fe237dced2132ed8e978da9f4708884b87a41e898b74a835fc1The 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/docsWould appreciate knowing if anyone uses the API Playground and feedback you may have?
|
|
|
|
Kazimir
Legendary
Offline
Activity: 1176
Merit: 1011
|
|
July 22, 2015, 06:56:10 AM |
|
|
|
|
|
Kazimir
Legendary
Offline
Activity: 1176
Merit: 1011
|
|
July 22, 2015, 07:01:33 AM |
|
Wow, looks great! Both the web explorer as well as the API. Also thanks to jspri3 for the detailed examples. Good stuff!
|
|
|
|
neutraLTC
Legendary
Offline
Activity: 1492
Merit: 1021
|
|
July 22, 2015, 08:40:43 AM |
|
Yep, no problem! If you or anyone else for that matter have any more questions you can always PM me. Thanks
|
|
|
|
Kazimir
Legendary
Offline
Activity: 1176
Merit: 1011
|
|
July 28, 2015, 12:09:40 PM |
|
Yep, no problem! If you or anyone else for that matter have any more questions you can always PM me. Thanks I've got another question 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.
|
|
|
|
neutraLTC
Legendary
Offline
Activity: 1492
Merit: 1021
|
|
July 28, 2015, 12:36:44 PM |
|
Yep, no problem! If you or anyone else for that matter have any more questions you can always PM me. Thanks I've got another question 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
|
|
|
|
Kazimir
Legendary
Offline
Activity: 1176
Merit: 1011
|
|
July 28, 2015, 01:05:57 PM |
|
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!
|
|
|
|
neutraLTC
Legendary
Offline
Activity: 1492
Merit: 1021
|
|
August 31, 2015, 09:58:58 AM |
|
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.
|
|
|
|
arnuschky (OP)
|
|
September 02, 2015, 02:19:39 PM |
|
Added bitgo and gem for high-level wallet providers.
|
|
|
|
neutraLTC
Legendary
Offline
Activity: 1492
Merit: 1021
|
|
September 02, 2015, 02:31:09 PM |
|
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.
|
|
|
|
arnuschky (OP)
|
|
September 02, 2015, 06:55:40 PM |
|
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?
|
|
|
|
|
neutraLTC
Legendary
Offline
Activity: 1492
Merit: 1021
|
|
October 01, 2015, 08:55:33 AM |
|
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.
|
|
|
|
|