-1
$blockchain_receive_root = "https://api.blockchain.info/";
$mysite_root = "mysite url";
$secret = "CHANGE_TO_RANDOM_SECRET";
$my_xpub = "CHANGE_TO_XPUB_KEY";
$my_api_key = "CHANGE_TO_API_KEY";

I have api key and xpub key but how to set the random secert key

0

The secret can be anything you want it to be. It's intended to prevent malicious users from running your callback URL manually.

Your callback will do a check similar to:

if ($secret !== "mycoolsecret") { die (); }

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.