2

I am currently working on a project which makes use of the blockchain.info api (php). Could anybody please tell me how to use this api to submit transactions to the network?

2
  • What do you mean with "send data over block chain network"? Are you asking how to submit raw transactions?
    – Murch
    Dec 9, 2015 at 12:12
  • yes exactly same
    – user31070
    Dec 10, 2015 at 15:41

1 Answer 1

3

To broadcast Bitcoin transaction using blockchain.info you have to send a post request to https://blockchain.info/pushtx with tx=yourRawTransaction.

I would suggest you run your own node because you may face some rate limit.

3
  • is there a way to send it to the testnet?
    – ekkis
    Jan 7, 2020 at 7:17
  • Not on blockchain.info, you may do it on your own server or look for some other blockchains.
    – Tailer
    Jan 8, 2020 at 5:39
  • that's shitty. I've found that blockcypher will do it
    – ekkis
    Jan 9, 2020 at 7:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.