|
|
@ -8,6 +8,7 @@ var Routes = map[string]*rpc.RPCFunc{ |
|
|
|
"status": rpc.NewRPCFunc(Status, []string{}), |
|
|
|
"net_info": rpc.NewRPCFunc(NetInfo, []string{}), |
|
|
|
"blockchain": rpc.NewRPCFunc(BlockchainInfo, []string{"minHeight", "maxHeight"}), |
|
|
|
"genesis": rpc.NewRPCFunc(Genesis, []string{}), |
|
|
|
"get_block": rpc.NewRPCFunc(GetBlock, []string{"height"}), |
|
|
|
"get_account": rpc.NewRPCFunc(GetAccount, []string{"address"}), |
|
|
|
"get_storage": rpc.NewRPCFunc(GetStorage, []string{"address", "key"}), |
|
|
|