7
7
license :
8
8
name : GPL 3.0
9
9
url : http://www.gnu.org/licenses/
10
- version : 4.2 .0-release
10
+ version : 4.3 .0-release
11
11
description : >
12
12
A REST layer over the TrueBlocks chifra command line. With `chifra daemon`, you can
13
13
run this on your own machine, and make calls to `localhost`.
@@ -316,16 +316,24 @@ paths:
316
316
explode : true
317
317
schema :
318
318
type : boolean
319
- - name : accounting
320
- description : attach accounting records to the exported data (applies to transactions export only)
319
+ - name : statements
320
+ description : export only statements
321
321
required : false
322
322
style : form
323
323
in : query
324
324
explode : true
325
325
schema :
326
326
type : boolean
327
- - name : statements
328
- description : for the accounting options only, export only statements
327
+ - name : transfers
328
+ description : export only eth or token transfers
329
+ required : false
330
+ style : form
331
+ in : query
332
+ explode : true
333
+ schema :
334
+ type : boolean
335
+ - name : assets
336
+ description : list all assets (with names) that appear in any transfer
329
337
required : false
330
338
style : form
331
339
in : query
@@ -420,6 +428,14 @@ paths:
420
428
items :
421
429
type : string
422
430
format : topic
431
+ - name : nfts
432
+ description : for the --logs option only, filter logs to show only nft transfers
433
+ required : false
434
+ style : form
435
+ in : query
436
+ explode : true
437
+ schema :
438
+ type : boolean
423
439
- name : reverted
424
440
description : export only transactions that were reverted
425
441
required : false
@@ -429,7 +445,7 @@ paths:
429
445
schema :
430
446
type : boolean
431
447
- name : asset
432
- description : for the accounting options only, export statements only for this asset
448
+ description : export transfers, balances, or statements only for this asset
433
449
required : false
434
450
style : form
435
451
in : query
@@ -440,7 +456,7 @@ paths:
440
456
type : string
441
457
format : address
442
458
- name : flow
443
- description : for the accounting options only, export statements with incoming, outgoing, or zero value
459
+ description : export transfers, balances, or statements with incoming, outgoing, or zero value
444
460
required : false
445
461
style : form
446
462
in : query
@@ -501,6 +517,14 @@ paths:
501
517
schema :
502
518
type : number
503
519
format : blknum
520
+ - name : accounting
521
+ description : deprecated option, you may simply remove it
522
+ required : false
523
+ style : form
524
+ in : query
525
+ explode : true
526
+ schema :
527
+ type : boolean
504
528
- name : chain
505
529
description : the chain to use
506
530
required : false
@@ -3242,11 +3266,11 @@ components:
3242
3266
type : string
3243
3267
format : datetime
3244
3268
description : " the timestamp as a date (calculated)"
3245
- assetAddr :
3269
+ asset :
3246
3270
type : string
3247
3271
format : address
3248
3272
description : " 0xeeee...eeee for ETH reconciliations, the token address otherwise"
3249
- assetSymbol :
3273
+ symbol :
3250
3274
type : string
3251
3275
format : string
3252
3276
description : " either ETH, WEI, or the symbol of the asset being reconciled as extracted from the chain"
@@ -3277,19 +3301,15 @@ components:
3277
3301
begBal :
3278
3302
type : string
3279
3303
format : int256
3280
- description : " the beginning balance of the asset prior to the transaction"
3304
+ description : " the on-chain or running beginning balance prior to the transaction (see notes about intra-block reconciliations) "
3281
3305
amountNet :
3282
3306
type : string
3283
3307
format : int256
3284
3308
description : " totalIn - totalOut (calculated)"
3285
3309
endBal :
3286
3310
type : string
3287
3311
format : int256
3288
- description : " the on-chain balance of the asset (see notes about intra-block reconciliations)"
3289
- reconciliationType :
3290
- type : string
3291
- format : string
3292
- description : " one of `regular`, `prevDiff-same`, `same-nextDiff`, or `same-same`. Appended with `eth` or `token` (calculated)"
3312
+ description : " the on-chain or running balance after the transaction (see notes about intra-block reconciliations)"
3293
3313
reconciled :
3294
3314
type : boolean
3295
3315
format : boolean
@@ -3326,10 +3346,18 @@ components:
3326
3346
type : string
3327
3347
format : int256
3328
3348
description : " the uncle reward if the miner who won the uncle block is the accountedFor address"
3329
- correctingIn :
3349
+ correctBegBalIn :
3350
+ type : string
3351
+ format : int256
3352
+ description : " for unreconciled transfers, increase in beginning balance need to match previous balance"
3353
+ correctAmountIn :
3354
+ type : string
3355
+ format : int256
3356
+ description : " for unreconciled transfers, increase in the amount of a transfer"
3357
+ correctEndBalIn :
3330
3358
type : string
3331
3359
format : int256
3332
- description : " for unreconciled token transfers only, the incoming amount needed to correct the transfer so it balances "
3360
+ description : " for unreconciled transfers, increase in ending balance need to match running balance or block balance "
3333
3361
prefundIn :
3334
3362
type : string
3335
3363
format : int256
@@ -3346,10 +3374,18 @@ components:
3346
3374
type : string
3347
3375
format : int256
3348
3376
description : " the value of any internal value transfers out of the accountedFor account"
3349
- correctingOut :
3377
+ correctBegBalOut :
3378
+ type : string
3379
+ format : int256
3380
+ description : " for unreconciled transfers, decrease in beginning balance need to match previous balance"
3381
+ correctAmountOut :
3350
3382
type : string
3351
3383
format : int256
3352
- description : " for unreconciled token transfers only, the outgoing amount needed to correct the transfer so it balances"
3384
+ description : " for unreconciled transfers, decrease in the amount of a transfer"
3385
+ correctEndBalOut :
3386
+ type : string
3387
+ format : int256
3388
+ description : " for unreconciled transfers, decrease in ending balance need to match running balance or block balance"
3353
3389
selfDestructOut :
3354
3390
type : string
3355
3391
format : int256
@@ -3358,10 +3394,6 @@ components:
3358
3394
type : string
3359
3395
format : int256
3360
3396
description : " if the transaction's original sender is the accountedFor address, the amount of gas expended"
3361
- totalOutLessGas :
3362
- type : string
3363
- format : int256
3364
- description : " totalOut - gasOut (calculated)"
3365
3397
prevBal :
3366
3398
type : string
3367
3399
format : int256
@@ -3378,10 +3410,10 @@ components:
3378
3410
type : string
3379
3411
format : int256
3380
3412
description : " begBal + amountNet (calculated)"
3381
- correctingReason :
3413
+ correctingReasons :
3382
3414
type : string
3383
3415
format : string
3384
- description : " the reason for the correcting entries, if any"
3416
+ description : " for unreconciled transfers, the reasons for the correcting entries, if any"
3385
3417
transfer :
3386
3418
description : " a movement of an asset from one address to another (derived from a transaction or a log)"
3387
3419
type : object
0 commit comments