Blockchain.info testnet payment APIs

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?

Zaid Amir

Posted 2018-03-04T09:35:23.187

Reputation: 101

Answers

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.

Adam

Posted 2018-03-04T09:35:23.187

Reputation: 3 215