Cleanup: Query Endpoints
Changes:
-
/tx/out_hashshould cross-ref out to ins -
/tx/in_hash/votershould be/tx/in_hash/signers -
/tx/in_hash/voterreturns duplicate information in.txas.in_tx -
/lastblockis not returning heights for all chains in multichain -
/nodeaccountsrename to/nodesand/node/{node} -
/pool_addressesrename to/inbound_addresses -
/vaultrename to/network(all network-wide information here) - Vaults to return addresses as well as pubkeys
Additions:
- Add
/docto return a swagger file of endpoints (https://gitlab.com/zheye/thorchain-sdk/-/blob/master/openapis/thornode.yml) -> https://gitlab.com/thorchain/thornode/-/blob/master/docs/api/blueprint.apib
Removals:
-
/observers/observer/nodeduplicates/nodeaccountsso remove those two -
/nodeaccountcheckinfo put on/node/{node}endpoint and remove (removejailand put inpreflight_ -
/tsssignerduplicates info that is on{/vault/asgard}.signing_partyso remove
Add one-line comment on all endpoints that describe in plain English what they do.
Edited by THORChain