0

I have created a testnet wallet on testnet.blockchain.info and added some testnet bitcoins to it.

I want to test the payment APIs so I am following the documentation on how to Generate a receive address. Yet I do not see a way or an URI to register a testnet receive address.

I tried to use it as is and I've put my testnet xpub in the query but I get this error:

{
    "message": "Invalid xpub format",
    "description": "Ensure you provide an xpub key, rather than an address"
}

Anyone had success using blockchain's payment APIs with testnet before?

0

Blockchain.info doesn't support API for Testnet network.

That API Pages for Mainnet network. What you can use blockcypher as an alternative, they're supporting Testnet for bitcoin.

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.