JungleBus
JungleBus implements the GorillaPool JungleBus REST API as a Protocol subclass.
External docs: JungleBus API documentation
Commands
| Command | Method | Path | Response | Escape hatch |
|---|---|---|---|---|
get_tx | GET | /v1/transaction/get/{txid} | :json | |
get_address_meta | GET | /v1/address/get/{address} | :json_array | |
get_address_txs | GET | /v1/address/transactions/{address} | :json_array | |
get_block_header | GET | /v1/block_header/get/{height} | :json | yes |
get_block_headers | GET | /v1/block_header/list/{height} | :json_array | |
current_height | GET | /v1/block_header/tip | lambda |
Escape Hatches
These commands use custom dispatch logic rather than the default HTTP template.
get_block_header
Block-header escape hatch: normalises JungleBus’s merkleroot field to the canonical merkle_root key. See issue #791 for the cross-protocol rationale.