@stacks/blockchain-api-client 9.0.0-next.20 → 9.0.0-next.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/generated/schema.d.ts +393 -207
- package/lib/index.umd.js +3 -3
- package/lib/index.umd.js.map +1 -1
- package/lib/ws/index.js +3 -3
- package/lib/ws/index.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/schema.d.ts +393 -207
- package/src/ws/index.ts +3 -3
|
@@ -469,7 +469,10 @@ export interface paths {
|
|
|
469
469
|
};
|
|
470
470
|
/**
|
|
471
471
|
* Get contract events
|
|
472
|
-
* @
|
|
472
|
+
* @deprecated
|
|
473
|
+
* @description **NOTE:** This endpoint is deprecated in favor of `get_smart_contract_logs`.
|
|
474
|
+
*
|
|
475
|
+
* Retrieves a list of events that have been triggered by a given `contract_id`
|
|
473
476
|
*/
|
|
474
477
|
get: operations["get_contract_events_by_id"];
|
|
475
478
|
put?: never;
|
|
@@ -1225,6 +1228,26 @@ export interface paths {
|
|
|
1225
1228
|
patch?: never;
|
|
1226
1229
|
trace?: never;
|
|
1227
1230
|
};
|
|
1231
|
+
"/extended/v2/blocks/at-time/{timestamp}": {
|
|
1232
|
+
parameters: {
|
|
1233
|
+
query?: never;
|
|
1234
|
+
header?: never;
|
|
1235
|
+
path?: never;
|
|
1236
|
+
cookie?: never;
|
|
1237
|
+
};
|
|
1238
|
+
/**
|
|
1239
|
+
* Get block at time
|
|
1240
|
+
* @description Retrieves the most recent block mined at or before a given Unix timestamp (in seconds)
|
|
1241
|
+
*/
|
|
1242
|
+
get: operations["get_block_at_time"];
|
|
1243
|
+
put?: never;
|
|
1244
|
+
post?: never;
|
|
1245
|
+
delete?: never;
|
|
1246
|
+
options?: never;
|
|
1247
|
+
head?: never;
|
|
1248
|
+
patch?: never;
|
|
1249
|
+
trace?: never;
|
|
1250
|
+
};
|
|
1228
1251
|
"/extended/v2/blocks/{height_or_hash}": {
|
|
1229
1252
|
parameters: {
|
|
1230
1253
|
query?: never;
|
|
@@ -1405,6 +1428,26 @@ export interface paths {
|
|
|
1405
1428
|
patch?: never;
|
|
1406
1429
|
trace?: never;
|
|
1407
1430
|
};
|
|
1431
|
+
"/extended/v2/smart-contracts/{contract_id}/logs": {
|
|
1432
|
+
parameters: {
|
|
1433
|
+
query?: never;
|
|
1434
|
+
header?: never;
|
|
1435
|
+
path?: never;
|
|
1436
|
+
cookie?: never;
|
|
1437
|
+
};
|
|
1438
|
+
/**
|
|
1439
|
+
* Get smart contract logs
|
|
1440
|
+
* @description Retrieves contract log events for a given smart contract.
|
|
1441
|
+
*/
|
|
1442
|
+
get: operations["get_smart_contract_logs"];
|
|
1443
|
+
put?: never;
|
|
1444
|
+
post?: never;
|
|
1445
|
+
delete?: never;
|
|
1446
|
+
options?: never;
|
|
1447
|
+
head?: never;
|
|
1448
|
+
patch?: never;
|
|
1449
|
+
trace?: never;
|
|
1450
|
+
};
|
|
1408
1451
|
"/extended/v2/mempool/fees": {
|
|
1409
1452
|
parameters: {
|
|
1410
1453
|
query?: never;
|
|
@@ -3336,7 +3379,7 @@ export interface operations {
|
|
|
3336
3379
|
content: {
|
|
3337
3380
|
"application/json": {
|
|
3338
3381
|
[key: string]: {
|
|
3339
|
-
/** @
|
|
3382
|
+
/** @enum {boolean} */
|
|
3340
3383
|
found: true;
|
|
3341
3384
|
result: ({
|
|
3342
3385
|
/** @description Transaction ID */
|
|
@@ -3354,39 +3397,39 @@ export interface operations {
|
|
|
3354
3397
|
post_condition_mode: "allow" | "deny" | "originator";
|
|
3355
3398
|
post_conditions: ({
|
|
3356
3399
|
principal: {
|
|
3357
|
-
/** @
|
|
3400
|
+
/** @enum {string} */
|
|
3358
3401
|
type_id: "principal_origin";
|
|
3359
3402
|
} | {
|
|
3360
|
-
/** @
|
|
3403
|
+
/** @enum {string} */
|
|
3361
3404
|
type_id: "principal_standard";
|
|
3362
3405
|
address: string;
|
|
3363
3406
|
} | {
|
|
3364
|
-
/** @
|
|
3407
|
+
/** @enum {string} */
|
|
3365
3408
|
type_id: "principal_contract";
|
|
3366
3409
|
address: string;
|
|
3367
3410
|
contract_name: string;
|
|
3368
3411
|
};
|
|
3369
3412
|
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
3370
3413
|
amount: string;
|
|
3371
|
-
/** @
|
|
3414
|
+
/** @enum {string} */
|
|
3372
3415
|
type: "stx";
|
|
3373
3416
|
} | {
|
|
3374
3417
|
principal: {
|
|
3375
|
-
/** @
|
|
3418
|
+
/** @enum {string} */
|
|
3376
3419
|
type_id: "principal_origin";
|
|
3377
3420
|
} | {
|
|
3378
|
-
/** @
|
|
3421
|
+
/** @enum {string} */
|
|
3379
3422
|
type_id: "principal_standard";
|
|
3380
3423
|
address: string;
|
|
3381
3424
|
} | {
|
|
3382
|
-
/** @
|
|
3425
|
+
/** @enum {string} */
|
|
3383
3426
|
type_id: "principal_contract";
|
|
3384
3427
|
address: string;
|
|
3385
3428
|
contract_name: string;
|
|
3386
3429
|
};
|
|
3387
3430
|
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
3388
3431
|
amount: string;
|
|
3389
|
-
/** @
|
|
3432
|
+
/** @enum {string} */
|
|
3390
3433
|
type: "fungible";
|
|
3391
3434
|
asset: {
|
|
3392
3435
|
asset_name: string;
|
|
@@ -3395,20 +3438,20 @@ export interface operations {
|
|
|
3395
3438
|
};
|
|
3396
3439
|
} | {
|
|
3397
3440
|
principal: {
|
|
3398
|
-
/** @
|
|
3441
|
+
/** @enum {string} */
|
|
3399
3442
|
type_id: "principal_origin";
|
|
3400
3443
|
} | {
|
|
3401
|
-
/** @
|
|
3444
|
+
/** @enum {string} */
|
|
3402
3445
|
type_id: "principal_standard";
|
|
3403
3446
|
address: string;
|
|
3404
3447
|
} | {
|
|
3405
|
-
/** @
|
|
3448
|
+
/** @enum {string} */
|
|
3406
3449
|
type_id: "principal_contract";
|
|
3407
3450
|
address: string;
|
|
3408
3451
|
contract_name: string;
|
|
3409
3452
|
};
|
|
3410
3453
|
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
3411
|
-
/** @
|
|
3454
|
+
/** @enum {string} */
|
|
3412
3455
|
type: "non_fungible";
|
|
3413
3456
|
asset_value: {
|
|
3414
3457
|
hex: string;
|
|
@@ -3479,7 +3522,7 @@ export interface operations {
|
|
|
3479
3522
|
events: (({
|
|
3480
3523
|
event_index: number;
|
|
3481
3524
|
} & {
|
|
3482
|
-
/** @
|
|
3525
|
+
/** @enum {string} */
|
|
3483
3526
|
event_type: "smart_contract_log";
|
|
3484
3527
|
tx_id: string;
|
|
3485
3528
|
contract_log: {
|
|
@@ -3493,7 +3536,7 @@ export interface operations {
|
|
|
3493
3536
|
}) | ({
|
|
3494
3537
|
event_index: number;
|
|
3495
3538
|
} & {
|
|
3496
|
-
/** @
|
|
3539
|
+
/** @enum {string} */
|
|
3497
3540
|
event_type: "stx_lock";
|
|
3498
3541
|
tx_id: string;
|
|
3499
3542
|
stx_lock_event: {
|
|
@@ -3504,7 +3547,7 @@ export interface operations {
|
|
|
3504
3547
|
}) | ({
|
|
3505
3548
|
event_index: number;
|
|
3506
3549
|
} & {
|
|
3507
|
-
/** @
|
|
3550
|
+
/** @enum {string} */
|
|
3508
3551
|
event_type: "stx_asset";
|
|
3509
3552
|
tx_id: string;
|
|
3510
3553
|
asset: {
|
|
@@ -3517,7 +3560,7 @@ export interface operations {
|
|
|
3517
3560
|
}) | ({
|
|
3518
3561
|
event_index: number;
|
|
3519
3562
|
} & {
|
|
3520
|
-
/** @
|
|
3563
|
+
/** @enum {string} */
|
|
3521
3564
|
event_type: "fungible_token_asset";
|
|
3522
3565
|
tx_id: string;
|
|
3523
3566
|
asset: {
|
|
@@ -3530,7 +3573,7 @@ export interface operations {
|
|
|
3530
3573
|
}) | ({
|
|
3531
3574
|
event_index: number;
|
|
3532
3575
|
} & {
|
|
3533
|
-
/** @
|
|
3576
|
+
/** @enum {string} */
|
|
3534
3577
|
event_type: "non_fungible_token_asset";
|
|
3535
3578
|
tx_id: string;
|
|
3536
3579
|
asset: {
|
|
@@ -3544,7 +3587,7 @@ export interface operations {
|
|
|
3544
3587
|
};
|
|
3545
3588
|
};
|
|
3546
3589
|
}))[];
|
|
3547
|
-
/** @
|
|
3590
|
+
/** @enum {string} */
|
|
3548
3591
|
tx_type: "token_transfer";
|
|
3549
3592
|
token_transfer: {
|
|
3550
3593
|
recipient_address: string;
|
|
@@ -3569,39 +3612,39 @@ export interface operations {
|
|
|
3569
3612
|
post_condition_mode: "allow" | "deny" | "originator";
|
|
3570
3613
|
post_conditions: ({
|
|
3571
3614
|
principal: {
|
|
3572
|
-
/** @
|
|
3615
|
+
/** @enum {string} */
|
|
3573
3616
|
type_id: "principal_origin";
|
|
3574
3617
|
} | {
|
|
3575
|
-
/** @
|
|
3618
|
+
/** @enum {string} */
|
|
3576
3619
|
type_id: "principal_standard";
|
|
3577
3620
|
address: string;
|
|
3578
3621
|
} | {
|
|
3579
|
-
/** @
|
|
3622
|
+
/** @enum {string} */
|
|
3580
3623
|
type_id: "principal_contract";
|
|
3581
3624
|
address: string;
|
|
3582
3625
|
contract_name: string;
|
|
3583
3626
|
};
|
|
3584
3627
|
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
3585
3628
|
amount: string;
|
|
3586
|
-
/** @
|
|
3629
|
+
/** @enum {string} */
|
|
3587
3630
|
type: "stx";
|
|
3588
3631
|
} | {
|
|
3589
3632
|
principal: {
|
|
3590
|
-
/** @
|
|
3633
|
+
/** @enum {string} */
|
|
3591
3634
|
type_id: "principal_origin";
|
|
3592
3635
|
} | {
|
|
3593
|
-
/** @
|
|
3636
|
+
/** @enum {string} */
|
|
3594
3637
|
type_id: "principal_standard";
|
|
3595
3638
|
address: string;
|
|
3596
3639
|
} | {
|
|
3597
|
-
/** @
|
|
3640
|
+
/** @enum {string} */
|
|
3598
3641
|
type_id: "principal_contract";
|
|
3599
3642
|
address: string;
|
|
3600
3643
|
contract_name: string;
|
|
3601
3644
|
};
|
|
3602
3645
|
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
3603
3646
|
amount: string;
|
|
3604
|
-
/** @
|
|
3647
|
+
/** @enum {string} */
|
|
3605
3648
|
type: "fungible";
|
|
3606
3649
|
asset: {
|
|
3607
3650
|
asset_name: string;
|
|
@@ -3610,20 +3653,20 @@ export interface operations {
|
|
|
3610
3653
|
};
|
|
3611
3654
|
} | {
|
|
3612
3655
|
principal: {
|
|
3613
|
-
/** @
|
|
3656
|
+
/** @enum {string} */
|
|
3614
3657
|
type_id: "principal_origin";
|
|
3615
3658
|
} | {
|
|
3616
|
-
/** @
|
|
3659
|
+
/** @enum {string} */
|
|
3617
3660
|
type_id: "principal_standard";
|
|
3618
3661
|
address: string;
|
|
3619
3662
|
} | {
|
|
3620
|
-
/** @
|
|
3663
|
+
/** @enum {string} */
|
|
3621
3664
|
type_id: "principal_contract";
|
|
3622
3665
|
address: string;
|
|
3623
3666
|
contract_name: string;
|
|
3624
3667
|
};
|
|
3625
3668
|
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
3626
|
-
/** @
|
|
3669
|
+
/** @enum {string} */
|
|
3627
3670
|
type: "non_fungible";
|
|
3628
3671
|
asset_value: {
|
|
3629
3672
|
hex: string;
|
|
@@ -3694,7 +3737,7 @@ export interface operations {
|
|
|
3694
3737
|
events: (({
|
|
3695
3738
|
event_index: number;
|
|
3696
3739
|
} & {
|
|
3697
|
-
/** @
|
|
3740
|
+
/** @enum {string} */
|
|
3698
3741
|
event_type: "smart_contract_log";
|
|
3699
3742
|
tx_id: string;
|
|
3700
3743
|
contract_log: {
|
|
@@ -3708,7 +3751,7 @@ export interface operations {
|
|
|
3708
3751
|
}) | ({
|
|
3709
3752
|
event_index: number;
|
|
3710
3753
|
} & {
|
|
3711
|
-
/** @
|
|
3754
|
+
/** @enum {string} */
|
|
3712
3755
|
event_type: "stx_lock";
|
|
3713
3756
|
tx_id: string;
|
|
3714
3757
|
stx_lock_event: {
|
|
@@ -3719,7 +3762,7 @@ export interface operations {
|
|
|
3719
3762
|
}) | ({
|
|
3720
3763
|
event_index: number;
|
|
3721
3764
|
} & {
|
|
3722
|
-
/** @
|
|
3765
|
+
/** @enum {string} */
|
|
3723
3766
|
event_type: "stx_asset";
|
|
3724
3767
|
tx_id: string;
|
|
3725
3768
|
asset: {
|
|
@@ -3732,7 +3775,7 @@ export interface operations {
|
|
|
3732
3775
|
}) | ({
|
|
3733
3776
|
event_index: number;
|
|
3734
3777
|
} & {
|
|
3735
|
-
/** @
|
|
3778
|
+
/** @enum {string} */
|
|
3736
3779
|
event_type: "fungible_token_asset";
|
|
3737
3780
|
tx_id: string;
|
|
3738
3781
|
asset: {
|
|
@@ -3745,7 +3788,7 @@ export interface operations {
|
|
|
3745
3788
|
}) | ({
|
|
3746
3789
|
event_index: number;
|
|
3747
3790
|
} & {
|
|
3748
|
-
/** @
|
|
3791
|
+
/** @enum {string} */
|
|
3749
3792
|
event_type: "non_fungible_token_asset";
|
|
3750
3793
|
tx_id: string;
|
|
3751
3794
|
asset: {
|
|
@@ -3759,7 +3802,7 @@ export interface operations {
|
|
|
3759
3802
|
};
|
|
3760
3803
|
};
|
|
3761
3804
|
}))[];
|
|
3762
|
-
/** @
|
|
3805
|
+
/** @enum {string} */
|
|
3763
3806
|
tx_type: "smart_contract";
|
|
3764
3807
|
smart_contract: {
|
|
3765
3808
|
clarity_version: number | null;
|
|
@@ -3784,39 +3827,39 @@ export interface operations {
|
|
|
3784
3827
|
post_condition_mode: "allow" | "deny" | "originator";
|
|
3785
3828
|
post_conditions: ({
|
|
3786
3829
|
principal: {
|
|
3787
|
-
/** @
|
|
3830
|
+
/** @enum {string} */
|
|
3788
3831
|
type_id: "principal_origin";
|
|
3789
3832
|
} | {
|
|
3790
|
-
/** @
|
|
3833
|
+
/** @enum {string} */
|
|
3791
3834
|
type_id: "principal_standard";
|
|
3792
3835
|
address: string;
|
|
3793
3836
|
} | {
|
|
3794
|
-
/** @
|
|
3837
|
+
/** @enum {string} */
|
|
3795
3838
|
type_id: "principal_contract";
|
|
3796
3839
|
address: string;
|
|
3797
3840
|
contract_name: string;
|
|
3798
3841
|
};
|
|
3799
3842
|
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
3800
3843
|
amount: string;
|
|
3801
|
-
/** @
|
|
3844
|
+
/** @enum {string} */
|
|
3802
3845
|
type: "stx";
|
|
3803
3846
|
} | {
|
|
3804
3847
|
principal: {
|
|
3805
|
-
/** @
|
|
3848
|
+
/** @enum {string} */
|
|
3806
3849
|
type_id: "principal_origin";
|
|
3807
3850
|
} | {
|
|
3808
|
-
/** @
|
|
3851
|
+
/** @enum {string} */
|
|
3809
3852
|
type_id: "principal_standard";
|
|
3810
3853
|
address: string;
|
|
3811
3854
|
} | {
|
|
3812
|
-
/** @
|
|
3855
|
+
/** @enum {string} */
|
|
3813
3856
|
type_id: "principal_contract";
|
|
3814
3857
|
address: string;
|
|
3815
3858
|
contract_name: string;
|
|
3816
3859
|
};
|
|
3817
3860
|
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
3818
3861
|
amount: string;
|
|
3819
|
-
/** @
|
|
3862
|
+
/** @enum {string} */
|
|
3820
3863
|
type: "fungible";
|
|
3821
3864
|
asset: {
|
|
3822
3865
|
asset_name: string;
|
|
@@ -3825,20 +3868,20 @@ export interface operations {
|
|
|
3825
3868
|
};
|
|
3826
3869
|
} | {
|
|
3827
3870
|
principal: {
|
|
3828
|
-
/** @
|
|
3871
|
+
/** @enum {string} */
|
|
3829
3872
|
type_id: "principal_origin";
|
|
3830
3873
|
} | {
|
|
3831
|
-
/** @
|
|
3874
|
+
/** @enum {string} */
|
|
3832
3875
|
type_id: "principal_standard";
|
|
3833
3876
|
address: string;
|
|
3834
3877
|
} | {
|
|
3835
|
-
/** @
|
|
3878
|
+
/** @enum {string} */
|
|
3836
3879
|
type_id: "principal_contract";
|
|
3837
3880
|
address: string;
|
|
3838
3881
|
contract_name: string;
|
|
3839
3882
|
};
|
|
3840
3883
|
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
3841
|
-
/** @
|
|
3884
|
+
/** @enum {string} */
|
|
3842
3885
|
type: "non_fungible";
|
|
3843
3886
|
asset_value: {
|
|
3844
3887
|
hex: string;
|
|
@@ -3909,7 +3952,7 @@ export interface operations {
|
|
|
3909
3952
|
events: (({
|
|
3910
3953
|
event_index: number;
|
|
3911
3954
|
} & {
|
|
3912
|
-
/** @
|
|
3955
|
+
/** @enum {string} */
|
|
3913
3956
|
event_type: "smart_contract_log";
|
|
3914
3957
|
tx_id: string;
|
|
3915
3958
|
contract_log: {
|
|
@@ -3923,7 +3966,7 @@ export interface operations {
|
|
|
3923
3966
|
}) | ({
|
|
3924
3967
|
event_index: number;
|
|
3925
3968
|
} & {
|
|
3926
|
-
/** @
|
|
3969
|
+
/** @enum {string} */
|
|
3927
3970
|
event_type: "stx_lock";
|
|
3928
3971
|
tx_id: string;
|
|
3929
3972
|
stx_lock_event: {
|
|
@@ -3934,7 +3977,7 @@ export interface operations {
|
|
|
3934
3977
|
}) | ({
|
|
3935
3978
|
event_index: number;
|
|
3936
3979
|
} & {
|
|
3937
|
-
/** @
|
|
3980
|
+
/** @enum {string} */
|
|
3938
3981
|
event_type: "stx_asset";
|
|
3939
3982
|
tx_id: string;
|
|
3940
3983
|
asset: {
|
|
@@ -3947,7 +3990,7 @@ export interface operations {
|
|
|
3947
3990
|
}) | ({
|
|
3948
3991
|
event_index: number;
|
|
3949
3992
|
} & {
|
|
3950
|
-
/** @
|
|
3993
|
+
/** @enum {string} */
|
|
3951
3994
|
event_type: "fungible_token_asset";
|
|
3952
3995
|
tx_id: string;
|
|
3953
3996
|
asset: {
|
|
@@ -3960,7 +4003,7 @@ export interface operations {
|
|
|
3960
4003
|
}) | ({
|
|
3961
4004
|
event_index: number;
|
|
3962
4005
|
} & {
|
|
3963
|
-
/** @
|
|
4006
|
+
/** @enum {string} */
|
|
3964
4007
|
event_type: "non_fungible_token_asset";
|
|
3965
4008
|
tx_id: string;
|
|
3966
4009
|
asset: {
|
|
@@ -3974,7 +4017,7 @@ export interface operations {
|
|
|
3974
4017
|
};
|
|
3975
4018
|
};
|
|
3976
4019
|
}))[];
|
|
3977
|
-
/** @
|
|
4020
|
+
/** @enum {string} */
|
|
3978
4021
|
tx_type: "contract_call";
|
|
3979
4022
|
contract_call: {
|
|
3980
4023
|
/** @description Contract identifier formatted as `<principaladdress>.<contract_name>` */
|
|
@@ -4006,39 +4049,39 @@ export interface operations {
|
|
|
4006
4049
|
post_condition_mode: "allow" | "deny" | "originator";
|
|
4007
4050
|
post_conditions: ({
|
|
4008
4051
|
principal: {
|
|
4009
|
-
/** @
|
|
4052
|
+
/** @enum {string} */
|
|
4010
4053
|
type_id: "principal_origin";
|
|
4011
4054
|
} | {
|
|
4012
|
-
/** @
|
|
4055
|
+
/** @enum {string} */
|
|
4013
4056
|
type_id: "principal_standard";
|
|
4014
4057
|
address: string;
|
|
4015
4058
|
} | {
|
|
4016
|
-
/** @
|
|
4059
|
+
/** @enum {string} */
|
|
4017
4060
|
type_id: "principal_contract";
|
|
4018
4061
|
address: string;
|
|
4019
4062
|
contract_name: string;
|
|
4020
4063
|
};
|
|
4021
4064
|
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
4022
4065
|
amount: string;
|
|
4023
|
-
/** @
|
|
4066
|
+
/** @enum {string} */
|
|
4024
4067
|
type: "stx";
|
|
4025
4068
|
} | {
|
|
4026
4069
|
principal: {
|
|
4027
|
-
/** @
|
|
4070
|
+
/** @enum {string} */
|
|
4028
4071
|
type_id: "principal_origin";
|
|
4029
4072
|
} | {
|
|
4030
|
-
/** @
|
|
4073
|
+
/** @enum {string} */
|
|
4031
4074
|
type_id: "principal_standard";
|
|
4032
4075
|
address: string;
|
|
4033
4076
|
} | {
|
|
4034
|
-
/** @
|
|
4077
|
+
/** @enum {string} */
|
|
4035
4078
|
type_id: "principal_contract";
|
|
4036
4079
|
address: string;
|
|
4037
4080
|
contract_name: string;
|
|
4038
4081
|
};
|
|
4039
4082
|
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
4040
4083
|
amount: string;
|
|
4041
|
-
/** @
|
|
4084
|
+
/** @enum {string} */
|
|
4042
4085
|
type: "fungible";
|
|
4043
4086
|
asset: {
|
|
4044
4087
|
asset_name: string;
|
|
@@ -4047,20 +4090,20 @@ export interface operations {
|
|
|
4047
4090
|
};
|
|
4048
4091
|
} | {
|
|
4049
4092
|
principal: {
|
|
4050
|
-
/** @
|
|
4093
|
+
/** @enum {string} */
|
|
4051
4094
|
type_id: "principal_origin";
|
|
4052
4095
|
} | {
|
|
4053
|
-
/** @
|
|
4096
|
+
/** @enum {string} */
|
|
4054
4097
|
type_id: "principal_standard";
|
|
4055
4098
|
address: string;
|
|
4056
4099
|
} | {
|
|
4057
|
-
/** @
|
|
4100
|
+
/** @enum {string} */
|
|
4058
4101
|
type_id: "principal_contract";
|
|
4059
4102
|
address: string;
|
|
4060
4103
|
contract_name: string;
|
|
4061
4104
|
};
|
|
4062
4105
|
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
4063
|
-
/** @
|
|
4106
|
+
/** @enum {string} */
|
|
4064
4107
|
type: "non_fungible";
|
|
4065
4108
|
asset_value: {
|
|
4066
4109
|
hex: string;
|
|
@@ -4131,7 +4174,7 @@ export interface operations {
|
|
|
4131
4174
|
events: (({
|
|
4132
4175
|
event_index: number;
|
|
4133
4176
|
} & {
|
|
4134
|
-
/** @
|
|
4177
|
+
/** @enum {string} */
|
|
4135
4178
|
event_type: "smart_contract_log";
|
|
4136
4179
|
tx_id: string;
|
|
4137
4180
|
contract_log: {
|
|
@@ -4145,7 +4188,7 @@ export interface operations {
|
|
|
4145
4188
|
}) | ({
|
|
4146
4189
|
event_index: number;
|
|
4147
4190
|
} & {
|
|
4148
|
-
/** @
|
|
4191
|
+
/** @enum {string} */
|
|
4149
4192
|
event_type: "stx_lock";
|
|
4150
4193
|
tx_id: string;
|
|
4151
4194
|
stx_lock_event: {
|
|
@@ -4156,7 +4199,7 @@ export interface operations {
|
|
|
4156
4199
|
}) | ({
|
|
4157
4200
|
event_index: number;
|
|
4158
4201
|
} & {
|
|
4159
|
-
/** @
|
|
4202
|
+
/** @enum {string} */
|
|
4160
4203
|
event_type: "stx_asset";
|
|
4161
4204
|
tx_id: string;
|
|
4162
4205
|
asset: {
|
|
@@ -4169,7 +4212,7 @@ export interface operations {
|
|
|
4169
4212
|
}) | ({
|
|
4170
4213
|
event_index: number;
|
|
4171
4214
|
} & {
|
|
4172
|
-
/** @
|
|
4215
|
+
/** @enum {string} */
|
|
4173
4216
|
event_type: "fungible_token_asset";
|
|
4174
4217
|
tx_id: string;
|
|
4175
4218
|
asset: {
|
|
@@ -4182,7 +4225,7 @@ export interface operations {
|
|
|
4182
4225
|
}) | ({
|
|
4183
4226
|
event_index: number;
|
|
4184
4227
|
} & {
|
|
4185
|
-
/** @
|
|
4228
|
+
/** @enum {string} */
|
|
4186
4229
|
event_type: "non_fungible_token_asset";
|
|
4187
4230
|
tx_id: string;
|
|
4188
4231
|
asset: {
|
|
@@ -4196,7 +4239,7 @@ export interface operations {
|
|
|
4196
4239
|
};
|
|
4197
4240
|
};
|
|
4198
4241
|
}))[];
|
|
4199
|
-
/** @
|
|
4242
|
+
/** @enum {string} */
|
|
4200
4243
|
tx_type: "poison_microblock";
|
|
4201
4244
|
poison_microblock: {
|
|
4202
4245
|
/** @description Hex encoded microblock header */
|
|
@@ -4220,39 +4263,39 @@ export interface operations {
|
|
|
4220
4263
|
post_condition_mode: "allow" | "deny" | "originator";
|
|
4221
4264
|
post_conditions: ({
|
|
4222
4265
|
principal: {
|
|
4223
|
-
/** @
|
|
4266
|
+
/** @enum {string} */
|
|
4224
4267
|
type_id: "principal_origin";
|
|
4225
4268
|
} | {
|
|
4226
|
-
/** @
|
|
4269
|
+
/** @enum {string} */
|
|
4227
4270
|
type_id: "principal_standard";
|
|
4228
4271
|
address: string;
|
|
4229
4272
|
} | {
|
|
4230
|
-
/** @
|
|
4273
|
+
/** @enum {string} */
|
|
4231
4274
|
type_id: "principal_contract";
|
|
4232
4275
|
address: string;
|
|
4233
4276
|
contract_name: string;
|
|
4234
4277
|
};
|
|
4235
4278
|
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
4236
4279
|
amount: string;
|
|
4237
|
-
/** @
|
|
4280
|
+
/** @enum {string} */
|
|
4238
4281
|
type: "stx";
|
|
4239
4282
|
} | {
|
|
4240
4283
|
principal: {
|
|
4241
|
-
/** @
|
|
4284
|
+
/** @enum {string} */
|
|
4242
4285
|
type_id: "principal_origin";
|
|
4243
4286
|
} | {
|
|
4244
|
-
/** @
|
|
4287
|
+
/** @enum {string} */
|
|
4245
4288
|
type_id: "principal_standard";
|
|
4246
4289
|
address: string;
|
|
4247
4290
|
} | {
|
|
4248
|
-
/** @
|
|
4291
|
+
/** @enum {string} */
|
|
4249
4292
|
type_id: "principal_contract";
|
|
4250
4293
|
address: string;
|
|
4251
4294
|
contract_name: string;
|
|
4252
4295
|
};
|
|
4253
4296
|
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
4254
4297
|
amount: string;
|
|
4255
|
-
/** @
|
|
4298
|
+
/** @enum {string} */
|
|
4256
4299
|
type: "fungible";
|
|
4257
4300
|
asset: {
|
|
4258
4301
|
asset_name: string;
|
|
@@ -4261,20 +4304,20 @@ export interface operations {
|
|
|
4261
4304
|
};
|
|
4262
4305
|
} | {
|
|
4263
4306
|
principal: {
|
|
4264
|
-
/** @
|
|
4307
|
+
/** @enum {string} */
|
|
4265
4308
|
type_id: "principal_origin";
|
|
4266
4309
|
} | {
|
|
4267
|
-
/** @
|
|
4310
|
+
/** @enum {string} */
|
|
4268
4311
|
type_id: "principal_standard";
|
|
4269
4312
|
address: string;
|
|
4270
4313
|
} | {
|
|
4271
|
-
/** @
|
|
4314
|
+
/** @enum {string} */
|
|
4272
4315
|
type_id: "principal_contract";
|
|
4273
4316
|
address: string;
|
|
4274
4317
|
contract_name: string;
|
|
4275
4318
|
};
|
|
4276
4319
|
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
4277
|
-
/** @
|
|
4320
|
+
/** @enum {string} */
|
|
4278
4321
|
type: "non_fungible";
|
|
4279
4322
|
asset_value: {
|
|
4280
4323
|
hex: string;
|
|
@@ -4345,7 +4388,7 @@ export interface operations {
|
|
|
4345
4388
|
events: (({
|
|
4346
4389
|
event_index: number;
|
|
4347
4390
|
} & {
|
|
4348
|
-
/** @
|
|
4391
|
+
/** @enum {string} */
|
|
4349
4392
|
event_type: "smart_contract_log";
|
|
4350
4393
|
tx_id: string;
|
|
4351
4394
|
contract_log: {
|
|
@@ -4359,7 +4402,7 @@ export interface operations {
|
|
|
4359
4402
|
}) | ({
|
|
4360
4403
|
event_index: number;
|
|
4361
4404
|
} & {
|
|
4362
|
-
/** @
|
|
4405
|
+
/** @enum {string} */
|
|
4363
4406
|
event_type: "stx_lock";
|
|
4364
4407
|
tx_id: string;
|
|
4365
4408
|
stx_lock_event: {
|
|
@@ -4370,7 +4413,7 @@ export interface operations {
|
|
|
4370
4413
|
}) | ({
|
|
4371
4414
|
event_index: number;
|
|
4372
4415
|
} & {
|
|
4373
|
-
/** @
|
|
4416
|
+
/** @enum {string} */
|
|
4374
4417
|
event_type: "stx_asset";
|
|
4375
4418
|
tx_id: string;
|
|
4376
4419
|
asset: {
|
|
@@ -4383,7 +4426,7 @@ export interface operations {
|
|
|
4383
4426
|
}) | ({
|
|
4384
4427
|
event_index: number;
|
|
4385
4428
|
} & {
|
|
4386
|
-
/** @
|
|
4429
|
+
/** @enum {string} */
|
|
4387
4430
|
event_type: "fungible_token_asset";
|
|
4388
4431
|
tx_id: string;
|
|
4389
4432
|
asset: {
|
|
@@ -4396,7 +4439,7 @@ export interface operations {
|
|
|
4396
4439
|
}) | ({
|
|
4397
4440
|
event_index: number;
|
|
4398
4441
|
} & {
|
|
4399
|
-
/** @
|
|
4442
|
+
/** @enum {string} */
|
|
4400
4443
|
event_type: "non_fungible_token_asset";
|
|
4401
4444
|
tx_id: string;
|
|
4402
4445
|
asset: {
|
|
@@ -4410,7 +4453,7 @@ export interface operations {
|
|
|
4410
4453
|
};
|
|
4411
4454
|
};
|
|
4412
4455
|
}))[];
|
|
4413
|
-
/** @
|
|
4456
|
+
/** @enum {string} */
|
|
4414
4457
|
tx_type: "coinbase";
|
|
4415
4458
|
coinbase_payload: {
|
|
4416
4459
|
/** @description Hex encoded 32-byte scratch space for block leader's use */
|
|
@@ -4434,39 +4477,39 @@ export interface operations {
|
|
|
4434
4477
|
post_condition_mode: "allow" | "deny" | "originator";
|
|
4435
4478
|
post_conditions: ({
|
|
4436
4479
|
principal: {
|
|
4437
|
-
/** @
|
|
4480
|
+
/** @enum {string} */
|
|
4438
4481
|
type_id: "principal_origin";
|
|
4439
4482
|
} | {
|
|
4440
|
-
/** @
|
|
4483
|
+
/** @enum {string} */
|
|
4441
4484
|
type_id: "principal_standard";
|
|
4442
4485
|
address: string;
|
|
4443
4486
|
} | {
|
|
4444
|
-
/** @
|
|
4487
|
+
/** @enum {string} */
|
|
4445
4488
|
type_id: "principal_contract";
|
|
4446
4489
|
address: string;
|
|
4447
4490
|
contract_name: string;
|
|
4448
4491
|
};
|
|
4449
4492
|
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
4450
4493
|
amount: string;
|
|
4451
|
-
/** @
|
|
4494
|
+
/** @enum {string} */
|
|
4452
4495
|
type: "stx";
|
|
4453
4496
|
} | {
|
|
4454
4497
|
principal: {
|
|
4455
|
-
/** @
|
|
4498
|
+
/** @enum {string} */
|
|
4456
4499
|
type_id: "principal_origin";
|
|
4457
4500
|
} | {
|
|
4458
|
-
/** @
|
|
4501
|
+
/** @enum {string} */
|
|
4459
4502
|
type_id: "principal_standard";
|
|
4460
4503
|
address: string;
|
|
4461
4504
|
} | {
|
|
4462
|
-
/** @
|
|
4505
|
+
/** @enum {string} */
|
|
4463
4506
|
type_id: "principal_contract";
|
|
4464
4507
|
address: string;
|
|
4465
4508
|
contract_name: string;
|
|
4466
4509
|
};
|
|
4467
4510
|
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
4468
4511
|
amount: string;
|
|
4469
|
-
/** @
|
|
4512
|
+
/** @enum {string} */
|
|
4470
4513
|
type: "fungible";
|
|
4471
4514
|
asset: {
|
|
4472
4515
|
asset_name: string;
|
|
@@ -4475,20 +4518,20 @@ export interface operations {
|
|
|
4475
4518
|
};
|
|
4476
4519
|
} | {
|
|
4477
4520
|
principal: {
|
|
4478
|
-
/** @
|
|
4521
|
+
/** @enum {string} */
|
|
4479
4522
|
type_id: "principal_origin";
|
|
4480
4523
|
} | {
|
|
4481
|
-
/** @
|
|
4524
|
+
/** @enum {string} */
|
|
4482
4525
|
type_id: "principal_standard";
|
|
4483
4526
|
address: string;
|
|
4484
4527
|
} | {
|
|
4485
|
-
/** @
|
|
4528
|
+
/** @enum {string} */
|
|
4486
4529
|
type_id: "principal_contract";
|
|
4487
4530
|
address: string;
|
|
4488
4531
|
contract_name: string;
|
|
4489
4532
|
};
|
|
4490
4533
|
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
4491
|
-
/** @
|
|
4534
|
+
/** @enum {string} */
|
|
4492
4535
|
type: "non_fungible";
|
|
4493
4536
|
asset_value: {
|
|
4494
4537
|
hex: string;
|
|
@@ -4559,7 +4602,7 @@ export interface operations {
|
|
|
4559
4602
|
events: (({
|
|
4560
4603
|
event_index: number;
|
|
4561
4604
|
} & {
|
|
4562
|
-
/** @
|
|
4605
|
+
/** @enum {string} */
|
|
4563
4606
|
event_type: "smart_contract_log";
|
|
4564
4607
|
tx_id: string;
|
|
4565
4608
|
contract_log: {
|
|
@@ -4573,7 +4616,7 @@ export interface operations {
|
|
|
4573
4616
|
}) | ({
|
|
4574
4617
|
event_index: number;
|
|
4575
4618
|
} & {
|
|
4576
|
-
/** @
|
|
4619
|
+
/** @enum {string} */
|
|
4577
4620
|
event_type: "stx_lock";
|
|
4578
4621
|
tx_id: string;
|
|
4579
4622
|
stx_lock_event: {
|
|
@@ -4584,7 +4627,7 @@ export interface operations {
|
|
|
4584
4627
|
}) | ({
|
|
4585
4628
|
event_index: number;
|
|
4586
4629
|
} & {
|
|
4587
|
-
/** @
|
|
4630
|
+
/** @enum {string} */
|
|
4588
4631
|
event_type: "stx_asset";
|
|
4589
4632
|
tx_id: string;
|
|
4590
4633
|
asset: {
|
|
@@ -4597,7 +4640,7 @@ export interface operations {
|
|
|
4597
4640
|
}) | ({
|
|
4598
4641
|
event_index: number;
|
|
4599
4642
|
} & {
|
|
4600
|
-
/** @
|
|
4643
|
+
/** @enum {string} */
|
|
4601
4644
|
event_type: "fungible_token_asset";
|
|
4602
4645
|
tx_id: string;
|
|
4603
4646
|
asset: {
|
|
@@ -4610,7 +4653,7 @@ export interface operations {
|
|
|
4610
4653
|
}) | ({
|
|
4611
4654
|
event_index: number;
|
|
4612
4655
|
} & {
|
|
4613
|
-
/** @
|
|
4656
|
+
/** @enum {string} */
|
|
4614
4657
|
event_type: "non_fungible_token_asset";
|
|
4615
4658
|
tx_id: string;
|
|
4616
4659
|
asset: {
|
|
@@ -4624,7 +4667,7 @@ export interface operations {
|
|
|
4624
4667
|
};
|
|
4625
4668
|
};
|
|
4626
4669
|
}))[];
|
|
4627
|
-
/** @
|
|
4670
|
+
/** @enum {string} */
|
|
4628
4671
|
tx_type: "tenure_change";
|
|
4629
4672
|
tenure_change_payload: {
|
|
4630
4673
|
/** @description Consensus hash of this tenure. Corresponds to the sortition in which the miner of this block was chosen. */
|
|
@@ -4658,39 +4701,39 @@ export interface operations {
|
|
|
4658
4701
|
post_condition_mode: "allow" | "deny" | "originator";
|
|
4659
4702
|
post_conditions: ({
|
|
4660
4703
|
principal: {
|
|
4661
|
-
/** @
|
|
4704
|
+
/** @enum {string} */
|
|
4662
4705
|
type_id: "principal_origin";
|
|
4663
4706
|
} | {
|
|
4664
|
-
/** @
|
|
4707
|
+
/** @enum {string} */
|
|
4665
4708
|
type_id: "principal_standard";
|
|
4666
4709
|
address: string;
|
|
4667
4710
|
} | {
|
|
4668
|
-
/** @
|
|
4711
|
+
/** @enum {string} */
|
|
4669
4712
|
type_id: "principal_contract";
|
|
4670
4713
|
address: string;
|
|
4671
4714
|
contract_name: string;
|
|
4672
4715
|
};
|
|
4673
4716
|
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
4674
4717
|
amount: string;
|
|
4675
|
-
/** @
|
|
4718
|
+
/** @enum {string} */
|
|
4676
4719
|
type: "stx";
|
|
4677
4720
|
} | {
|
|
4678
4721
|
principal: {
|
|
4679
|
-
/** @
|
|
4722
|
+
/** @enum {string} */
|
|
4680
4723
|
type_id: "principal_origin";
|
|
4681
4724
|
} | {
|
|
4682
|
-
/** @
|
|
4725
|
+
/** @enum {string} */
|
|
4683
4726
|
type_id: "principal_standard";
|
|
4684
4727
|
address: string;
|
|
4685
4728
|
} | {
|
|
4686
|
-
/** @
|
|
4729
|
+
/** @enum {string} */
|
|
4687
4730
|
type_id: "principal_contract";
|
|
4688
4731
|
address: string;
|
|
4689
4732
|
contract_name: string;
|
|
4690
4733
|
};
|
|
4691
4734
|
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
4692
4735
|
amount: string;
|
|
4693
|
-
/** @
|
|
4736
|
+
/** @enum {string} */
|
|
4694
4737
|
type: "fungible";
|
|
4695
4738
|
asset: {
|
|
4696
4739
|
asset_name: string;
|
|
@@ -4699,20 +4742,20 @@ export interface operations {
|
|
|
4699
4742
|
};
|
|
4700
4743
|
} | {
|
|
4701
4744
|
principal: {
|
|
4702
|
-
/** @
|
|
4745
|
+
/** @enum {string} */
|
|
4703
4746
|
type_id: "principal_origin";
|
|
4704
4747
|
} | {
|
|
4705
|
-
/** @
|
|
4748
|
+
/** @enum {string} */
|
|
4706
4749
|
type_id: "principal_standard";
|
|
4707
4750
|
address: string;
|
|
4708
4751
|
} | {
|
|
4709
|
-
/** @
|
|
4752
|
+
/** @enum {string} */
|
|
4710
4753
|
type_id: "principal_contract";
|
|
4711
4754
|
address: string;
|
|
4712
4755
|
contract_name: string;
|
|
4713
4756
|
};
|
|
4714
4757
|
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
4715
|
-
/** @
|
|
4758
|
+
/** @enum {string} */
|
|
4716
4759
|
type: "non_fungible";
|
|
4717
4760
|
asset_value: {
|
|
4718
4761
|
hex: string;
|
|
@@ -4733,7 +4776,7 @@ export interface operations {
|
|
|
4733
4776
|
receipt_time: number;
|
|
4734
4777
|
/** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */
|
|
4735
4778
|
receipt_time_iso: string;
|
|
4736
|
-
/** @
|
|
4779
|
+
/** @enum {string} */
|
|
4737
4780
|
tx_type: "token_transfer";
|
|
4738
4781
|
token_transfer: {
|
|
4739
4782
|
recipient_address: string;
|
|
@@ -4758,39 +4801,39 @@ export interface operations {
|
|
|
4758
4801
|
post_condition_mode: "allow" | "deny" | "originator";
|
|
4759
4802
|
post_conditions: ({
|
|
4760
4803
|
principal: {
|
|
4761
|
-
/** @
|
|
4804
|
+
/** @enum {string} */
|
|
4762
4805
|
type_id: "principal_origin";
|
|
4763
4806
|
} | {
|
|
4764
|
-
/** @
|
|
4807
|
+
/** @enum {string} */
|
|
4765
4808
|
type_id: "principal_standard";
|
|
4766
4809
|
address: string;
|
|
4767
4810
|
} | {
|
|
4768
|
-
/** @
|
|
4811
|
+
/** @enum {string} */
|
|
4769
4812
|
type_id: "principal_contract";
|
|
4770
4813
|
address: string;
|
|
4771
4814
|
contract_name: string;
|
|
4772
4815
|
};
|
|
4773
4816
|
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
4774
4817
|
amount: string;
|
|
4775
|
-
/** @
|
|
4818
|
+
/** @enum {string} */
|
|
4776
4819
|
type: "stx";
|
|
4777
4820
|
} | {
|
|
4778
4821
|
principal: {
|
|
4779
|
-
/** @
|
|
4822
|
+
/** @enum {string} */
|
|
4780
4823
|
type_id: "principal_origin";
|
|
4781
4824
|
} | {
|
|
4782
|
-
/** @
|
|
4825
|
+
/** @enum {string} */
|
|
4783
4826
|
type_id: "principal_standard";
|
|
4784
4827
|
address: string;
|
|
4785
4828
|
} | {
|
|
4786
|
-
/** @
|
|
4829
|
+
/** @enum {string} */
|
|
4787
4830
|
type_id: "principal_contract";
|
|
4788
4831
|
address: string;
|
|
4789
4832
|
contract_name: string;
|
|
4790
4833
|
};
|
|
4791
4834
|
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
4792
4835
|
amount: string;
|
|
4793
|
-
/** @
|
|
4836
|
+
/** @enum {string} */
|
|
4794
4837
|
type: "fungible";
|
|
4795
4838
|
asset: {
|
|
4796
4839
|
asset_name: string;
|
|
@@ -4799,20 +4842,20 @@ export interface operations {
|
|
|
4799
4842
|
};
|
|
4800
4843
|
} | {
|
|
4801
4844
|
principal: {
|
|
4802
|
-
/** @
|
|
4845
|
+
/** @enum {string} */
|
|
4803
4846
|
type_id: "principal_origin";
|
|
4804
4847
|
} | {
|
|
4805
|
-
/** @
|
|
4848
|
+
/** @enum {string} */
|
|
4806
4849
|
type_id: "principal_standard";
|
|
4807
4850
|
address: string;
|
|
4808
4851
|
} | {
|
|
4809
|
-
/** @
|
|
4852
|
+
/** @enum {string} */
|
|
4810
4853
|
type_id: "principal_contract";
|
|
4811
4854
|
address: string;
|
|
4812
4855
|
contract_name: string;
|
|
4813
4856
|
};
|
|
4814
4857
|
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
4815
|
-
/** @
|
|
4858
|
+
/** @enum {string} */
|
|
4816
4859
|
type: "non_fungible";
|
|
4817
4860
|
asset_value: {
|
|
4818
4861
|
hex: string;
|
|
@@ -4833,7 +4876,7 @@ export interface operations {
|
|
|
4833
4876
|
receipt_time: number;
|
|
4834
4877
|
/** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */
|
|
4835
4878
|
receipt_time_iso: string;
|
|
4836
|
-
/** @
|
|
4879
|
+
/** @enum {string} */
|
|
4837
4880
|
tx_type: "smart_contract";
|
|
4838
4881
|
smart_contract: {
|
|
4839
4882
|
clarity_version: number | null;
|
|
@@ -4858,39 +4901,39 @@ export interface operations {
|
|
|
4858
4901
|
post_condition_mode: "allow" | "deny" | "originator";
|
|
4859
4902
|
post_conditions: ({
|
|
4860
4903
|
principal: {
|
|
4861
|
-
/** @
|
|
4904
|
+
/** @enum {string} */
|
|
4862
4905
|
type_id: "principal_origin";
|
|
4863
4906
|
} | {
|
|
4864
|
-
/** @
|
|
4907
|
+
/** @enum {string} */
|
|
4865
4908
|
type_id: "principal_standard";
|
|
4866
4909
|
address: string;
|
|
4867
4910
|
} | {
|
|
4868
|
-
/** @
|
|
4911
|
+
/** @enum {string} */
|
|
4869
4912
|
type_id: "principal_contract";
|
|
4870
4913
|
address: string;
|
|
4871
4914
|
contract_name: string;
|
|
4872
4915
|
};
|
|
4873
4916
|
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
4874
4917
|
amount: string;
|
|
4875
|
-
/** @
|
|
4918
|
+
/** @enum {string} */
|
|
4876
4919
|
type: "stx";
|
|
4877
4920
|
} | {
|
|
4878
4921
|
principal: {
|
|
4879
|
-
/** @
|
|
4922
|
+
/** @enum {string} */
|
|
4880
4923
|
type_id: "principal_origin";
|
|
4881
4924
|
} | {
|
|
4882
|
-
/** @
|
|
4925
|
+
/** @enum {string} */
|
|
4883
4926
|
type_id: "principal_standard";
|
|
4884
4927
|
address: string;
|
|
4885
4928
|
} | {
|
|
4886
|
-
/** @
|
|
4929
|
+
/** @enum {string} */
|
|
4887
4930
|
type_id: "principal_contract";
|
|
4888
4931
|
address: string;
|
|
4889
4932
|
contract_name: string;
|
|
4890
4933
|
};
|
|
4891
4934
|
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
4892
4935
|
amount: string;
|
|
4893
|
-
/** @
|
|
4936
|
+
/** @enum {string} */
|
|
4894
4937
|
type: "fungible";
|
|
4895
4938
|
asset: {
|
|
4896
4939
|
asset_name: string;
|
|
@@ -4899,20 +4942,20 @@ export interface operations {
|
|
|
4899
4942
|
};
|
|
4900
4943
|
} | {
|
|
4901
4944
|
principal: {
|
|
4902
|
-
/** @
|
|
4945
|
+
/** @enum {string} */
|
|
4903
4946
|
type_id: "principal_origin";
|
|
4904
4947
|
} | {
|
|
4905
|
-
/** @
|
|
4948
|
+
/** @enum {string} */
|
|
4906
4949
|
type_id: "principal_standard";
|
|
4907
4950
|
address: string;
|
|
4908
4951
|
} | {
|
|
4909
|
-
/** @
|
|
4952
|
+
/** @enum {string} */
|
|
4910
4953
|
type_id: "principal_contract";
|
|
4911
4954
|
address: string;
|
|
4912
4955
|
contract_name: string;
|
|
4913
4956
|
};
|
|
4914
4957
|
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
4915
|
-
/** @
|
|
4958
|
+
/** @enum {string} */
|
|
4916
4959
|
type: "non_fungible";
|
|
4917
4960
|
asset_value: {
|
|
4918
4961
|
hex: string;
|
|
@@ -4933,7 +4976,7 @@ export interface operations {
|
|
|
4933
4976
|
receipt_time: number;
|
|
4934
4977
|
/** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */
|
|
4935
4978
|
receipt_time_iso: string;
|
|
4936
|
-
/** @
|
|
4979
|
+
/** @enum {string} */
|
|
4937
4980
|
tx_type: "contract_call";
|
|
4938
4981
|
contract_call: {
|
|
4939
4982
|
/** @description Contract identifier formatted as `<principaladdress>.<contract_name>` */
|
|
@@ -4965,39 +5008,39 @@ export interface operations {
|
|
|
4965
5008
|
post_condition_mode: "allow" | "deny" | "originator";
|
|
4966
5009
|
post_conditions: ({
|
|
4967
5010
|
principal: {
|
|
4968
|
-
/** @
|
|
5011
|
+
/** @enum {string} */
|
|
4969
5012
|
type_id: "principal_origin";
|
|
4970
5013
|
} | {
|
|
4971
|
-
/** @
|
|
5014
|
+
/** @enum {string} */
|
|
4972
5015
|
type_id: "principal_standard";
|
|
4973
5016
|
address: string;
|
|
4974
5017
|
} | {
|
|
4975
|
-
/** @
|
|
5018
|
+
/** @enum {string} */
|
|
4976
5019
|
type_id: "principal_contract";
|
|
4977
5020
|
address: string;
|
|
4978
5021
|
contract_name: string;
|
|
4979
5022
|
};
|
|
4980
5023
|
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
4981
5024
|
amount: string;
|
|
4982
|
-
/** @
|
|
5025
|
+
/** @enum {string} */
|
|
4983
5026
|
type: "stx";
|
|
4984
5027
|
} | {
|
|
4985
5028
|
principal: {
|
|
4986
|
-
/** @
|
|
5029
|
+
/** @enum {string} */
|
|
4987
5030
|
type_id: "principal_origin";
|
|
4988
5031
|
} | {
|
|
4989
|
-
/** @
|
|
5032
|
+
/** @enum {string} */
|
|
4990
5033
|
type_id: "principal_standard";
|
|
4991
5034
|
address: string;
|
|
4992
5035
|
} | {
|
|
4993
|
-
/** @
|
|
5036
|
+
/** @enum {string} */
|
|
4994
5037
|
type_id: "principal_contract";
|
|
4995
5038
|
address: string;
|
|
4996
5039
|
contract_name: string;
|
|
4997
5040
|
};
|
|
4998
5041
|
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
4999
5042
|
amount: string;
|
|
5000
|
-
/** @
|
|
5043
|
+
/** @enum {string} */
|
|
5001
5044
|
type: "fungible";
|
|
5002
5045
|
asset: {
|
|
5003
5046
|
asset_name: string;
|
|
@@ -5006,20 +5049,20 @@ export interface operations {
|
|
|
5006
5049
|
};
|
|
5007
5050
|
} | {
|
|
5008
5051
|
principal: {
|
|
5009
|
-
/** @
|
|
5052
|
+
/** @enum {string} */
|
|
5010
5053
|
type_id: "principal_origin";
|
|
5011
5054
|
} | {
|
|
5012
|
-
/** @
|
|
5055
|
+
/** @enum {string} */
|
|
5013
5056
|
type_id: "principal_standard";
|
|
5014
5057
|
address: string;
|
|
5015
5058
|
} | {
|
|
5016
|
-
/** @
|
|
5059
|
+
/** @enum {string} */
|
|
5017
5060
|
type_id: "principal_contract";
|
|
5018
5061
|
address: string;
|
|
5019
5062
|
contract_name: string;
|
|
5020
5063
|
};
|
|
5021
5064
|
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
5022
|
-
/** @
|
|
5065
|
+
/** @enum {string} */
|
|
5023
5066
|
type: "non_fungible";
|
|
5024
5067
|
asset_value: {
|
|
5025
5068
|
hex: string;
|
|
@@ -5040,7 +5083,7 @@ export interface operations {
|
|
|
5040
5083
|
receipt_time: number;
|
|
5041
5084
|
/** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */
|
|
5042
5085
|
receipt_time_iso: string;
|
|
5043
|
-
/** @
|
|
5086
|
+
/** @enum {string} */
|
|
5044
5087
|
tx_type: "poison_microblock";
|
|
5045
5088
|
poison_microblock: {
|
|
5046
5089
|
/** @description Hex encoded microblock header */
|
|
@@ -5064,39 +5107,39 @@ export interface operations {
|
|
|
5064
5107
|
post_condition_mode: "allow" | "deny" | "originator";
|
|
5065
5108
|
post_conditions: ({
|
|
5066
5109
|
principal: {
|
|
5067
|
-
/** @
|
|
5110
|
+
/** @enum {string} */
|
|
5068
5111
|
type_id: "principal_origin";
|
|
5069
5112
|
} | {
|
|
5070
|
-
/** @
|
|
5113
|
+
/** @enum {string} */
|
|
5071
5114
|
type_id: "principal_standard";
|
|
5072
5115
|
address: string;
|
|
5073
5116
|
} | {
|
|
5074
|
-
/** @
|
|
5117
|
+
/** @enum {string} */
|
|
5075
5118
|
type_id: "principal_contract";
|
|
5076
5119
|
address: string;
|
|
5077
5120
|
contract_name: string;
|
|
5078
5121
|
};
|
|
5079
5122
|
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
5080
5123
|
amount: string;
|
|
5081
|
-
/** @
|
|
5124
|
+
/** @enum {string} */
|
|
5082
5125
|
type: "stx";
|
|
5083
5126
|
} | {
|
|
5084
5127
|
principal: {
|
|
5085
|
-
/** @
|
|
5128
|
+
/** @enum {string} */
|
|
5086
5129
|
type_id: "principal_origin";
|
|
5087
5130
|
} | {
|
|
5088
|
-
/** @
|
|
5131
|
+
/** @enum {string} */
|
|
5089
5132
|
type_id: "principal_standard";
|
|
5090
5133
|
address: string;
|
|
5091
5134
|
} | {
|
|
5092
|
-
/** @
|
|
5135
|
+
/** @enum {string} */
|
|
5093
5136
|
type_id: "principal_contract";
|
|
5094
5137
|
address: string;
|
|
5095
5138
|
contract_name: string;
|
|
5096
5139
|
};
|
|
5097
5140
|
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
5098
5141
|
amount: string;
|
|
5099
|
-
/** @
|
|
5142
|
+
/** @enum {string} */
|
|
5100
5143
|
type: "fungible";
|
|
5101
5144
|
asset: {
|
|
5102
5145
|
asset_name: string;
|
|
@@ -5105,20 +5148,20 @@ export interface operations {
|
|
|
5105
5148
|
};
|
|
5106
5149
|
} | {
|
|
5107
5150
|
principal: {
|
|
5108
|
-
/** @
|
|
5151
|
+
/** @enum {string} */
|
|
5109
5152
|
type_id: "principal_origin";
|
|
5110
5153
|
} | {
|
|
5111
|
-
/** @
|
|
5154
|
+
/** @enum {string} */
|
|
5112
5155
|
type_id: "principal_standard";
|
|
5113
5156
|
address: string;
|
|
5114
5157
|
} | {
|
|
5115
|
-
/** @
|
|
5158
|
+
/** @enum {string} */
|
|
5116
5159
|
type_id: "principal_contract";
|
|
5117
5160
|
address: string;
|
|
5118
5161
|
contract_name: string;
|
|
5119
5162
|
};
|
|
5120
5163
|
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
5121
|
-
/** @
|
|
5164
|
+
/** @enum {string} */
|
|
5122
5165
|
type: "non_fungible";
|
|
5123
5166
|
asset_value: {
|
|
5124
5167
|
hex: string;
|
|
@@ -5139,7 +5182,7 @@ export interface operations {
|
|
|
5139
5182
|
receipt_time: number;
|
|
5140
5183
|
/** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */
|
|
5141
5184
|
receipt_time_iso: string;
|
|
5142
|
-
/** @
|
|
5185
|
+
/** @enum {string} */
|
|
5143
5186
|
tx_type: "coinbase";
|
|
5144
5187
|
coinbase_payload: {
|
|
5145
5188
|
/** @description Hex encoded 32-byte scratch space for block leader's use */
|
|
@@ -5163,39 +5206,39 @@ export interface operations {
|
|
|
5163
5206
|
post_condition_mode: "allow" | "deny" | "originator";
|
|
5164
5207
|
post_conditions: ({
|
|
5165
5208
|
principal: {
|
|
5166
|
-
/** @
|
|
5209
|
+
/** @enum {string} */
|
|
5167
5210
|
type_id: "principal_origin";
|
|
5168
5211
|
} | {
|
|
5169
|
-
/** @
|
|
5212
|
+
/** @enum {string} */
|
|
5170
5213
|
type_id: "principal_standard";
|
|
5171
5214
|
address: string;
|
|
5172
5215
|
} | {
|
|
5173
|
-
/** @
|
|
5216
|
+
/** @enum {string} */
|
|
5174
5217
|
type_id: "principal_contract";
|
|
5175
5218
|
address: string;
|
|
5176
5219
|
contract_name: string;
|
|
5177
5220
|
};
|
|
5178
5221
|
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
5179
5222
|
amount: string;
|
|
5180
|
-
/** @
|
|
5223
|
+
/** @enum {string} */
|
|
5181
5224
|
type: "stx";
|
|
5182
5225
|
} | {
|
|
5183
5226
|
principal: {
|
|
5184
|
-
/** @
|
|
5227
|
+
/** @enum {string} */
|
|
5185
5228
|
type_id: "principal_origin";
|
|
5186
5229
|
} | {
|
|
5187
|
-
/** @
|
|
5230
|
+
/** @enum {string} */
|
|
5188
5231
|
type_id: "principal_standard";
|
|
5189
5232
|
address: string;
|
|
5190
5233
|
} | {
|
|
5191
|
-
/** @
|
|
5234
|
+
/** @enum {string} */
|
|
5192
5235
|
type_id: "principal_contract";
|
|
5193
5236
|
address: string;
|
|
5194
5237
|
contract_name: string;
|
|
5195
5238
|
};
|
|
5196
5239
|
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
5197
5240
|
amount: string;
|
|
5198
|
-
/** @
|
|
5241
|
+
/** @enum {string} */
|
|
5199
5242
|
type: "fungible";
|
|
5200
5243
|
asset: {
|
|
5201
5244
|
asset_name: string;
|
|
@@ -5204,20 +5247,20 @@ export interface operations {
|
|
|
5204
5247
|
};
|
|
5205
5248
|
} | {
|
|
5206
5249
|
principal: {
|
|
5207
|
-
/** @
|
|
5250
|
+
/** @enum {string} */
|
|
5208
5251
|
type_id: "principal_origin";
|
|
5209
5252
|
} | {
|
|
5210
|
-
/** @
|
|
5253
|
+
/** @enum {string} */
|
|
5211
5254
|
type_id: "principal_standard";
|
|
5212
5255
|
address: string;
|
|
5213
5256
|
} | {
|
|
5214
|
-
/** @
|
|
5257
|
+
/** @enum {string} */
|
|
5215
5258
|
type_id: "principal_contract";
|
|
5216
5259
|
address: string;
|
|
5217
5260
|
contract_name: string;
|
|
5218
5261
|
};
|
|
5219
5262
|
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
5220
|
-
/** @
|
|
5263
|
+
/** @enum {string} */
|
|
5221
5264
|
type: "non_fungible";
|
|
5222
5265
|
asset_value: {
|
|
5223
5266
|
hex: string;
|
|
@@ -5238,7 +5281,7 @@ export interface operations {
|
|
|
5238
5281
|
receipt_time: number;
|
|
5239
5282
|
/** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */
|
|
5240
5283
|
receipt_time_iso: string;
|
|
5241
|
-
/** @
|
|
5284
|
+
/** @enum {string} */
|
|
5242
5285
|
tx_type: "tenure_change";
|
|
5243
5286
|
tenure_change_payload: {
|
|
5244
5287
|
/** @description Consensus hash of this tenure. Corresponds to the sortition in which the miner of this block was chosen. */
|
|
@@ -5258,7 +5301,7 @@ export interface operations {
|
|
|
5258
5301
|
};
|
|
5259
5302
|
});
|
|
5260
5303
|
} | {
|
|
5261
|
-
/** @
|
|
5304
|
+
/** @enum {boolean} */
|
|
5262
5305
|
found: false;
|
|
5263
5306
|
result: {
|
|
5264
5307
|
tx_id: string;
|
|
@@ -10963,9 +11006,7 @@ export interface operations {
|
|
|
10963
11006
|
[name: string]: unknown;
|
|
10964
11007
|
};
|
|
10965
11008
|
content: {
|
|
10966
|
-
"
|
|
10967
|
-
content?: unknown;
|
|
10968
|
-
};
|
|
11009
|
+
"text/plain": string;
|
|
10969
11010
|
};
|
|
10970
11011
|
};
|
|
10971
11012
|
/** @description Default Response */
|
|
@@ -10999,9 +11040,7 @@ export interface operations {
|
|
|
10999
11040
|
[name: string]: unknown;
|
|
11000
11041
|
};
|
|
11001
11042
|
content: {
|
|
11002
|
-
"
|
|
11003
|
-
content?: unknown;
|
|
11004
|
-
};
|
|
11043
|
+
"text/plain": string;
|
|
11005
11044
|
};
|
|
11006
11045
|
};
|
|
11007
11046
|
/** @description Default Response */
|
|
@@ -27257,7 +27296,7 @@ export interface operations {
|
|
|
27257
27296
|
path?: never;
|
|
27258
27297
|
cookie?: never;
|
|
27259
27298
|
};
|
|
27260
|
-
requestBody
|
|
27299
|
+
requestBody: {
|
|
27261
27300
|
content: {
|
|
27262
27301
|
"application/json": {
|
|
27263
27302
|
/** @description A valid regtest BTC address */
|
|
@@ -27359,7 +27398,7 @@ export interface operations {
|
|
|
27359
27398
|
path?: never;
|
|
27360
27399
|
cookie?: never;
|
|
27361
27400
|
};
|
|
27362
|
-
requestBody
|
|
27401
|
+
requestBody: {
|
|
27363
27402
|
content: {
|
|
27364
27403
|
"application/json": {
|
|
27365
27404
|
/** @description [Deprecated -- use query param rather than POST body] A valid testnet STX address */
|
|
@@ -27543,6 +27582,87 @@ export interface operations {
|
|
|
27543
27582
|
};
|
|
27544
27583
|
};
|
|
27545
27584
|
};
|
|
27585
|
+
get_block_at_time: {
|
|
27586
|
+
parameters: {
|
|
27587
|
+
query?: never;
|
|
27588
|
+
header?: never;
|
|
27589
|
+
path: {
|
|
27590
|
+
/**
|
|
27591
|
+
* @description Unix timestamp (in seconds)
|
|
27592
|
+
* @example 1677731361
|
|
27593
|
+
*/
|
|
27594
|
+
timestamp: number;
|
|
27595
|
+
};
|
|
27596
|
+
cookie?: never;
|
|
27597
|
+
};
|
|
27598
|
+
requestBody?: never;
|
|
27599
|
+
responses: {
|
|
27600
|
+
/** @description Default Response */
|
|
27601
|
+
200: {
|
|
27602
|
+
headers: {
|
|
27603
|
+
[name: string]: unknown;
|
|
27604
|
+
};
|
|
27605
|
+
content: {
|
|
27606
|
+
"application/json": {
|
|
27607
|
+
/** @description Set to `true` if block corresponds to the canonical chain tip */
|
|
27608
|
+
canonical: boolean;
|
|
27609
|
+
/** @description Height of the block */
|
|
27610
|
+
height: number;
|
|
27611
|
+
/** @description Hash representing the block */
|
|
27612
|
+
hash: string;
|
|
27613
|
+
/** @description Unix timestamp (in seconds) indicating when this block was mined. */
|
|
27614
|
+
block_time: number;
|
|
27615
|
+
/** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */
|
|
27616
|
+
block_time_iso: string;
|
|
27617
|
+
/** @description The tenure height (AKA coinbase height) of this block */
|
|
27618
|
+
tenure_height: number;
|
|
27619
|
+
/** @description The only hash that can uniquely identify an anchored block or an unconfirmed state trie */
|
|
27620
|
+
index_block_hash: string;
|
|
27621
|
+
/** @description Hash of the parent block */
|
|
27622
|
+
parent_block_hash: string;
|
|
27623
|
+
/** @description Index block hash of the parent block */
|
|
27624
|
+
parent_index_block_hash: string;
|
|
27625
|
+
/** @description Unix timestamp (in seconds) indicating when this block was mined. */
|
|
27626
|
+
burn_block_time: number;
|
|
27627
|
+
/** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined. */
|
|
27628
|
+
burn_block_time_iso: string;
|
|
27629
|
+
/** @description Hash of the anchor chain block */
|
|
27630
|
+
burn_block_hash: string;
|
|
27631
|
+
/** @description Height of the anchor chain block */
|
|
27632
|
+
burn_block_height: number;
|
|
27633
|
+
/** @description Anchor chain transaction ID */
|
|
27634
|
+
miner_txid: string;
|
|
27635
|
+
/** @description Number of transactions included in the block */
|
|
27636
|
+
tx_count: number;
|
|
27637
|
+
/** @description Execution cost read count. */
|
|
27638
|
+
execution_cost_read_count: number;
|
|
27639
|
+
/** @description Execution cost read length. */
|
|
27640
|
+
execution_cost_read_length: number;
|
|
27641
|
+
/** @description Execution cost runtime. */
|
|
27642
|
+
execution_cost_runtime: number;
|
|
27643
|
+
/** @description Execution cost write count. */
|
|
27644
|
+
execution_cost_write_count: number;
|
|
27645
|
+
/** @description Execution cost write length. */
|
|
27646
|
+
execution_cost_write_length: number;
|
|
27647
|
+
};
|
|
27648
|
+
};
|
|
27649
|
+
};
|
|
27650
|
+
/** @description Default Response */
|
|
27651
|
+
"4XX": {
|
|
27652
|
+
headers: {
|
|
27653
|
+
[name: string]: unknown;
|
|
27654
|
+
};
|
|
27655
|
+
content: {
|
|
27656
|
+
"application/json": {
|
|
27657
|
+
error: string;
|
|
27658
|
+
message?: string;
|
|
27659
|
+
} & {
|
|
27660
|
+
[key: string]: unknown;
|
|
27661
|
+
};
|
|
27662
|
+
};
|
|
27663
|
+
};
|
|
27664
|
+
};
|
|
27665
|
+
};
|
|
27546
27666
|
get_block: {
|
|
27547
27667
|
parameters: {
|
|
27548
27668
|
query?: never;
|
|
@@ -29405,7 +29525,7 @@ export interface operations {
|
|
|
29405
29525
|
content: {
|
|
29406
29526
|
"application/json": {
|
|
29407
29527
|
[key: string]: {
|
|
29408
|
-
/** @
|
|
29528
|
+
/** @enum {boolean} */
|
|
29409
29529
|
found: true;
|
|
29410
29530
|
result: {
|
|
29411
29531
|
/** @description Smart contract deployment transaction status */
|
|
@@ -29418,7 +29538,7 @@ export interface operations {
|
|
|
29418
29538
|
block_height?: number;
|
|
29419
29539
|
};
|
|
29420
29540
|
} | {
|
|
29421
|
-
/** @
|
|
29541
|
+
/** @enum {boolean} */
|
|
29422
29542
|
found: false;
|
|
29423
29543
|
};
|
|
29424
29544
|
};
|
|
@@ -29440,6 +29560,78 @@ export interface operations {
|
|
|
29440
29560
|
};
|
|
29441
29561
|
};
|
|
29442
29562
|
};
|
|
29563
|
+
get_smart_contract_logs: {
|
|
29564
|
+
parameters: {
|
|
29565
|
+
query?: {
|
|
29566
|
+
/** @description Results per page */
|
|
29567
|
+
limit?: number;
|
|
29568
|
+
/** @description Result offset */
|
|
29569
|
+
offset?: number;
|
|
29570
|
+
/** @description Cursor for transaction event pagination (block_height:microblock_sequence:tx_index:event_index) */
|
|
29571
|
+
cursor?: string;
|
|
29572
|
+
};
|
|
29573
|
+
header?: never;
|
|
29574
|
+
path: {
|
|
29575
|
+
/**
|
|
29576
|
+
* @description Contract identifier formatted as `<contract_address>.<contract_name>`
|
|
29577
|
+
* @example SP000000000000000000002Q6VF78.pox-3
|
|
29578
|
+
*/
|
|
29579
|
+
contract_id: string;
|
|
29580
|
+
};
|
|
29581
|
+
cookie?: never;
|
|
29582
|
+
};
|
|
29583
|
+
requestBody?: never;
|
|
29584
|
+
responses: {
|
|
29585
|
+
/** @description Default Response */
|
|
29586
|
+
200: {
|
|
29587
|
+
headers: {
|
|
29588
|
+
[name: string]: unknown;
|
|
29589
|
+
};
|
|
29590
|
+
content: {
|
|
29591
|
+
"application/json": {
|
|
29592
|
+
/** @example 20 */
|
|
29593
|
+
limit: number;
|
|
29594
|
+
/** @example 0 */
|
|
29595
|
+
offset: number;
|
|
29596
|
+
/** @example 1 */
|
|
29597
|
+
total: number;
|
|
29598
|
+
next_cursor: string | null;
|
|
29599
|
+
prev_cursor: string | null;
|
|
29600
|
+
cursor: string | null;
|
|
29601
|
+
results: ({
|
|
29602
|
+
event_index: number;
|
|
29603
|
+
} & {
|
|
29604
|
+
/** @enum {string} */
|
|
29605
|
+
event_type: "smart_contract_log";
|
|
29606
|
+
tx_id: string;
|
|
29607
|
+
contract_log: {
|
|
29608
|
+
contract_id: string;
|
|
29609
|
+
topic: string;
|
|
29610
|
+
value: {
|
|
29611
|
+
hex: string;
|
|
29612
|
+
repr: string;
|
|
29613
|
+
};
|
|
29614
|
+
};
|
|
29615
|
+
})[];
|
|
29616
|
+
};
|
|
29617
|
+
};
|
|
29618
|
+
};
|
|
29619
|
+
/** @description Default Response */
|
|
29620
|
+
"4XX": {
|
|
29621
|
+
headers: {
|
|
29622
|
+
[name: string]: unknown;
|
|
29623
|
+
};
|
|
29624
|
+
content: {
|
|
29625
|
+
"application/json": {
|
|
29626
|
+
error: string;
|
|
29627
|
+
message?: string;
|
|
29628
|
+
} & {
|
|
29629
|
+
[key: string]: unknown;
|
|
29630
|
+
};
|
|
29631
|
+
};
|
|
29632
|
+
};
|
|
29633
|
+
};
|
|
29634
|
+
};
|
|
29443
29635
|
get_mempool_fee_priorities: {
|
|
29444
29636
|
parameters: {
|
|
29445
29637
|
query?: never;
|
|
@@ -31705,10 +31897,7 @@ export interface operations {
|
|
|
31705
31897
|
};
|
|
31706
31898
|
content: {
|
|
31707
31899
|
"application/json": {
|
|
31708
|
-
|
|
31709
|
-
message?: string;
|
|
31710
|
-
} & {
|
|
31711
|
-
[key: string]: unknown;
|
|
31900
|
+
[key: string]: string;
|
|
31712
31901
|
};
|
|
31713
31902
|
};
|
|
31714
31903
|
};
|
|
@@ -31802,10 +31991,7 @@ export interface operations {
|
|
|
31802
31991
|
};
|
|
31803
31992
|
content: {
|
|
31804
31993
|
"application/json": {
|
|
31805
|
-
|
|
31806
|
-
message?: string;
|
|
31807
|
-
} & {
|
|
31808
|
-
[key: string]: unknown;
|
|
31994
|
+
[key: string]: string;
|
|
31809
31995
|
};
|
|
31810
31996
|
};
|
|
31811
31997
|
};
|