mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-22 09:12:05 -07:00
fix(Blockbook docs): Fixed typo in blockbook api docs
This commit is contained in:
@@ -261,14 +261,14 @@ async function utxosFromBlockbook(thisAddress) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @api {get} /blockbook/utxo/{addr} Get utxos for a single address.
|
||||
* @api {get} /blockbook/utxos/{addr} Get utxos for a single address.
|
||||
* @apiName UTXOs for a single address
|
||||
* @apiGroup Blockbook
|
||||
* @apiDescription Returns an object with UTXOs associated with an address.
|
||||
*
|
||||
*
|
||||
* @apiExample Example usage:
|
||||
* curl -X GET "https://mainnet.bchjs.cash/v3/blockbook/utxo/bitcoincash:qrdka2205f4hyukutc2g0s6lykperc8nsu5u2ddpqf" -H "accept: application/json"
|
||||
* curl -X GET "https://mainnet.bchjs.cash/v3/blockbook/utxos/bitcoincash:qrdka2205f4hyukutc2g0s6lykperc8nsu5u2ddpqf" -H "accept: application/json"
|
||||
*
|
||||
*/
|
||||
// GET handler for single balance
|
||||
@@ -336,14 +336,14 @@ async function utxosSingle(req, res, next) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @api {post} /blockbook/utxo Get UTXOs for an array of addresses.
|
||||
* @api {post} /blockbook/utxos Get UTXOs for an array of addresses.
|
||||
* @apiName UTXOs for an array of addresses
|
||||
* @apiGroup Blockbook
|
||||
* @apiDescription Return UTXOs associate with an array of addresses.
|
||||
* Limited to 20 items per request.
|
||||
*
|
||||
* @apiExample Example usage:
|
||||
* curl -X POST "https://mainnet.bchjs.cash/v3/blockbook/balance" -H "accept: application/json" -H "Content-Type: application/json" -d '{"addresses":["bitcoincash:qrdka2205f4hyukutc2g0s6lykperc8nsu5u2ddpqf","bitcoincash:qrdka2205f4hyukutc2g0s6lykperc8nsu5u2ddpqf"]}'
|
||||
* curl -X POST "https://mainnet.bchjs.cash/v3/blockbook/utxos" -H "accept: application/json" -H "Content-Type: application/json" -d '{"addresses":["bitcoincash:qrdka2205f4hyukutc2g0s6lykperc8nsu5u2ddpqf","bitcoincash:qrdka2205f4hyukutc2g0s6lykperc8nsu5u2ddpqf"]}'
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user