The following namespacse contain helpers and models used by the above:

Info.Blockchain.API.Client

Info.Blockchain.API.Data

Info.Blockchain.API.Json

In order to use the Wallet and CreateWallet functionality, you must provide a URL to an instance of service-my-wallet-v3 as first parameter to BlockchainApiHelper.
If you don't intend to use these functionalities, this parameter can be null.

Error handling

All methods may throw exceptions caused by incorrectly passed parameters or other problems. If a call is rejected server-side, the APIException exception will be thrown. Other exceptions may also be thrown by the environment (e.g. no internet connection etc).

Connection timeouts

It is possible to set arbitrary connection timeouts.

// time out after 5 secondsInfo.Blockchain.API.HttpClient.TimeoutMs=5000;

Request limits and API keys

In order to prevent abuse some API methods require an API key approved with some basic contact information and a description of its intended use. Please request an API key here. The API key can be passed to the constructor of the BlockchainHttpClient class, which can be passed to the constructor of all other classes in this library.