chainrpc: add chainkit RPC service

New endpoints: GetBlock, GetBestBlock, and GetBlockHash.
This commit is contained in:
ffranr committed 2022-12-07 14:50:14 +00:00
1 parent 308e7ce72d
commit 561bf82985
12 files changed
+1450 -7

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
type: google.api.Service
config_version: 3
http:
rules:
- selector: chainrpc.ChainKit.GetBlock
get: "/v2/chainkit/block"
- selector: chainrpc.ChainKit.GetBestBlock
get: "/v2/chainkit/bestblock"
- selector: chainrpc.ChainKit.GetBlockHash
get: "/v2/chainkit/blockhash"