mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-24 02:01:43 +00:00
rpc: genesis route
This commit is contained in:
@ -8,6 +8,7 @@ var Routes = map[string]*rpc.RPCFunc{
|
|||||||
"status": rpc.NewRPCFunc(Status, []string{}),
|
"status": rpc.NewRPCFunc(Status, []string{}),
|
||||||
"net_info": rpc.NewRPCFunc(NetInfo, []string{}),
|
"net_info": rpc.NewRPCFunc(NetInfo, []string{}),
|
||||||
"blockchain": rpc.NewRPCFunc(BlockchainInfo, []string{"minHeight", "maxHeight"}),
|
"blockchain": rpc.NewRPCFunc(BlockchainInfo, []string{"minHeight", "maxHeight"}),
|
||||||
|
"genesis": rpc.NewRPCFunc(Genesis, []string{}),
|
||||||
"get_block": rpc.NewRPCFunc(GetBlock, []string{"height"}),
|
"get_block": rpc.NewRPCFunc(GetBlock, []string{"height"}),
|
||||||
"get_account": rpc.NewRPCFunc(GetAccount, []string{"address"}),
|
"get_account": rpc.NewRPCFunc(GetAccount, []string{"address"}),
|
||||||
"get_storage": rpc.NewRPCFunc(GetStorage, []string{"address", "key"}),
|
"get_storage": rpc.NewRPCFunc(GetStorage, []string{"address", "key"}),
|
||||||
|
Reference in New Issue
Block a user