Browse Source

rpc: genesis route

pull/81/head
Ethan Buchman 10 years ago
parent
commit
1f6d64b91c
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      rpc/core/routes.go

+ 1
- 0
rpc/core/routes.go View File

@ -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"}),


Loading…
Cancel
Save