Search code examples
phpjsonbitcoin

How to extract bitcoin address only from a block in the blockchain


I'm trying to extract the bitcoin address from the blockchain. To be more specific if you go to this link https://blockchain.info/btc/block/1 you would see that the bitcoin address on that block is "12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX"

What is the best way to extract that details using PHP/Json ?


Solution

  • take a look at blockchain.com/api/blockchain_api

    you got everything there.