FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

docs: Add API documentation for GET /assets/registry · Blockstream/esplora@c7ffeb3 · GitHub

Commit c7ffeb3

Browse files
committed
docs: Add API documentation for GET /assets/registry
Implemented in Blockstream/electrs@913020b
1 parent b1e574b commit c7ffeb3

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

‎API.md‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,19 @@ Not available for assets with blinded issuances.
328328
If `/decimal` is specified, returns the supply as a decimal according to the asset's divisibility.
329329
Otherwise, returned in base units.
330330

331+
### `GET /assets/registry`
332+
333+
Get the list of issued assets in the asset registry.
334+
335+
Query string parameters:
336+
337+
- `start_index`: the start index to use for paging. defaults to 0.
338+
- `limit`: maximum number of assets to return. defaults to 25, maximum 100.
339+
- `sort_field`: field to sort assets by. one of `name`, `ticker` or `domain`. defaults to `ticker`.
340+
- `sort_dir`: sorting direction. one of `asc` or `desc`. defaults to `asc`.
341+
342+
Assets are returned in the same format as in `GET /asset/:asset_id`.
343+
331344
## Transaction format
332345

333346
- `txid`

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL