|
|
@ -22,6 +22,7 @@ var Routes = map[string]*rpc.RPCFunc{ |
|
|
|
"block_by_hash": rpc.NewRPCFunc(BlockByHash, "hash"), |
|
|
|
"block_results": rpc.NewRPCFunc(BlockResults, "height"), |
|
|
|
"commit": rpc.NewRPCFunc(Commit, "height"), |
|
|
|
"check_tx": rpc.NewRPCFunc(CheckTx, "tx"), |
|
|
|
"tx": rpc.NewRPCFunc(Tx, "hash,prove"), |
|
|
|
"tx_search": rpc.NewRPCFunc(TxSearch, "query,prove,page,per_page,order_by"), |
|
|
|
"validators": rpc.NewRPCFunc(Validators, "height,page,per_page"), |
|
|
|