Closed refi93 closed 5 years ago
[ ] move the current endpoints from "/api" prefix to "/api/v2" prefix [ ] put the legacy api under "/api" prefix [ ] port legacy api endpoints following the examples below
legacy api calls that need to be ported with examples:
address summary: https://explorer.cardanolite.com/api/addresses/summary/Ae2tdPwUPEZEswKFNE8x8e1dfx5BhGtbjY2s916EwbUWCHxEjFXdZQjWw3H
transaction summary: http://explorer.cardanolite.com/api/txs/summary/691b3529b207ad3c1c077126b8a941be44a06334ba4d8d11d21d57fbbd349309
raw tx body of transaction http://explorer.cardanolite.com/api/txs/raw/ea9a299210651fe1e4b097fed8ea6031683d0f09543fbe3a4c7f7723ca4fd478
list of utxos (unspent transaction outputs) for addresses: POST http://explorer.cardanolite.com/api/bulk/addresses/utxo example request body:
[ "DdzFFzCqrhsvY5wo8gZTtbZ9yxc6eumih1gNm2grkq8K4UXuenuZJpdwE1jxuCypt2xcdHxSnfCw4fa4U4j3os9Gz7EpRSqyXpsBkD2G", "DdzFFzCqrhsuf6TDWvsH6vmkpfSZFzs1GYY7ZbxRuwRJdKUGLxH2Esmd8jVPap9bbUCwzayyCP8dxTuyg3PWbQx7MbTwxXqmz9kvrqP7", "DdzFFzCqrhsk911VfjGGthTFH8PH1TDjzb8FYQhFWrvPTnMfqw76t6Zv5kAxppdiw52Rgwzymn9qNTzuT2jrZ1cfHVz2hS4XsEcs2qiT", "DdzFFzCqrhsk911VfjGGthTFH8PH1TDjzb8FYQhFWrvPTnMfqw76t6Zv5kAxppdiw52Rgwzymn9qNTzuT2jrZ1cfHVz2hS4XsEcs2qiT" ]
example response:
{ "Right": [ { "tag": "CUtxo", "cuId": "ea9a299210651fe1e4b097fed8ea6031683d0f09543fbe3a4c7f7723ca4fd478", "cuOutIndex": 8, "cuAddress": "DdzFFzCqrhsk911VfjGGthTFH8PH1TDjzb8FYQhFWrvPTnMfqw76t6Zv5kAxppdiw52Rgwzymn9qNTzuT2jrZ1cfHVz2hS4XsEcs2qiT", "cuCoins": { "getCoin": "63587850" } }, { "tag": "CUtxo", "cuId": "ee08752fbe0968980a6b2340ce156a411fc7e57b84a18693bda16fcfdd972d14", "cuOutIndex": 1, "cuAddress": "DdzFFzCqrhsuf6TDWvsH6vmkpfSZFzs1GYY7ZbxRuwRJdKUGLxH2Esmd8jVPap9bbUCwzayyCP8dxTuyg3PWbQx7MbTwxXqmz9kvrqP7", "cuCoins": { "getCoin": "9718666193" } } ] }
closed by #3
[ ] move the current endpoints from "/api" prefix to "/api/v2" prefix [ ] put the legacy api under "/api" prefix [ ] port legacy api endpoints following the examples below
legacy api calls that need to be ported with examples:
address summary: https://explorer.cardanolite.com/api/addresses/summary/Ae2tdPwUPEZEswKFNE8x8e1dfx5BhGtbjY2s916EwbUWCHxEjFXdZQjWw3H
transaction summary: http://explorer.cardanolite.com/api/txs/summary/691b3529b207ad3c1c077126b8a941be44a06334ba4d8d11d21d57fbbd349309
raw tx body of transaction http://explorer.cardanolite.com/api/txs/raw/ea9a299210651fe1e4b097fed8ea6031683d0f09543fbe3a4c7f7723ca4fd478
list of utxos (unspent transaction outputs) for addresses: POST http://explorer.cardanolite.com/api/bulk/addresses/utxo example request body:
example response: