diff --git a/grpc/pb/bdware/bdledger/api/grpc-gateway.yml b/grpc/pb/bdware/bdledger/api/grpc-gateway.yml index a75c115..4426f16 100644 --- a/grpc/pb/bdware/bdledger/api/grpc-gateway.yml +++ b/grpc/pb/bdware/bdledger/api/grpc-gateway.yml @@ -21,6 +21,8 @@ http: - selector: bdware.bdledger.api.Query.CountBlocks post: /v0/ledgers/{ledger}/blocks/count body: "*" + - selector: bdware.bdledger.api.Query.GetRecentBlocks + get: /v0/ledgers/{ledger}/blocks/recent - selector: bdware.bdledger.api.Query.GetTransactionByHash get: /v0/ledgers/{ledger}/transaction - selector: bdware.bdledger.api.Query.GetTransactionByBlockHashAndIndex