You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "Information about a transaction output being spent",
184
+
"properties": {
185
+
"script_pubkey": {
186
+
"type": "string",
187
+
"description": "The scriptPubKey of the output, hex-encoded",
188
+
"pattern": "^[0-9a-fA-F]*$"
189
+
},
190
+
"amount": {
191
+
"type": "integer",
192
+
"description": "The amount in satoshis",
193
+
"minimum": 0
194
+
}
195
+
},
196
+
"required": [
197
+
"script_pubkey",
198
+
"amount"
199
+
]
200
+
},
201
+
"ContextRefParams": {
202
+
"type": "object",
203
+
"description": "Parameters for methods that take a context reference (btck_context_destroy, btck_chainstate_manager_create)",
204
+
"properties": {
205
+
"context": {
206
+
"type": "string",
207
+
"description": "Context reference"
208
+
}
209
+
},
210
+
"required": [
211
+
"context"
212
+
]
213
+
},
214
+
"ChainstateManagerRefParams": {
215
+
"type": "object",
216
+
"description": "Parameters for methods that take a chainstate manager reference (btck_chainstate_manager_get_active_chain, btck_chainstate_manager_destroy)",
217
+
"properties": {
218
+
"chainstate_manager": {
219
+
"type": "string",
220
+
"description": "Chainstate manager reference"
221
+
}
222
+
},
223
+
"required": [
224
+
"chainstate_manager"
225
+
]
226
+
},
227
+
"ChainstateManagerProcessBlockParams": {
228
+
"type": "object",
229
+
"description": "Parameters for btck_chainstate_manager_process_block method",
230
+
"properties": {
231
+
"chainstate_manager": {
232
+
"type": "string",
233
+
"description": "Chainstate manager reference"
234
+
},
235
+
"block": {
236
+
"type": "string",
237
+
"description": "Block reference from btck_block_create"
238
+
}
239
+
},
240
+
"required": [
241
+
"chainstate_manager",
242
+
"block"
243
+
]
244
+
},
245
+
"ChainQueryParams": {
246
+
"type": "object",
247
+
"description": "Parameters for chain methods (btck_chain_get_height, btck_chain_get_by_height, btck_chain_contains)",
248
+
"properties": {
249
+
"chain": {
250
+
"type": "string",
251
+
"description": "Chain reference from btck_chainstate_manager_get_active_chain"
252
+
},
253
+
"block_height": {
254
+
"type": "integer",
255
+
"description": "Height to query",
256
+
"minimum": 0
257
+
},
258
+
"block_tree_entry": {
259
+
"type": "string",
260
+
"description": "Block tree entry reference to check"
261
+
}
262
+
},
263
+
"required": [
264
+
"chain"
265
+
],
266
+
"oneOf": [
267
+
{
268
+
"properties": {},
269
+
"not": {
270
+
"anyOf": [
271
+
{
272
+
"required": [
273
+
"block_height"
274
+
]
275
+
},
276
+
{
277
+
"required": [
278
+
"block_tree_entry"
279
+
]
280
+
}
281
+
]
282
+
}
283
+
},
284
+
{
285
+
"required": [
286
+
"block_height"
287
+
]
288
+
},
289
+
{
290
+
"required": [
291
+
"block_tree_entry"
292
+
]
293
+
}
294
+
]
295
+
},
296
+
"BlockCreateParams": {
297
+
"type": "object",
298
+
"description": "Parameters for btck_block_create method",
299
+
"properties": {
300
+
"raw_block": {
301
+
"type": "string",
302
+
"description": "Hex-encoded raw block data",
303
+
"pattern": "^[0-9a-fA-F]*$"
304
+
}
305
+
},
306
+
"required": [
307
+
"raw_block"
308
+
]
309
+
},
310
+
"BlockTreeEntryGetBlockHashParams": {
311
+
"type": "object",
312
+
"description": "Parameters for btck_block_tree_entry_get_block_hash method",
313
+
"properties": {
314
+
"block_tree_entry": {
315
+
"type": "string",
316
+
"description": "Block tree entry reference from btck_chain_get_by_height"
0 commit comments