I’m trying to grab the addresses used in a transaction with PHP and JSON, but I’m having no luck. I’ve need to set a variable in PHP but I can’t seem to actually get the data. I’ve tried:
$newjson = file_get_contents($url); $newobj = json_decode($newjson); echo $newobj['addresses'];
But that doesn’t return anything. Help?