Blockchain as a Service APIs
Common
In the table below you will find the most common blockchain HTTP Requests.
List of supported blockchain values for ${COIN} , where it can be replaced with any each value from the list below:
Bitcoin (BTC), Ethereum (ETH), Litecoin (LTC), Ethereum Classic (ETC), Bitcoin Cash (BCH), Dogecoin (DOGE), Dash (DASH).
Examples:
Bitcoin
GET /v1/bc/btc/${NETWORK}/info
Dash
GET /v1/bc/dash/${NETWORK}/info
Endpoint Name | HTTP Request | Description |
---|---|---|
Blockchain Chain Endpoint | GET /v1/bc/${COIN}/${NETWORK}/info | General information about a blockchain is available by GET-ing the base resource. |
Blockchain Hash Endpoint | GET /v1/bc/${COIN}/${NETWORK}/blocks/${BLOCK_HASH} | Block Hash endpoint gives you detail information for particular block in the blockchain. |
Blockchain Height Endpoint | GET /v1/bc/${COIN}/${NETWORK}/blocks/${BLOCK_HEIGHT} | Block Hash endpoint gives you detail information for particular block in the blockchain, including height. |
Address Endpoint | GET /v1/bc/${COIN}/${NETWORK}/address/${ADDRESS} | Returns more information about an address’ transactions than the Address Balance Endpoint but doesn’t return full transaction information. |
Generate Address Endpoint | POST /v1/bc/${COIN}/${NETWORK}/address | Generate Address endpoint allows you to generate private-public key-pairs along with an associated public address. |
Add Address to Wallet Endpoint | POST /v1/bc/${COIN}/${NETWORK}/wallets/${HD_WALLET_NAME}/addresses | This endpoint allows you to add public addresses to the $WALLET_NAME wallet, by POSTing a partially filled out Wallet object. |
Generate Address in HD Wallet Endpoint | POST /v1/bc/${COIN}/${NETWORK}/wallets/${HD_WALLET_NAME}/addresses/generate | Тhis endpoint allows you to generate a new address associated with the WALLET_NAME wallet. Note: Currently ETH is not included. |
Remove Addresses from Wallet Endpoint | DELETE /v1/bc/${COIN}/${NETWORK}/wallets/{HD_WALLET_NAME}/address/${ADDRESS} | This endpoint allows you to delete an $ADDRESS associated with the WALLET_NAME wallet. Note: Currently ETH is not included. |
Delete Wallet Endpoint | DELETE /v1/bc/${COIN}/${NETWORK}/wallets/${HD_WALLET_NAME} | This endpoint deletes the Wallet with WALLET_NAME. If successful, it will return an error message with no return object. Note: Currently ETH is not included. |
Transaction Hash Endpoint | GET /v1/bc/${COIN}/${NETWORK}/txs/${TX_HASH} | The Transaction Hash Endpoint returns detailed information about a given transaction based on its hash. |
Create a Transaction | POST /v1/bc/${COIN}/${NETWORK}/txs/new | Two-endpoint transaction creation tool, New. |
Create a Transaction | POST /v1/bc/${COIN}/${NETWORK}/txs/send | Two-endpoint transaction creation tool, Send. |