Skip to content

Commit 2b64fa3

Browse files
committed
Update REST docs with new accessors
1 parent ef7c822 commit 2b64fa3

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

doc/REST-interface.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,20 @@ With the /notxdetails/ option JSON response will only contain the transaction ha
5252
Given a block hash: returns <COUNT> amount of blockheaders in upward direction.
5353
Returns empty if the block doesn't exist or it isn't in the active chain.
5454

55+
#### Blockfilter Headers
56+
`GET /rest/blockfilterheaders/<FILTERTYPE>/<COUNT>/<BLOCK-HASH>.<bin|hex|json>`
57+
58+
Given a block hash: returns <COUNT> amount of blockfilter headers in upward
59+
direction for the filter type <FILTERTYPE>.
60+
Returns empty if the block doesn't exist or it isn't in the active chain.
61+
62+
#### Blockfilters
63+
`GET /rest/blockfilter/<FILTERTYPE>/<BLOCK-HASH>.<bin|hex|json>`
64+
65+
Given a block hash: returns the block filter of the given block of type
66+
<FILTERTYPE>.
67+
Responds with 404 if the block doesn't exist.
68+
5569
#### Blockhash by height
5670
`GET /rest/blockhashbyheight/<HEIGHT>.<bin|hex|json>`
5771

0 commit comments

Comments
 (0)