Bitcoin Cash
Bitcoin cash endpoints
Last updated
Bitcoin cash endpoints
Last updated
Supported methods for Bitcoin Cash. Please note that to use these methods you must specify both the API token, bch
in this case, and the network on which you want to make the call. For example, if you want to know the balance of a Bitcoin Cash address in the main network, the corresponding endpoint is as follows: http://server/bch/mainnet/getAddressBalance
Returns the information of any block giving its hash. If verbosity is 0, it returns a string that is serialized, hex-encoded data for block hash. If verbosity is 1, it returns an object with information about the block. If verbosity is 2, it returns an Object with information about the block and each transaction
Bitcoin block hash
217ba61bc3921764a218f4607a8905108d2dfa4bb8e6e10af61d06e279fa069d
Level of information returned
2
Example: 0
Possible values: Returns the information of any block giving its height. If verbosity is 0, it returns a string that is serialized, hex-encoded data for block hash. If verbosity is 1, it returns an object with information about the block. If verbosity is 2, it returns an Object with information about the block and each transaction
Bitcoin block height. Supports the param latest to get the last block of the chain. The param can be in decimal or hexadecimal format
1
Level of information returned
2
Example: 0
Possible values: Returns the information of any transaction, giving its transaction hash
Bitcoin Cash transaction hash
b66d096bcb068888d4a6987870647ba9c9d2f1da9e360ddafc73efe1f26f2435
Response succesfull
Returns the information of an array of transaction, giving its transactions hash
Bitcoin Cash transaction hash
b66d096bcb068888d4a6987870647ba9c9d2f1da9e360ddafc73efe1f26f2435
Response succesfull
Watch an address. Everytime the address changes, a http POST is sent to the URL.
Bitcoin Cash address
tb1qm0xyymv7s07rn00dcpuk2ln890sr3my3cmpfdp
Endpoint to make callback
http://localhost:8080/path
Response succesfull
Returns the number of pending or confirmed transactions an address has made
Bitcoin Cash address
tb1qm0xyymv7s07rn00dcpuk2ln890sr3my3cmpfdp
Get pending or confirmed transactions
true
Response succesfull
Estimates the approximate fee per kilobyte needed for a transaction to begin confirmation within "confirmations" blocks if possible and return the number of blocks for which the estimate is valid.
Number of confirmations, or -1 if the block is not on the main chain
5
Response succesfull
Returns raw schema of any transaction. If verbosity is set to true, transaction object is returned, otherwise raw transaction will be returned
Bitcoin Cash transaction hash
b66d096bcb068888d4a6987870647ba9c9d2f1da9e360ddafc73efe1f26f2435
Level of information returned
false
Example: false
Response succesfull
Broadcasts a transaction to the network
Raw transaction (Hex format)
01000000000101c0d72dcba53996705fff03465f23b594ec934c29a7645045abe07385a58470a101000000171600140e2c5153cf335a150df44013c4572cd52a70aa8bfdffffff020100000000000000165114391234a573b02814f03ff59673c86b68c2869537091839000000000017a914004863ca1a414c0a174b2666bf067c69524aabd4870247304402201cc95f4683cf0fc46923b1a7f78454adbd57150268ab4960efd3c7df6fc83e22022035917f815bfd80052812b8b1559d314f2459e5876abe9bf1b36f8d4e0dda6e0e012102c379336fce4796dc9bbaa953ef5003e070853b2bf53bdf00b9cfb83e3e1ef84f00000000
Response succesfull