Bitcoin
Bitcoin endpoints
Supported methods for Bitcoin. Please note that to use these methods you must specify both the API token, btc
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/btc/mainnet/getAddressBalance
Return the transaction history of the given addresses
Successful response
POST /getAddressesHistory HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Successful response
No content
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
POST /getBlockByHash HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
No content
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
POST /getBlockByNumber HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
No content
Returns the information of any transaction, giving its transaction hash
Response succesfull
POST /getTransaction HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Response succesfull
No content
Returns the information of an array of transaction, giving its transactions hash
Response succesfull
POST /getTransactions HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Response succesfull
No content
Watch an address. Everytime the address changes, a http POST is sent to the URL.
Response succesfull
POST /notify HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Response succesfull
No content
Returns the number of pending or confirmed transactions an address has made
Response succesfull
POST /getAddressTransactionCount HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Response succesfull
No content
Returns the number of pending or confirmed transactions several addresses have made
Response succesfull
POST /getAddressesTransactionCount HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Response succesfull
No content
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.
Response succesfull
POST /getFeePerByte HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Response succesfull
No content
Returns raw schema of any transaction. If verbosity is set to true, transaction object is returned, otherwise raw transaction will be returned
Response succesfull
POST /getTransactionHex HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Response succesfull
No content
Last updated