I am using this code that I got from git, and when I get the BlockChain API response while getting the address from the wallet, the address is enclosed in double quotes like below.
"43Hua8Qz1dj82ddoyLBe448HAXShsuBCAp"
I want to remove these double quotes because it might create syntax errors. But I am not sure how to do it. Please help
This is the code I am using:
$resp = file_get_contents($blockchain_receive_root . "v2/receive?key=" . $my_api_key . "&gap_limit=".$gap_limit. "&callback=" . urlencode($callback_url) . "&xpub=" . $my_xpub);
$response = json_decode($resp);
print json_encode($response->address);
How to remove the quotes?