fix GetTransactionByBlockHashAndIndex HTTP API path

This commit is contained in:
Nex 2020-07-29 15:58:50 +08:00
parent 59f3e6a248
commit 9cf9fb061b

View File

@ -24,7 +24,7 @@ http:
- selector: bdware.bdledger.api.Query.GetTransactionByHash
get: /v0/ledgers/{ledger}/transaction
- selector: bdware.bdledger.api.Query.GetTransactionByBlockHashAndIndex
get: /v0/ledgers/{ledger}/blocks/{block_hash}/transactions/{index}
get: /v0/ledgers/{ledger}/block/transaction
- selector: bdware.bdledger.api.Query.GetTransactions
post: /v0/ledgers/{ledger}/transactions/query
body: "*"