Skip to content

Commit

Permalink
Amend
Browse files Browse the repository at this point in the history
  • Loading branch information
raphjaph committed Dec 23, 2024
1 parent dbd9c23 commit 7454269
Showing 1 changed file with 31 additions and 11 deletions.
42 changes: 31 additions & 11 deletions docs/src/inscriptions/recursion.md
Original file line number Diff line number Diff line change
Expand Up @@ -3210,25 +3210,45 @@ curl -s -H "Accept: application/json" \
</summary>

### Description
Information about an output.

### Example
Information about an output. Depending on which index the server is running the
returned types might be null.

### Examples

Inscriptions only index:

```bash
curl -s -H "Accept: application/json" \
http://0.0.0.0:80/r/output/4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b:0
```

```json
{
"address": "04678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5f",
"indexed": true,
"value": 5000000000,
"address": "", // TODO
"inscriptions": [],
"runes": {},
"sat_ranges": [
[0, 5000000000]
],
"spent": false,
"transaction": "4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b"
"runes": null,
"sat_ranges": null,
"script_pubkey": "", // TODO
"value": 5000000000
}
```

Multiple assets in output:

```bash
curl -s -H "Accept: application/json" \
http://0.0.0.0:80/r/output/4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b:0
```

```json
{
"address": "", // TODO
"inscriptions": [], // TODO
"runes": {}, // TODO
"sat_ranges": [], // TODO
"script_pubkey": "", // TODO
"value": 5000000000
}
```
</details>
Expand Down

0 comments on commit 7454269

Please sign in to comment.