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?

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

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.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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