blitz_api/app/routers/bitcoin_docs.py
Stefan Stammberger bd38a5ecc2
feat: implement more bitcoin endpoints
- getnetworkinfo
- getbitcoininfo
- gather bitcoin info on change and push via SSE sub
2021-07-09 19:45:29 +02:00

13 lines
548 B
Python

blocks_sub_doc = """
Similar to Bitcoin Core getblock
SSE endpoint to receive new block information as soon as it is appended to chain.
If verbosity is 0, returns a string that is serialized, hex-encoded data for block 'hash'.<br>
If verbosity is 1, returns an Object with information about block <hash>.<br>
If verbosity is 2, returns an Object with information about block <hash> and information about each transaction.<br>
"""
get_bitcoin_info_desc = """
This endpoint returns a combination of various Bitcoin Core calls for easy access.
"""