add HTTP endpoint for Query.GetRecentBlocks
This commit is contained in:
parent
d775b43e96
commit
affc42e963
@ -21,6 +21,8 @@ http:
|
|||||||
- selector: bdware.bdledger.api.Query.CountBlocks
|
- selector: bdware.bdledger.api.Query.CountBlocks
|
||||||
post: /v0/ledgers/{ledger}/blocks/count
|
post: /v0/ledgers/{ledger}/blocks/count
|
||||||
body: "*"
|
body: "*"
|
||||||
|
- selector: bdware.bdledger.api.Query.GetRecentBlocks
|
||||||
|
get: /v0/ledgers/{ledger}/blocks/recent
|
||||||
- selector: bdware.bdledger.api.Query.GetTransactionByHash
|
- selector: bdware.bdledger.api.Query.GetTransactionByHash
|
||||||
get: /v0/ledgers/{ledger}/transaction
|
get: /v0/ledgers/{ledger}/transaction
|
||||||
- selector: bdware.bdledger.api.Query.GetTransactionByBlockHashAndIndex
|
- selector: bdware.bdledger.api.Query.GetTransactionByBlockHashAndIndex
|
||||||
|
Loading…
Reference in New Issue
Block a user