@@ -39,13 +39,16 @@ Recursion has a number of interesting use-cases:
39
39
</summary >
40
40
41
41
### Description
42
- The content of the inscription with ` <INSCRIPTION_ID> `
42
+
43
+ The content of the inscription with ` <INSCRIPTION_ID> ` .
43
44
44
45
### Example
46
+
45
47
``` bash
46
48
curl -s -H " Accept: application/json" \
47
49
http://0.0.0.0:80/content/6fb976ab49dcec017f1e201e84395983204ae1a7c2abf7ced0a85d692e442799i0 > skull.jpg
48
50
```
51
+
49
52
<i >no terminal output, just file creation</i >
50
53
</details >
51
54
@@ -63,6 +66,7 @@ Latest block hash.
63
66
curl -s \
64
67
http://0.0.0.0:80/r/blockhash
65
68
```
69
+
66
70
``` json
67
71
" 00000000000000000002891b440944e0ce40b37b6ccaa138c280e9edfc319d5d"
68
72
```
@@ -75,13 +79,16 @@ curl -s \
75
79
</summary >
76
80
77
81
### Description
82
+
78
83
Block hash at given block height as JSON string.
79
84
80
85
### Example
86
+
81
87
``` bash
82
88
curl -s \
83
89
http://0.0.0.0:80/r/blockhash/840000
84
90
```
91
+
85
92
``` json
86
93
" 0000000000000000000320283a032748cef8227873ff4872689bf23f1cda83a5"
87
94
```
@@ -94,13 +101,16 @@ curl -s \
94
101
</summary >
95
102
96
103
### Description
104
+
97
105
Latest block height.
98
106
99
107
### Example
108
+
100
109
``` bash
101
110
curl -s \
102
111
http://0.0.0.0:80/r/blockheight
103
112
```
113
+
104
114
``` json
105
115
866393
106
116
```
@@ -113,13 +123,16 @@ curl -s \
113
123
</summary >
114
124
115
125
### Description
126
+
116
127
Block info. ` <QUERY> ` may be a block height or block hash.
117
128
118
129
### Example (blockheight)
130
+
119
131
``` bash
120
132
curl -s -H " Accept: application/json" \
121
133
http://0.0.0.0:80/r/blockinfo/0
122
134
```
135
+
123
136
``` json
124
137
{
125
138
"average_fee" : 0 ,
@@ -158,11 +171,14 @@ curl -s -H "Accept: application/json" \
158
171
"version" : 1
159
172
}
160
173
```
174
+
161
175
### Example (blockhash)
176
+
162
177
``` bash
163
178
curl -s -H " Accept: application/json" \
164
179
http://0.0.0.0:80/r/blockinfo/0000000000000000000320283a032748cef8227873ff4872689bf23f1cda83a5
165
180
```
181
+
166
182
``` json
167
183
{
168
184
"average_fee" : 1234031 ,
@@ -213,13 +229,16 @@ curl -s -H "Accept: application/json" \
213
229
</summary >
214
230
215
231
### Description
232
+
216
233
UNIX time stamp of latest block.
217
234
218
235
### Example
236
+
219
237
``` bash
220
238
curl -s \
221
239
http://0.0.0.0:80/r/blocktime
222
240
```
241
+
223
242
``` json
224
243
1729362253
225
244
```
@@ -232,13 +251,16 @@ curl -s \
232
251
</summary >
233
252
234
253
### Description
254
+
235
255
The first 100 child inscription ids.
236
256
237
257
### Example
258
+
238
259
``` bash
239
260
curl -s -H " Accept: application/json" \
240
261
http://0.0.0.0:80/r/children/e317a2a5d68bd1004ae15a06175a319272a10389ff125c98820389edef8b0a94i0
241
262
```
263
+
242
264
``` json
243
265
{
244
266
"ids" : [
@@ -356,13 +378,16 @@ curl -s -H "Accept: application/json" \
356
378
</summary >
357
379
358
380
### Description
381
+
359
382
The set of 100 child inscription ids on ` <PAGE> ` .
360
383
361
384
### Example
385
+
362
386
``` bash
363
387
curl -s -H " Accept: application/json" \
364
388
http://0.0.0.0:80/r/children/e317a2a5d68bd1004ae15a06175a319272a10389ff125c98820389edef8b0a94i0/9
365
389
```
390
+
366
391
``` json
367
392
{
368
393
"ids" : [
@@ -480,13 +505,16 @@ curl -s -H "Accept: application/json" \
480
505
</summary >
481
506
482
507
### Description
508
+
483
509
Details of the first 100 child inscriptions.
484
510
485
511
### Example
512
+
486
513
``` bash
487
514
curl -s -H " Accept: application/json" \
488
515
http://0.0.0.0:80/r/children/e317a2a5d68bd1004ae15a06175a319272a10389ff125c98820389edef8b0a94i0/inscriptions
489
516
```
517
+
490
518
``` json
491
519
{
492
520
"children" : [
@@ -1802,14 +1830,18 @@ curl -s -H "Accept: application/json" \
1802
1830
</summary >
1803
1831
1804
1832
### Description
1833
+
1805
1834
Details of the set of 100 child inscriptions on < ; PAGE> ; .
1806
1835
1807
1836
### Example
1837
+
1808
1838
``` bash
1809
1839
curl -s -H " Accept: application/json" \
1810
1840
http://0.0.0.0:80/r/children/e317a2a5d68bd1004ae15a06175a319272a10389ff125c98820389edef8b0a94i0/inscriptions/9
1811
1841
```
1812
- ``` json{
1842
+
1843
+ ``` json
1844
+ {
1813
1845
"children" : [
1814
1846
{
1815
1847
"charms" : [
@@ -3125,6 +3157,7 @@ curl -s -H "Accept: application/json" \
3125
3157
</summary >
3126
3158
3127
3159
### Description
3160
+
3128
3161
Undelegated content of an inscription.
3129
3162
3130
3163
</details >
@@ -3137,13 +3170,16 @@ Undelegated content of an inscription.
3137
3170
</summary >
3138
3171
3139
3172
### Description
3173
+
3140
3174
Information about an inscription.
3141
3175
3142
3176
### Example
3177
+
3143
3178
``` bash
3144
3179
curl -s -H " Accept: application/json" \
3145
3180
http://0.0.0.0:80/r/inscriptions/13130e4b299ed361f2a734f6433844ef0f0211cd504e0ca8f4d4ab20f51b8127i0
3146
3181
```
3182
+
3147
3183
``` json
3148
3184
{
3149
3185
"charms" : [
@@ -3173,13 +3209,15 @@ curl -s -H "Accept: application/json" \
3173
3209
</summary >
3174
3210
3175
3211
### Description
3212
+
3176
3213
JSON string containing the hex-encoded CBOR metadata.
3177
3214
3178
3215
### Example
3179
3216
``` bash
3180
3217
curl -s -H " Accept: application/json" \
3181
3218
http://0.0.0.0:80/r/metadata/b1ef66c2d1a047cbaa6260b74daac43813924378fe08ef8545da4cb79e8fcf00i0
3182
3219
```
3220
+
3183
3221
``` json
3184
3222
" ac6c50484f544f475241504845526a5041524b4552204441596643414d4552416c43414e4f4e20454f532d31566446494c4d6f4b4f44414b20454b54415220313030644c454e53781a5a4549535320504c414e415220542a2038354d4d20462f312e346d5348555454455220535045454465312f31323568415045525455524563462f38664d4f44454c5318646650484f544f531903e8684c4f434154494f4e774c4f5320414e47454c45532c2043414c49464f524e49416443524557a36a415353495354414e4345826e41524941532042555244454c4c49684e4153204e495858664d414b45555087754544454e2053594d4f4e45204c415454414e5a494f6a4d494d49204d455945526e53414d414e544841204c455052456f4c4953455454452053414e54414e416e4a45535349434120564552474f4e63504f4e724d415941204e414b415241205352554f4348644841495283694a414b4920494348556c4a4f43454c594e2056454741724a4546464552534f4e2054414e475241444966504154524f4e6e434153455920524f4441524d4f52674c4943454e534563434330"
3185
3223
```
@@ -3192,13 +3230,16 @@ curl -s -H "Accept: application/json" \
3192
3230
</summary >
3193
3231
3194
3232
### Description
3233
+
3195
3234
The first 100 parent inscription ids.
3196
3235
3197
3236
### Example
3237
+
3198
3238
``` bash
3199
3239
curl -s -H " Accept: application/json" \
3200
3240
http://0.0.0.0:80/r/parents/b1ef66c2d1a047cbaa6260b74daac43813924378fe08ef8545da4cb79e8fcf00i0
3201
3241
```
3242
+
3202
3243
``` json
3203
3244
{
3204
3245
"ids" : [
@@ -3217,13 +3258,16 @@ curl -s -H "Accept: application/json" \
3217
3258
</summary >
3218
3259
3219
3260
### Description
3261
+
3220
3262
The set of 100 parent inscription ids on ` <PAGE> ` .
3221
3263
3222
3264
### Example
3265
+
3223
3266
``` bash
3224
3267
curl -s -H " Accept: application/json" \
3225
3268
http://0.0.0.0:80/r/parents/b1ef66c2d1a047cbaa6260b74daac43813924378fe08ef8545da4cb79e8fcf00i0/9
3226
3269
```
3270
+
3227
3271
``` json
3228
3272
{
3229
3273
"ids" : [],
@@ -3240,13 +3284,16 @@ curl -s -H "Accept: application/json" \
3240
3284
</summary >
3241
3285
3242
3286
### Description
3287
+
3243
3288
The first 100 inscription ids on a sat. Requires index with ` --index-sats ` flag.
3244
3289
3245
3290
### Example
3291
+
3246
3292
``` bash
3247
3293
curl -s -H " Accept: application/json" \
3248
3294
http://0.0.0.0:80/r/sat/153899938226999
3249
3295
```
3296
+
3250
3297
``` json
3251
3298
{
3252
3299
"ids" : [
@@ -3268,13 +3315,16 @@ curl -s -H "Accept: application/json" \
3268
3315
</summary >
3269
3316
3270
3317
### Description
3318
+
3271
3319
The set of 100 inscription ids on ` <PAGE> ` . Requires index with ` --index-sats ` flag.
3272
3320
3273
3321
### Example
3322
+
3274
3323
``` bash
3275
3324
curl -s -H " Accept: application/json" \
3276
3325
http://0.0.0.0:80/r/sat/1499676120331756/1
3277
3326
```
3327
+
3278
3328
``` json
3279
3329
{
3280
3330
"ids" : [
@@ -3303,13 +3353,16 @@ curl -s -H "Accept: application/json" \
3303
3353
</summary >
3304
3354
3305
3355
### Description
3356
+
3306
3357
The inscription id at ` <INDEX> ` of all inscriptions on a sat. ` <INDEX> ` may be a negative number to index from the back. ` 0 ` being the first and ` -1 ` being the most recent for example. Requires index with ` --index-sats ` flag.
3307
3358
3308
3359
### Example
3360
+
3309
3361
``` bash
3310
3362
curl -s -H " Accept: application/json" \
3311
3363
http://0.0.0.0:80/r/sat/153899938226999/at/-1
3312
3364
```
3365
+
3313
3366
``` json
3314
3367
{
3315
3368
"id" : " 488c32e4dfcdc0fa376c2c2af2d572a12f4d33d3245689d1a9f74167f1e14678i0"
0 commit comments