Skip to content

Commit cae5486

Browse files
committed
[REST] added /rest/block/notxdetails/<hash> into REST-interface.md documentation
1 parent 73351c3 commit cae5486

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/REST-interface.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,15 @@ Given a transaction hash,
1111
Returns a transaction, in binary, hex-encoded binary or JSON formats.
1212

1313
`GET /rest/block/BLOCK-HASH.{bin|hex|json}`
14+
`GET /rest/block/notxdetails/BLOCK-HASH.{bin|hex|json}`
1415

1516
Given a block hash,
1617
Returns a block, in binary, hex-encoded binary or JSON formats.
1718

1819
The HTTP request and response are both handled entirely in-memory, thus making maximum memory usage at least 2.66MB (1 MB max block, plus hex encoding) per request.
1920

21+
With the /notxdetails/ option JSON response will only contain the transaction hash instead of the complete transaction details. The option only affects the JSON response.
22+
2023
For full TX query capability, one must enable the transaction index via "txindex=1" command line / configuration option.
2124

2225
Risks

0 commit comments

Comments
 (0)