@stacks/blockchain-api-client 9.0.0-next.32 → 9.0.0-next.34
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 +1503 -0
- package/package.json +1 -1
- package/src/generated/schema.d.ts +1503 -0
|
@@ -1730,6 +1730,26 @@ export interface paths {
|
|
|
1730
1730
|
patch?: never;
|
|
1731
1731
|
trace?: never;
|
|
1732
1732
|
};
|
|
1733
|
+
"/extended/v3/transactions/{tx_id}": {
|
|
1734
|
+
parameters: {
|
|
1735
|
+
query?: never;
|
|
1736
|
+
header?: never;
|
|
1737
|
+
path?: never;
|
|
1738
|
+
cookie?: never;
|
|
1739
|
+
};
|
|
1740
|
+
/**
|
|
1741
|
+
* Get transaction
|
|
1742
|
+
* @description Retrieves details for a given transaction, including both mined and mempool transactions
|
|
1743
|
+
*/
|
|
1744
|
+
get: operations["get_transaction"];
|
|
1745
|
+
put?: never;
|
|
1746
|
+
post?: never;
|
|
1747
|
+
delete?: never;
|
|
1748
|
+
options?: never;
|
|
1749
|
+
head?: never;
|
|
1750
|
+
patch?: never;
|
|
1751
|
+
trace?: never;
|
|
1752
|
+
};
|
|
1733
1753
|
"/extended/v3/mempool/transactions": {
|
|
1734
1754
|
parameters: {
|
|
1735
1755
|
query?: never;
|
|
@@ -32390,6 +32410,1489 @@ export interface operations {
|
|
|
32390
32410
|
};
|
|
32391
32411
|
};
|
|
32392
32412
|
};
|
|
32413
|
+
get_transaction: {
|
|
32414
|
+
parameters: {
|
|
32415
|
+
query?: {
|
|
32416
|
+
/** @description Heavy fields to include in the response. Omitted by default to keep the payload lean. Provide as repeated querystring values (`?include=A&include=B`) or as a single comma-separated value (`?include=A,B`). */
|
|
32417
|
+
include?: ("function_args" | "source_code" | "post_conditions" | "result")[];
|
|
32418
|
+
};
|
|
32419
|
+
header?: never;
|
|
32420
|
+
path: {
|
|
32421
|
+
/**
|
|
32422
|
+
* @description Transaction ID
|
|
32423
|
+
* @example 0xf6bd5f4a7b26184a3466340b2e99fd003b4962c0e382a7e4b6a13df3dd7a91c6
|
|
32424
|
+
*/
|
|
32425
|
+
tx_id: string;
|
|
32426
|
+
};
|
|
32427
|
+
cookie?: never;
|
|
32428
|
+
};
|
|
32429
|
+
requestBody?: never;
|
|
32430
|
+
responses: {
|
|
32431
|
+
/** @description Default Response */
|
|
32432
|
+
200: {
|
|
32433
|
+
headers: {
|
|
32434
|
+
[name: string]: unknown;
|
|
32435
|
+
};
|
|
32436
|
+
content: {
|
|
32437
|
+
"application/json": ({
|
|
32438
|
+
/** @description Transaction ID */
|
|
32439
|
+
tx_id: string;
|
|
32440
|
+
sender: {
|
|
32441
|
+
/** @description Address of the transaction initiator */
|
|
32442
|
+
address: string;
|
|
32443
|
+
/** @description Nonce of the transaction initiator */
|
|
32444
|
+
nonce: number;
|
|
32445
|
+
};
|
|
32446
|
+
sponsor: {
|
|
32447
|
+
/** @description Address of the transaction initiator */
|
|
32448
|
+
address: string;
|
|
32449
|
+
/** @description Nonce of the transaction initiator */
|
|
32450
|
+
nonce: number;
|
|
32451
|
+
} | null;
|
|
32452
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
32453
|
+
fee_rate: string;
|
|
32454
|
+
block: {
|
|
32455
|
+
/** @description Height of the block this transactions was associated with */
|
|
32456
|
+
height: number;
|
|
32457
|
+
/** @description Hash of the blocked this transactions was associated with */
|
|
32458
|
+
hash: string;
|
|
32459
|
+
/** @description Hash of the index block this transactions was associated with */
|
|
32460
|
+
index_hash: string;
|
|
32461
|
+
/** @description Unix timestamp (in seconds) indicating when this block was mined. */
|
|
32462
|
+
time: number;
|
|
32463
|
+
/** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
|
|
32464
|
+
tx_index: number;
|
|
32465
|
+
};
|
|
32466
|
+
bitcoin_block: {
|
|
32467
|
+
/** @description Height of the anchor burn block. */
|
|
32468
|
+
height: number;
|
|
32469
|
+
/** @description Unix timestamp (in seconds) indicating when this block was mined. */
|
|
32470
|
+
time: number;
|
|
32471
|
+
};
|
|
32472
|
+
/** @description Status of the transaction */
|
|
32473
|
+
status: "success" | "abort_by_response" | "abort_by_post_condition";
|
|
32474
|
+
parent_block: {
|
|
32475
|
+
/** @description Hash of the parent block */
|
|
32476
|
+
hash: string;
|
|
32477
|
+
/** @description Index block hash of the parent block */
|
|
32478
|
+
index_hash: string;
|
|
32479
|
+
};
|
|
32480
|
+
/** @description Only present when requested via the `include=post_conditions` query param. */
|
|
32481
|
+
post_conditions?: ({
|
|
32482
|
+
principal: {
|
|
32483
|
+
/** @enum {string} */
|
|
32484
|
+
type_id: "principal_origin";
|
|
32485
|
+
} | {
|
|
32486
|
+
/** @enum {string} */
|
|
32487
|
+
type_id: "principal_standard";
|
|
32488
|
+
address: string;
|
|
32489
|
+
} | {
|
|
32490
|
+
/** @enum {string} */
|
|
32491
|
+
type_id: "principal_contract";
|
|
32492
|
+
address: string;
|
|
32493
|
+
contract_name: string;
|
|
32494
|
+
};
|
|
32495
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
32496
|
+
amount: string;
|
|
32497
|
+
/** @enum {string} */
|
|
32498
|
+
type: "stx";
|
|
32499
|
+
} | {
|
|
32500
|
+
principal: {
|
|
32501
|
+
/** @enum {string} */
|
|
32502
|
+
type_id: "principal_origin";
|
|
32503
|
+
} | {
|
|
32504
|
+
/** @enum {string} */
|
|
32505
|
+
type_id: "principal_standard";
|
|
32506
|
+
address: string;
|
|
32507
|
+
} | {
|
|
32508
|
+
/** @enum {string} */
|
|
32509
|
+
type_id: "principal_contract";
|
|
32510
|
+
address: string;
|
|
32511
|
+
contract_name: string;
|
|
32512
|
+
};
|
|
32513
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
32514
|
+
amount: string;
|
|
32515
|
+
/** @enum {string} */
|
|
32516
|
+
type: "fungible";
|
|
32517
|
+
asset: {
|
|
32518
|
+
asset_name: string;
|
|
32519
|
+
contract_address: string;
|
|
32520
|
+
contract_name: string;
|
|
32521
|
+
};
|
|
32522
|
+
} | {
|
|
32523
|
+
principal: {
|
|
32524
|
+
/** @enum {string} */
|
|
32525
|
+
type_id: "principal_origin";
|
|
32526
|
+
} | {
|
|
32527
|
+
/** @enum {string} */
|
|
32528
|
+
type_id: "principal_standard";
|
|
32529
|
+
address: string;
|
|
32530
|
+
} | {
|
|
32531
|
+
/** @enum {string} */
|
|
32532
|
+
type_id: "principal_contract";
|
|
32533
|
+
address: string;
|
|
32534
|
+
contract_name: string;
|
|
32535
|
+
};
|
|
32536
|
+
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
32537
|
+
/** @enum {string} */
|
|
32538
|
+
type: "non_fungible";
|
|
32539
|
+
asset_value: {
|
|
32540
|
+
hex: string;
|
|
32541
|
+
repr: string;
|
|
32542
|
+
};
|
|
32543
|
+
asset: {
|
|
32544
|
+
asset_name: string;
|
|
32545
|
+
contract_address: string;
|
|
32546
|
+
contract_name: string;
|
|
32547
|
+
};
|
|
32548
|
+
})[];
|
|
32549
|
+
/** @description Number of events in the transaction */
|
|
32550
|
+
event_count: number;
|
|
32551
|
+
execution_cost: {
|
|
32552
|
+
/** @description Number of reads in the transaction */
|
|
32553
|
+
read_count: number;
|
|
32554
|
+
/** @description Length of reads in the transaction */
|
|
32555
|
+
read_length: number;
|
|
32556
|
+
/** @description Runtime of the transaction */
|
|
32557
|
+
runtime: number;
|
|
32558
|
+
/** @description Number of writes in the transaction */
|
|
32559
|
+
write_count: number;
|
|
32560
|
+
/** @description Length of writes in the transaction */
|
|
32561
|
+
write_length: number;
|
|
32562
|
+
};
|
|
32563
|
+
vm_error: string | null;
|
|
32564
|
+
result?: {
|
|
32565
|
+
hex: string;
|
|
32566
|
+
repr: string;
|
|
32567
|
+
};
|
|
32568
|
+
/** @enum {string} */
|
|
32569
|
+
type: "token_transfer";
|
|
32570
|
+
token_transfer: {
|
|
32571
|
+
/** @description Recipient of the token transfer */
|
|
32572
|
+
recipient: string;
|
|
32573
|
+
/** @description Amount of the token transfer */
|
|
32574
|
+
amount: string;
|
|
32575
|
+
memo: string | null;
|
|
32576
|
+
};
|
|
32577
|
+
} | {
|
|
32578
|
+
/** @description Transaction ID */
|
|
32579
|
+
tx_id: string;
|
|
32580
|
+
sender: {
|
|
32581
|
+
/** @description Address of the transaction initiator */
|
|
32582
|
+
address: string;
|
|
32583
|
+
/** @description Nonce of the transaction initiator */
|
|
32584
|
+
nonce: number;
|
|
32585
|
+
};
|
|
32586
|
+
sponsor: {
|
|
32587
|
+
/** @description Address of the transaction initiator */
|
|
32588
|
+
address: string;
|
|
32589
|
+
/** @description Nonce of the transaction initiator */
|
|
32590
|
+
nonce: number;
|
|
32591
|
+
} | null;
|
|
32592
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
32593
|
+
fee_rate: string;
|
|
32594
|
+
block: {
|
|
32595
|
+
/** @description Height of the block this transactions was associated with */
|
|
32596
|
+
height: number;
|
|
32597
|
+
/** @description Hash of the blocked this transactions was associated with */
|
|
32598
|
+
hash: string;
|
|
32599
|
+
/** @description Hash of the index block this transactions was associated with */
|
|
32600
|
+
index_hash: string;
|
|
32601
|
+
/** @description Unix timestamp (in seconds) indicating when this block was mined. */
|
|
32602
|
+
time: number;
|
|
32603
|
+
/** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
|
|
32604
|
+
tx_index: number;
|
|
32605
|
+
};
|
|
32606
|
+
bitcoin_block: {
|
|
32607
|
+
/** @description Height of the anchor burn block. */
|
|
32608
|
+
height: number;
|
|
32609
|
+
/** @description Unix timestamp (in seconds) indicating when this block was mined. */
|
|
32610
|
+
time: number;
|
|
32611
|
+
};
|
|
32612
|
+
/** @description Status of the transaction */
|
|
32613
|
+
status: "success" | "abort_by_response" | "abort_by_post_condition";
|
|
32614
|
+
parent_block: {
|
|
32615
|
+
/** @description Hash of the parent block */
|
|
32616
|
+
hash: string;
|
|
32617
|
+
/** @description Index block hash of the parent block */
|
|
32618
|
+
index_hash: string;
|
|
32619
|
+
};
|
|
32620
|
+
/** @description Only present when requested via the `include=post_conditions` query param. */
|
|
32621
|
+
post_conditions?: ({
|
|
32622
|
+
principal: {
|
|
32623
|
+
/** @enum {string} */
|
|
32624
|
+
type_id: "principal_origin";
|
|
32625
|
+
} | {
|
|
32626
|
+
/** @enum {string} */
|
|
32627
|
+
type_id: "principal_standard";
|
|
32628
|
+
address: string;
|
|
32629
|
+
} | {
|
|
32630
|
+
/** @enum {string} */
|
|
32631
|
+
type_id: "principal_contract";
|
|
32632
|
+
address: string;
|
|
32633
|
+
contract_name: string;
|
|
32634
|
+
};
|
|
32635
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
32636
|
+
amount: string;
|
|
32637
|
+
/** @enum {string} */
|
|
32638
|
+
type: "stx";
|
|
32639
|
+
} | {
|
|
32640
|
+
principal: {
|
|
32641
|
+
/** @enum {string} */
|
|
32642
|
+
type_id: "principal_origin";
|
|
32643
|
+
} | {
|
|
32644
|
+
/** @enum {string} */
|
|
32645
|
+
type_id: "principal_standard";
|
|
32646
|
+
address: string;
|
|
32647
|
+
} | {
|
|
32648
|
+
/** @enum {string} */
|
|
32649
|
+
type_id: "principal_contract";
|
|
32650
|
+
address: string;
|
|
32651
|
+
contract_name: string;
|
|
32652
|
+
};
|
|
32653
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
32654
|
+
amount: string;
|
|
32655
|
+
/** @enum {string} */
|
|
32656
|
+
type: "fungible";
|
|
32657
|
+
asset: {
|
|
32658
|
+
asset_name: string;
|
|
32659
|
+
contract_address: string;
|
|
32660
|
+
contract_name: string;
|
|
32661
|
+
};
|
|
32662
|
+
} | {
|
|
32663
|
+
principal: {
|
|
32664
|
+
/** @enum {string} */
|
|
32665
|
+
type_id: "principal_origin";
|
|
32666
|
+
} | {
|
|
32667
|
+
/** @enum {string} */
|
|
32668
|
+
type_id: "principal_standard";
|
|
32669
|
+
address: string;
|
|
32670
|
+
} | {
|
|
32671
|
+
/** @enum {string} */
|
|
32672
|
+
type_id: "principal_contract";
|
|
32673
|
+
address: string;
|
|
32674
|
+
contract_name: string;
|
|
32675
|
+
};
|
|
32676
|
+
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
32677
|
+
/** @enum {string} */
|
|
32678
|
+
type: "non_fungible";
|
|
32679
|
+
asset_value: {
|
|
32680
|
+
hex: string;
|
|
32681
|
+
repr: string;
|
|
32682
|
+
};
|
|
32683
|
+
asset: {
|
|
32684
|
+
asset_name: string;
|
|
32685
|
+
contract_address: string;
|
|
32686
|
+
contract_name: string;
|
|
32687
|
+
};
|
|
32688
|
+
})[];
|
|
32689
|
+
/** @description Number of events in the transaction */
|
|
32690
|
+
event_count: number;
|
|
32691
|
+
execution_cost: {
|
|
32692
|
+
/** @description Number of reads in the transaction */
|
|
32693
|
+
read_count: number;
|
|
32694
|
+
/** @description Length of reads in the transaction */
|
|
32695
|
+
read_length: number;
|
|
32696
|
+
/** @description Runtime of the transaction */
|
|
32697
|
+
runtime: number;
|
|
32698
|
+
/** @description Number of writes in the transaction */
|
|
32699
|
+
write_count: number;
|
|
32700
|
+
/** @description Length of writes in the transaction */
|
|
32701
|
+
write_length: number;
|
|
32702
|
+
};
|
|
32703
|
+
vm_error: string | null;
|
|
32704
|
+
result?: {
|
|
32705
|
+
hex: string;
|
|
32706
|
+
repr: string;
|
|
32707
|
+
};
|
|
32708
|
+
/** @enum {string} */
|
|
32709
|
+
type: "smart_contract";
|
|
32710
|
+
smart_contract: {
|
|
32711
|
+
/** @description Contract ID of the smart contract */
|
|
32712
|
+
contract_id: string;
|
|
32713
|
+
clarity_version: number | null;
|
|
32714
|
+
/** @description Source code of the smart contract. Only present when requested via the `include=source_code` query param. */
|
|
32715
|
+
source_code?: string;
|
|
32716
|
+
};
|
|
32717
|
+
} | {
|
|
32718
|
+
/** @description Transaction ID */
|
|
32719
|
+
tx_id: string;
|
|
32720
|
+
sender: {
|
|
32721
|
+
/** @description Address of the transaction initiator */
|
|
32722
|
+
address: string;
|
|
32723
|
+
/** @description Nonce of the transaction initiator */
|
|
32724
|
+
nonce: number;
|
|
32725
|
+
};
|
|
32726
|
+
sponsor: {
|
|
32727
|
+
/** @description Address of the transaction initiator */
|
|
32728
|
+
address: string;
|
|
32729
|
+
/** @description Nonce of the transaction initiator */
|
|
32730
|
+
nonce: number;
|
|
32731
|
+
} | null;
|
|
32732
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
32733
|
+
fee_rate: string;
|
|
32734
|
+
block: {
|
|
32735
|
+
/** @description Height of the block this transactions was associated with */
|
|
32736
|
+
height: number;
|
|
32737
|
+
/** @description Hash of the blocked this transactions was associated with */
|
|
32738
|
+
hash: string;
|
|
32739
|
+
/** @description Hash of the index block this transactions was associated with */
|
|
32740
|
+
index_hash: string;
|
|
32741
|
+
/** @description Unix timestamp (in seconds) indicating when this block was mined. */
|
|
32742
|
+
time: number;
|
|
32743
|
+
/** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
|
|
32744
|
+
tx_index: number;
|
|
32745
|
+
};
|
|
32746
|
+
bitcoin_block: {
|
|
32747
|
+
/** @description Height of the anchor burn block. */
|
|
32748
|
+
height: number;
|
|
32749
|
+
/** @description Unix timestamp (in seconds) indicating when this block was mined. */
|
|
32750
|
+
time: number;
|
|
32751
|
+
};
|
|
32752
|
+
/** @description Status of the transaction */
|
|
32753
|
+
status: "success" | "abort_by_response" | "abort_by_post_condition";
|
|
32754
|
+
parent_block: {
|
|
32755
|
+
/** @description Hash of the parent block */
|
|
32756
|
+
hash: string;
|
|
32757
|
+
/** @description Index block hash of the parent block */
|
|
32758
|
+
index_hash: string;
|
|
32759
|
+
};
|
|
32760
|
+
/** @description Only present when requested via the `include=post_conditions` query param. */
|
|
32761
|
+
post_conditions?: ({
|
|
32762
|
+
principal: {
|
|
32763
|
+
/** @enum {string} */
|
|
32764
|
+
type_id: "principal_origin";
|
|
32765
|
+
} | {
|
|
32766
|
+
/** @enum {string} */
|
|
32767
|
+
type_id: "principal_standard";
|
|
32768
|
+
address: string;
|
|
32769
|
+
} | {
|
|
32770
|
+
/** @enum {string} */
|
|
32771
|
+
type_id: "principal_contract";
|
|
32772
|
+
address: string;
|
|
32773
|
+
contract_name: string;
|
|
32774
|
+
};
|
|
32775
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
32776
|
+
amount: string;
|
|
32777
|
+
/** @enum {string} */
|
|
32778
|
+
type: "stx";
|
|
32779
|
+
} | {
|
|
32780
|
+
principal: {
|
|
32781
|
+
/** @enum {string} */
|
|
32782
|
+
type_id: "principal_origin";
|
|
32783
|
+
} | {
|
|
32784
|
+
/** @enum {string} */
|
|
32785
|
+
type_id: "principal_standard";
|
|
32786
|
+
address: string;
|
|
32787
|
+
} | {
|
|
32788
|
+
/** @enum {string} */
|
|
32789
|
+
type_id: "principal_contract";
|
|
32790
|
+
address: string;
|
|
32791
|
+
contract_name: string;
|
|
32792
|
+
};
|
|
32793
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
32794
|
+
amount: string;
|
|
32795
|
+
/** @enum {string} */
|
|
32796
|
+
type: "fungible";
|
|
32797
|
+
asset: {
|
|
32798
|
+
asset_name: string;
|
|
32799
|
+
contract_address: string;
|
|
32800
|
+
contract_name: string;
|
|
32801
|
+
};
|
|
32802
|
+
} | {
|
|
32803
|
+
principal: {
|
|
32804
|
+
/** @enum {string} */
|
|
32805
|
+
type_id: "principal_origin";
|
|
32806
|
+
} | {
|
|
32807
|
+
/** @enum {string} */
|
|
32808
|
+
type_id: "principal_standard";
|
|
32809
|
+
address: string;
|
|
32810
|
+
} | {
|
|
32811
|
+
/** @enum {string} */
|
|
32812
|
+
type_id: "principal_contract";
|
|
32813
|
+
address: string;
|
|
32814
|
+
contract_name: string;
|
|
32815
|
+
};
|
|
32816
|
+
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
32817
|
+
/** @enum {string} */
|
|
32818
|
+
type: "non_fungible";
|
|
32819
|
+
asset_value: {
|
|
32820
|
+
hex: string;
|
|
32821
|
+
repr: string;
|
|
32822
|
+
};
|
|
32823
|
+
asset: {
|
|
32824
|
+
asset_name: string;
|
|
32825
|
+
contract_address: string;
|
|
32826
|
+
contract_name: string;
|
|
32827
|
+
};
|
|
32828
|
+
})[];
|
|
32829
|
+
/** @description Number of events in the transaction */
|
|
32830
|
+
event_count: number;
|
|
32831
|
+
execution_cost: {
|
|
32832
|
+
/** @description Number of reads in the transaction */
|
|
32833
|
+
read_count: number;
|
|
32834
|
+
/** @description Length of reads in the transaction */
|
|
32835
|
+
read_length: number;
|
|
32836
|
+
/** @description Runtime of the transaction */
|
|
32837
|
+
runtime: number;
|
|
32838
|
+
/** @description Number of writes in the transaction */
|
|
32839
|
+
write_count: number;
|
|
32840
|
+
/** @description Length of writes in the transaction */
|
|
32841
|
+
write_length: number;
|
|
32842
|
+
};
|
|
32843
|
+
vm_error: string | null;
|
|
32844
|
+
result?: {
|
|
32845
|
+
hex: string;
|
|
32846
|
+
repr: string;
|
|
32847
|
+
};
|
|
32848
|
+
/** @enum {string} */
|
|
32849
|
+
type: "contract_call";
|
|
32850
|
+
contract_call: {
|
|
32851
|
+
/** @description Contract ID of the contract call */
|
|
32852
|
+
contract_id: string;
|
|
32853
|
+
/** @description Function name of the contract call */
|
|
32854
|
+
function_name: string;
|
|
32855
|
+
/** @description List of arguments used to invoke the function. Only present when requested via the `include=function_args` query param. */
|
|
32856
|
+
function_args?: {
|
|
32857
|
+
hex: string;
|
|
32858
|
+
repr: string;
|
|
32859
|
+
}[];
|
|
32860
|
+
};
|
|
32861
|
+
} | {
|
|
32862
|
+
/** @description Transaction ID */
|
|
32863
|
+
tx_id: string;
|
|
32864
|
+
sender: {
|
|
32865
|
+
/** @description Address of the transaction initiator */
|
|
32866
|
+
address: string;
|
|
32867
|
+
/** @description Nonce of the transaction initiator */
|
|
32868
|
+
nonce: number;
|
|
32869
|
+
};
|
|
32870
|
+
sponsor: {
|
|
32871
|
+
/** @description Address of the transaction initiator */
|
|
32872
|
+
address: string;
|
|
32873
|
+
/** @description Nonce of the transaction initiator */
|
|
32874
|
+
nonce: number;
|
|
32875
|
+
} | null;
|
|
32876
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
32877
|
+
fee_rate: string;
|
|
32878
|
+
block: {
|
|
32879
|
+
/** @description Height of the block this transactions was associated with */
|
|
32880
|
+
height: number;
|
|
32881
|
+
/** @description Hash of the blocked this transactions was associated with */
|
|
32882
|
+
hash: string;
|
|
32883
|
+
/** @description Hash of the index block this transactions was associated with */
|
|
32884
|
+
index_hash: string;
|
|
32885
|
+
/** @description Unix timestamp (in seconds) indicating when this block was mined. */
|
|
32886
|
+
time: number;
|
|
32887
|
+
/** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
|
|
32888
|
+
tx_index: number;
|
|
32889
|
+
};
|
|
32890
|
+
bitcoin_block: {
|
|
32891
|
+
/** @description Height of the anchor burn block. */
|
|
32892
|
+
height: number;
|
|
32893
|
+
/** @description Unix timestamp (in seconds) indicating when this block was mined. */
|
|
32894
|
+
time: number;
|
|
32895
|
+
};
|
|
32896
|
+
/** @description Status of the transaction */
|
|
32897
|
+
status: "success" | "abort_by_response" | "abort_by_post_condition";
|
|
32898
|
+
parent_block: {
|
|
32899
|
+
/** @description Hash of the parent block */
|
|
32900
|
+
hash: string;
|
|
32901
|
+
/** @description Index block hash of the parent block */
|
|
32902
|
+
index_hash: string;
|
|
32903
|
+
};
|
|
32904
|
+
/** @description Only present when requested via the `include=post_conditions` query param. */
|
|
32905
|
+
post_conditions?: ({
|
|
32906
|
+
principal: {
|
|
32907
|
+
/** @enum {string} */
|
|
32908
|
+
type_id: "principal_origin";
|
|
32909
|
+
} | {
|
|
32910
|
+
/** @enum {string} */
|
|
32911
|
+
type_id: "principal_standard";
|
|
32912
|
+
address: string;
|
|
32913
|
+
} | {
|
|
32914
|
+
/** @enum {string} */
|
|
32915
|
+
type_id: "principal_contract";
|
|
32916
|
+
address: string;
|
|
32917
|
+
contract_name: string;
|
|
32918
|
+
};
|
|
32919
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
32920
|
+
amount: string;
|
|
32921
|
+
/** @enum {string} */
|
|
32922
|
+
type: "stx";
|
|
32923
|
+
} | {
|
|
32924
|
+
principal: {
|
|
32925
|
+
/** @enum {string} */
|
|
32926
|
+
type_id: "principal_origin";
|
|
32927
|
+
} | {
|
|
32928
|
+
/** @enum {string} */
|
|
32929
|
+
type_id: "principal_standard";
|
|
32930
|
+
address: string;
|
|
32931
|
+
} | {
|
|
32932
|
+
/** @enum {string} */
|
|
32933
|
+
type_id: "principal_contract";
|
|
32934
|
+
address: string;
|
|
32935
|
+
contract_name: string;
|
|
32936
|
+
};
|
|
32937
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
32938
|
+
amount: string;
|
|
32939
|
+
/** @enum {string} */
|
|
32940
|
+
type: "fungible";
|
|
32941
|
+
asset: {
|
|
32942
|
+
asset_name: string;
|
|
32943
|
+
contract_address: string;
|
|
32944
|
+
contract_name: string;
|
|
32945
|
+
};
|
|
32946
|
+
} | {
|
|
32947
|
+
principal: {
|
|
32948
|
+
/** @enum {string} */
|
|
32949
|
+
type_id: "principal_origin";
|
|
32950
|
+
} | {
|
|
32951
|
+
/** @enum {string} */
|
|
32952
|
+
type_id: "principal_standard";
|
|
32953
|
+
address: string;
|
|
32954
|
+
} | {
|
|
32955
|
+
/** @enum {string} */
|
|
32956
|
+
type_id: "principal_contract";
|
|
32957
|
+
address: string;
|
|
32958
|
+
contract_name: string;
|
|
32959
|
+
};
|
|
32960
|
+
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
32961
|
+
/** @enum {string} */
|
|
32962
|
+
type: "non_fungible";
|
|
32963
|
+
asset_value: {
|
|
32964
|
+
hex: string;
|
|
32965
|
+
repr: string;
|
|
32966
|
+
};
|
|
32967
|
+
asset: {
|
|
32968
|
+
asset_name: string;
|
|
32969
|
+
contract_address: string;
|
|
32970
|
+
contract_name: string;
|
|
32971
|
+
};
|
|
32972
|
+
})[];
|
|
32973
|
+
/** @description Number of events in the transaction */
|
|
32974
|
+
event_count: number;
|
|
32975
|
+
execution_cost: {
|
|
32976
|
+
/** @description Number of reads in the transaction */
|
|
32977
|
+
read_count: number;
|
|
32978
|
+
/** @description Length of reads in the transaction */
|
|
32979
|
+
read_length: number;
|
|
32980
|
+
/** @description Runtime of the transaction */
|
|
32981
|
+
runtime: number;
|
|
32982
|
+
/** @description Number of writes in the transaction */
|
|
32983
|
+
write_count: number;
|
|
32984
|
+
/** @description Length of writes in the transaction */
|
|
32985
|
+
write_length: number;
|
|
32986
|
+
};
|
|
32987
|
+
vm_error: string | null;
|
|
32988
|
+
result?: {
|
|
32989
|
+
hex: string;
|
|
32990
|
+
repr: string;
|
|
32991
|
+
};
|
|
32992
|
+
/** @enum {string} */
|
|
32993
|
+
type: "poison_microblock";
|
|
32994
|
+
} | {
|
|
32995
|
+
/** @description Transaction ID */
|
|
32996
|
+
tx_id: string;
|
|
32997
|
+
sender: {
|
|
32998
|
+
/** @description Address of the transaction initiator */
|
|
32999
|
+
address: string;
|
|
33000
|
+
/** @description Nonce of the transaction initiator */
|
|
33001
|
+
nonce: number;
|
|
33002
|
+
};
|
|
33003
|
+
sponsor: {
|
|
33004
|
+
/** @description Address of the transaction initiator */
|
|
33005
|
+
address: string;
|
|
33006
|
+
/** @description Nonce of the transaction initiator */
|
|
33007
|
+
nonce: number;
|
|
33008
|
+
} | null;
|
|
33009
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
33010
|
+
fee_rate: string;
|
|
33011
|
+
block: {
|
|
33012
|
+
/** @description Height of the block this transactions was associated with */
|
|
33013
|
+
height: number;
|
|
33014
|
+
/** @description Hash of the blocked this transactions was associated with */
|
|
33015
|
+
hash: string;
|
|
33016
|
+
/** @description Hash of the index block this transactions was associated with */
|
|
33017
|
+
index_hash: string;
|
|
33018
|
+
/** @description Unix timestamp (in seconds) indicating when this block was mined. */
|
|
33019
|
+
time: number;
|
|
33020
|
+
/** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
|
|
33021
|
+
tx_index: number;
|
|
33022
|
+
};
|
|
33023
|
+
bitcoin_block: {
|
|
33024
|
+
/** @description Height of the anchor burn block. */
|
|
33025
|
+
height: number;
|
|
33026
|
+
/** @description Unix timestamp (in seconds) indicating when this block was mined. */
|
|
33027
|
+
time: number;
|
|
33028
|
+
};
|
|
33029
|
+
/** @description Status of the transaction */
|
|
33030
|
+
status: "success" | "abort_by_response" | "abort_by_post_condition";
|
|
33031
|
+
parent_block: {
|
|
33032
|
+
/** @description Hash of the parent block */
|
|
33033
|
+
hash: string;
|
|
33034
|
+
/** @description Index block hash of the parent block */
|
|
33035
|
+
index_hash: string;
|
|
33036
|
+
};
|
|
33037
|
+
/** @description Only present when requested via the `include=post_conditions` query param. */
|
|
33038
|
+
post_conditions?: ({
|
|
33039
|
+
principal: {
|
|
33040
|
+
/** @enum {string} */
|
|
33041
|
+
type_id: "principal_origin";
|
|
33042
|
+
} | {
|
|
33043
|
+
/** @enum {string} */
|
|
33044
|
+
type_id: "principal_standard";
|
|
33045
|
+
address: string;
|
|
33046
|
+
} | {
|
|
33047
|
+
/** @enum {string} */
|
|
33048
|
+
type_id: "principal_contract";
|
|
33049
|
+
address: string;
|
|
33050
|
+
contract_name: string;
|
|
33051
|
+
};
|
|
33052
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33053
|
+
amount: string;
|
|
33054
|
+
/** @enum {string} */
|
|
33055
|
+
type: "stx";
|
|
33056
|
+
} | {
|
|
33057
|
+
principal: {
|
|
33058
|
+
/** @enum {string} */
|
|
33059
|
+
type_id: "principal_origin";
|
|
33060
|
+
} | {
|
|
33061
|
+
/** @enum {string} */
|
|
33062
|
+
type_id: "principal_standard";
|
|
33063
|
+
address: string;
|
|
33064
|
+
} | {
|
|
33065
|
+
/** @enum {string} */
|
|
33066
|
+
type_id: "principal_contract";
|
|
33067
|
+
address: string;
|
|
33068
|
+
contract_name: string;
|
|
33069
|
+
};
|
|
33070
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33071
|
+
amount: string;
|
|
33072
|
+
/** @enum {string} */
|
|
33073
|
+
type: "fungible";
|
|
33074
|
+
asset: {
|
|
33075
|
+
asset_name: string;
|
|
33076
|
+
contract_address: string;
|
|
33077
|
+
contract_name: string;
|
|
33078
|
+
};
|
|
33079
|
+
} | {
|
|
33080
|
+
principal: {
|
|
33081
|
+
/** @enum {string} */
|
|
33082
|
+
type_id: "principal_origin";
|
|
33083
|
+
} | {
|
|
33084
|
+
/** @enum {string} */
|
|
33085
|
+
type_id: "principal_standard";
|
|
33086
|
+
address: string;
|
|
33087
|
+
} | {
|
|
33088
|
+
/** @enum {string} */
|
|
33089
|
+
type_id: "principal_contract";
|
|
33090
|
+
address: string;
|
|
33091
|
+
contract_name: string;
|
|
33092
|
+
};
|
|
33093
|
+
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
33094
|
+
/** @enum {string} */
|
|
33095
|
+
type: "non_fungible";
|
|
33096
|
+
asset_value: {
|
|
33097
|
+
hex: string;
|
|
33098
|
+
repr: string;
|
|
33099
|
+
};
|
|
33100
|
+
asset: {
|
|
33101
|
+
asset_name: string;
|
|
33102
|
+
contract_address: string;
|
|
33103
|
+
contract_name: string;
|
|
33104
|
+
};
|
|
33105
|
+
})[];
|
|
33106
|
+
/** @description Number of events in the transaction */
|
|
33107
|
+
event_count: number;
|
|
33108
|
+
execution_cost: {
|
|
33109
|
+
/** @description Number of reads in the transaction */
|
|
33110
|
+
read_count: number;
|
|
33111
|
+
/** @description Length of reads in the transaction */
|
|
33112
|
+
read_length: number;
|
|
33113
|
+
/** @description Runtime of the transaction */
|
|
33114
|
+
runtime: number;
|
|
33115
|
+
/** @description Number of writes in the transaction */
|
|
33116
|
+
write_count: number;
|
|
33117
|
+
/** @description Length of writes in the transaction */
|
|
33118
|
+
write_length: number;
|
|
33119
|
+
};
|
|
33120
|
+
vm_error: string | null;
|
|
33121
|
+
result?: {
|
|
33122
|
+
hex: string;
|
|
33123
|
+
repr: string;
|
|
33124
|
+
};
|
|
33125
|
+
/** @enum {string} */
|
|
33126
|
+
type: "tenure_change";
|
|
33127
|
+
tenure_change: {
|
|
33128
|
+
/** @description Consensus hash of this tenure. Corresponds to the sortition in which the miner of this block was chosen. */
|
|
33129
|
+
tenure_consensus_hash: string;
|
|
33130
|
+
/** @description Consensus hash of the previous tenure. Corresponds to the sortition of the previous winning block-commit. */
|
|
33131
|
+
prev_tenure_consensus_hash: string;
|
|
33132
|
+
/** @description Current consensus hash on the underlying burnchain. Corresponds to the last-seen sortition. */
|
|
33133
|
+
burn_view_consensus_hash: string;
|
|
33134
|
+
/** @description (Hex string) Stacks Block hash */
|
|
33135
|
+
previous_tenure_end: string;
|
|
33136
|
+
/** @description The number of blocks produced in the previous tenure. */
|
|
33137
|
+
previous_tenure_blocks: number;
|
|
33138
|
+
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
33139
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
33140
|
+
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
33141
|
+
pubkey_hash: string;
|
|
33142
|
+
};
|
|
33143
|
+
} | {
|
|
33144
|
+
/** @description Transaction ID */
|
|
33145
|
+
tx_id: string;
|
|
33146
|
+
sender: {
|
|
33147
|
+
/** @description Address of the transaction initiator */
|
|
33148
|
+
address: string;
|
|
33149
|
+
/** @description Nonce of the transaction initiator */
|
|
33150
|
+
nonce: number;
|
|
33151
|
+
};
|
|
33152
|
+
sponsor: {
|
|
33153
|
+
/** @description Address of the transaction initiator */
|
|
33154
|
+
address: string;
|
|
33155
|
+
/** @description Nonce of the transaction initiator */
|
|
33156
|
+
nonce: number;
|
|
33157
|
+
} | null;
|
|
33158
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
33159
|
+
fee_rate: string;
|
|
33160
|
+
block: {
|
|
33161
|
+
/** @description Height of the block this transactions was associated with */
|
|
33162
|
+
height: number;
|
|
33163
|
+
/** @description Hash of the blocked this transactions was associated with */
|
|
33164
|
+
hash: string;
|
|
33165
|
+
/** @description Hash of the index block this transactions was associated with */
|
|
33166
|
+
index_hash: string;
|
|
33167
|
+
/** @description Unix timestamp (in seconds) indicating when this block was mined. */
|
|
33168
|
+
time: number;
|
|
33169
|
+
/** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
|
|
33170
|
+
tx_index: number;
|
|
33171
|
+
};
|
|
33172
|
+
bitcoin_block: {
|
|
33173
|
+
/** @description Height of the anchor burn block. */
|
|
33174
|
+
height: number;
|
|
33175
|
+
/** @description Unix timestamp (in seconds) indicating when this block was mined. */
|
|
33176
|
+
time: number;
|
|
33177
|
+
};
|
|
33178
|
+
/** @description Status of the transaction */
|
|
33179
|
+
status: "success" | "abort_by_response" | "abort_by_post_condition";
|
|
33180
|
+
parent_block: {
|
|
33181
|
+
/** @description Hash of the parent block */
|
|
33182
|
+
hash: string;
|
|
33183
|
+
/** @description Index block hash of the parent block */
|
|
33184
|
+
index_hash: string;
|
|
33185
|
+
};
|
|
33186
|
+
/** @description Only present when requested via the `include=post_conditions` query param. */
|
|
33187
|
+
post_conditions?: ({
|
|
33188
|
+
principal: {
|
|
33189
|
+
/** @enum {string} */
|
|
33190
|
+
type_id: "principal_origin";
|
|
33191
|
+
} | {
|
|
33192
|
+
/** @enum {string} */
|
|
33193
|
+
type_id: "principal_standard";
|
|
33194
|
+
address: string;
|
|
33195
|
+
} | {
|
|
33196
|
+
/** @enum {string} */
|
|
33197
|
+
type_id: "principal_contract";
|
|
33198
|
+
address: string;
|
|
33199
|
+
contract_name: string;
|
|
33200
|
+
};
|
|
33201
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33202
|
+
amount: string;
|
|
33203
|
+
/** @enum {string} */
|
|
33204
|
+
type: "stx";
|
|
33205
|
+
} | {
|
|
33206
|
+
principal: {
|
|
33207
|
+
/** @enum {string} */
|
|
33208
|
+
type_id: "principal_origin";
|
|
33209
|
+
} | {
|
|
33210
|
+
/** @enum {string} */
|
|
33211
|
+
type_id: "principal_standard";
|
|
33212
|
+
address: string;
|
|
33213
|
+
} | {
|
|
33214
|
+
/** @enum {string} */
|
|
33215
|
+
type_id: "principal_contract";
|
|
33216
|
+
address: string;
|
|
33217
|
+
contract_name: string;
|
|
33218
|
+
};
|
|
33219
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33220
|
+
amount: string;
|
|
33221
|
+
/** @enum {string} */
|
|
33222
|
+
type: "fungible";
|
|
33223
|
+
asset: {
|
|
33224
|
+
asset_name: string;
|
|
33225
|
+
contract_address: string;
|
|
33226
|
+
contract_name: string;
|
|
33227
|
+
};
|
|
33228
|
+
} | {
|
|
33229
|
+
principal: {
|
|
33230
|
+
/** @enum {string} */
|
|
33231
|
+
type_id: "principal_origin";
|
|
33232
|
+
} | {
|
|
33233
|
+
/** @enum {string} */
|
|
33234
|
+
type_id: "principal_standard";
|
|
33235
|
+
address: string;
|
|
33236
|
+
} | {
|
|
33237
|
+
/** @enum {string} */
|
|
33238
|
+
type_id: "principal_contract";
|
|
33239
|
+
address: string;
|
|
33240
|
+
contract_name: string;
|
|
33241
|
+
};
|
|
33242
|
+
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
33243
|
+
/** @enum {string} */
|
|
33244
|
+
type: "non_fungible";
|
|
33245
|
+
asset_value: {
|
|
33246
|
+
hex: string;
|
|
33247
|
+
repr: string;
|
|
33248
|
+
};
|
|
33249
|
+
asset: {
|
|
33250
|
+
asset_name: string;
|
|
33251
|
+
contract_address: string;
|
|
33252
|
+
contract_name: string;
|
|
33253
|
+
};
|
|
33254
|
+
})[];
|
|
33255
|
+
/** @description Number of events in the transaction */
|
|
33256
|
+
event_count: number;
|
|
33257
|
+
execution_cost: {
|
|
33258
|
+
/** @description Number of reads in the transaction */
|
|
33259
|
+
read_count: number;
|
|
33260
|
+
/** @description Length of reads in the transaction */
|
|
33261
|
+
read_length: number;
|
|
33262
|
+
/** @description Runtime of the transaction */
|
|
33263
|
+
runtime: number;
|
|
33264
|
+
/** @description Number of writes in the transaction */
|
|
33265
|
+
write_count: number;
|
|
33266
|
+
/** @description Length of writes in the transaction */
|
|
33267
|
+
write_length: number;
|
|
33268
|
+
};
|
|
33269
|
+
vm_error: string | null;
|
|
33270
|
+
result?: {
|
|
33271
|
+
hex: string;
|
|
33272
|
+
repr: string;
|
|
33273
|
+
};
|
|
33274
|
+
/** @enum {string} */
|
|
33275
|
+
type: "coinbase";
|
|
33276
|
+
coinbase: {
|
|
33277
|
+
/** @description Payload of the coinbase transaction */
|
|
33278
|
+
payload: string;
|
|
33279
|
+
alt_recipient: string | null;
|
|
33280
|
+
vrf_proof: string | null;
|
|
33281
|
+
};
|
|
33282
|
+
}) | ({
|
|
33283
|
+
/** @description Transaction ID */
|
|
33284
|
+
tx_id: string;
|
|
33285
|
+
sender: {
|
|
33286
|
+
/** @description Address of the transaction initiator */
|
|
33287
|
+
address: string;
|
|
33288
|
+
/** @description Nonce of the transaction initiator */
|
|
33289
|
+
nonce: number;
|
|
33290
|
+
};
|
|
33291
|
+
sponsor: {
|
|
33292
|
+
/** @description Address of the transaction initiator */
|
|
33293
|
+
address: string;
|
|
33294
|
+
/** @description Nonce of the transaction initiator */
|
|
33295
|
+
nonce: number;
|
|
33296
|
+
} | null;
|
|
33297
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
33298
|
+
fee_rate: string;
|
|
33299
|
+
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
33300
|
+
receipt_time: number;
|
|
33301
|
+
/** @description Height of the block this transaction was received by the node */
|
|
33302
|
+
receipt_block_height: number;
|
|
33303
|
+
/** @description Status of the mempool transaction */
|
|
33304
|
+
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
33305
|
+
/** @description Only present when requested via the `include=post_conditions` query param. */
|
|
33306
|
+
post_conditions?: ({
|
|
33307
|
+
principal: {
|
|
33308
|
+
/** @enum {string} */
|
|
33309
|
+
type_id: "principal_origin";
|
|
33310
|
+
} | {
|
|
33311
|
+
/** @enum {string} */
|
|
33312
|
+
type_id: "principal_standard";
|
|
33313
|
+
address: string;
|
|
33314
|
+
} | {
|
|
33315
|
+
/** @enum {string} */
|
|
33316
|
+
type_id: "principal_contract";
|
|
33317
|
+
address: string;
|
|
33318
|
+
contract_name: string;
|
|
33319
|
+
};
|
|
33320
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33321
|
+
amount: string;
|
|
33322
|
+
/** @enum {string} */
|
|
33323
|
+
type: "stx";
|
|
33324
|
+
} | {
|
|
33325
|
+
principal: {
|
|
33326
|
+
/** @enum {string} */
|
|
33327
|
+
type_id: "principal_origin";
|
|
33328
|
+
} | {
|
|
33329
|
+
/** @enum {string} */
|
|
33330
|
+
type_id: "principal_standard";
|
|
33331
|
+
address: string;
|
|
33332
|
+
} | {
|
|
33333
|
+
/** @enum {string} */
|
|
33334
|
+
type_id: "principal_contract";
|
|
33335
|
+
address: string;
|
|
33336
|
+
contract_name: string;
|
|
33337
|
+
};
|
|
33338
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33339
|
+
amount: string;
|
|
33340
|
+
/** @enum {string} */
|
|
33341
|
+
type: "fungible";
|
|
33342
|
+
asset: {
|
|
33343
|
+
asset_name: string;
|
|
33344
|
+
contract_address: string;
|
|
33345
|
+
contract_name: string;
|
|
33346
|
+
};
|
|
33347
|
+
} | {
|
|
33348
|
+
principal: {
|
|
33349
|
+
/** @enum {string} */
|
|
33350
|
+
type_id: "principal_origin";
|
|
33351
|
+
} | {
|
|
33352
|
+
/** @enum {string} */
|
|
33353
|
+
type_id: "principal_standard";
|
|
33354
|
+
address: string;
|
|
33355
|
+
} | {
|
|
33356
|
+
/** @enum {string} */
|
|
33357
|
+
type_id: "principal_contract";
|
|
33358
|
+
address: string;
|
|
33359
|
+
contract_name: string;
|
|
33360
|
+
};
|
|
33361
|
+
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
33362
|
+
/** @enum {string} */
|
|
33363
|
+
type: "non_fungible";
|
|
33364
|
+
asset_value: {
|
|
33365
|
+
hex: string;
|
|
33366
|
+
repr: string;
|
|
33367
|
+
};
|
|
33368
|
+
asset: {
|
|
33369
|
+
asset_name: string;
|
|
33370
|
+
contract_address: string;
|
|
33371
|
+
contract_name: string;
|
|
33372
|
+
};
|
|
33373
|
+
})[];
|
|
33374
|
+
replaced_by_tx_id: string | null;
|
|
33375
|
+
/** @enum {string} */
|
|
33376
|
+
type: "token_transfer";
|
|
33377
|
+
token_transfer: {
|
|
33378
|
+
/** @description Recipient of the token transfer */
|
|
33379
|
+
recipient: string;
|
|
33380
|
+
/** @description Amount of the token transfer */
|
|
33381
|
+
amount: string;
|
|
33382
|
+
memo: string | null;
|
|
33383
|
+
};
|
|
33384
|
+
} | {
|
|
33385
|
+
/** @description Transaction ID */
|
|
33386
|
+
tx_id: string;
|
|
33387
|
+
sender: {
|
|
33388
|
+
/** @description Address of the transaction initiator */
|
|
33389
|
+
address: string;
|
|
33390
|
+
/** @description Nonce of the transaction initiator */
|
|
33391
|
+
nonce: number;
|
|
33392
|
+
};
|
|
33393
|
+
sponsor: {
|
|
33394
|
+
/** @description Address of the transaction initiator */
|
|
33395
|
+
address: string;
|
|
33396
|
+
/** @description Nonce of the transaction initiator */
|
|
33397
|
+
nonce: number;
|
|
33398
|
+
} | null;
|
|
33399
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
33400
|
+
fee_rate: string;
|
|
33401
|
+
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
33402
|
+
receipt_time: number;
|
|
33403
|
+
/** @description Height of the block this transaction was received by the node */
|
|
33404
|
+
receipt_block_height: number;
|
|
33405
|
+
/** @description Status of the mempool transaction */
|
|
33406
|
+
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
33407
|
+
/** @description Only present when requested via the `include=post_conditions` query param. */
|
|
33408
|
+
post_conditions?: ({
|
|
33409
|
+
principal: {
|
|
33410
|
+
/** @enum {string} */
|
|
33411
|
+
type_id: "principal_origin";
|
|
33412
|
+
} | {
|
|
33413
|
+
/** @enum {string} */
|
|
33414
|
+
type_id: "principal_standard";
|
|
33415
|
+
address: string;
|
|
33416
|
+
} | {
|
|
33417
|
+
/** @enum {string} */
|
|
33418
|
+
type_id: "principal_contract";
|
|
33419
|
+
address: string;
|
|
33420
|
+
contract_name: string;
|
|
33421
|
+
};
|
|
33422
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33423
|
+
amount: string;
|
|
33424
|
+
/** @enum {string} */
|
|
33425
|
+
type: "stx";
|
|
33426
|
+
} | {
|
|
33427
|
+
principal: {
|
|
33428
|
+
/** @enum {string} */
|
|
33429
|
+
type_id: "principal_origin";
|
|
33430
|
+
} | {
|
|
33431
|
+
/** @enum {string} */
|
|
33432
|
+
type_id: "principal_standard";
|
|
33433
|
+
address: string;
|
|
33434
|
+
} | {
|
|
33435
|
+
/** @enum {string} */
|
|
33436
|
+
type_id: "principal_contract";
|
|
33437
|
+
address: string;
|
|
33438
|
+
contract_name: string;
|
|
33439
|
+
};
|
|
33440
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33441
|
+
amount: string;
|
|
33442
|
+
/** @enum {string} */
|
|
33443
|
+
type: "fungible";
|
|
33444
|
+
asset: {
|
|
33445
|
+
asset_name: string;
|
|
33446
|
+
contract_address: string;
|
|
33447
|
+
contract_name: string;
|
|
33448
|
+
};
|
|
33449
|
+
} | {
|
|
33450
|
+
principal: {
|
|
33451
|
+
/** @enum {string} */
|
|
33452
|
+
type_id: "principal_origin";
|
|
33453
|
+
} | {
|
|
33454
|
+
/** @enum {string} */
|
|
33455
|
+
type_id: "principal_standard";
|
|
33456
|
+
address: string;
|
|
33457
|
+
} | {
|
|
33458
|
+
/** @enum {string} */
|
|
33459
|
+
type_id: "principal_contract";
|
|
33460
|
+
address: string;
|
|
33461
|
+
contract_name: string;
|
|
33462
|
+
};
|
|
33463
|
+
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
33464
|
+
/** @enum {string} */
|
|
33465
|
+
type: "non_fungible";
|
|
33466
|
+
asset_value: {
|
|
33467
|
+
hex: string;
|
|
33468
|
+
repr: string;
|
|
33469
|
+
};
|
|
33470
|
+
asset: {
|
|
33471
|
+
asset_name: string;
|
|
33472
|
+
contract_address: string;
|
|
33473
|
+
contract_name: string;
|
|
33474
|
+
};
|
|
33475
|
+
})[];
|
|
33476
|
+
replaced_by_tx_id: string | null;
|
|
33477
|
+
/** @enum {string} */
|
|
33478
|
+
type: "smart_contract";
|
|
33479
|
+
smart_contract: {
|
|
33480
|
+
/** @description Contract ID of the smart contract */
|
|
33481
|
+
contract_id: string;
|
|
33482
|
+
clarity_version: number | null;
|
|
33483
|
+
/** @description Source code of the smart contract. Only present when requested via the `include=source_code` query param. */
|
|
33484
|
+
source_code?: string;
|
|
33485
|
+
};
|
|
33486
|
+
} | {
|
|
33487
|
+
/** @description Transaction ID */
|
|
33488
|
+
tx_id: string;
|
|
33489
|
+
sender: {
|
|
33490
|
+
/** @description Address of the transaction initiator */
|
|
33491
|
+
address: string;
|
|
33492
|
+
/** @description Nonce of the transaction initiator */
|
|
33493
|
+
nonce: number;
|
|
33494
|
+
};
|
|
33495
|
+
sponsor: {
|
|
33496
|
+
/** @description Address of the transaction initiator */
|
|
33497
|
+
address: string;
|
|
33498
|
+
/** @description Nonce of the transaction initiator */
|
|
33499
|
+
nonce: number;
|
|
33500
|
+
} | null;
|
|
33501
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
33502
|
+
fee_rate: string;
|
|
33503
|
+
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
33504
|
+
receipt_time: number;
|
|
33505
|
+
/** @description Height of the block this transaction was received by the node */
|
|
33506
|
+
receipt_block_height: number;
|
|
33507
|
+
/** @description Status of the mempool transaction */
|
|
33508
|
+
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
33509
|
+
/** @description Only present when requested via the `include=post_conditions` query param. */
|
|
33510
|
+
post_conditions?: ({
|
|
33511
|
+
principal: {
|
|
33512
|
+
/** @enum {string} */
|
|
33513
|
+
type_id: "principal_origin";
|
|
33514
|
+
} | {
|
|
33515
|
+
/** @enum {string} */
|
|
33516
|
+
type_id: "principal_standard";
|
|
33517
|
+
address: string;
|
|
33518
|
+
} | {
|
|
33519
|
+
/** @enum {string} */
|
|
33520
|
+
type_id: "principal_contract";
|
|
33521
|
+
address: string;
|
|
33522
|
+
contract_name: string;
|
|
33523
|
+
};
|
|
33524
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33525
|
+
amount: string;
|
|
33526
|
+
/** @enum {string} */
|
|
33527
|
+
type: "stx";
|
|
33528
|
+
} | {
|
|
33529
|
+
principal: {
|
|
33530
|
+
/** @enum {string} */
|
|
33531
|
+
type_id: "principal_origin";
|
|
33532
|
+
} | {
|
|
33533
|
+
/** @enum {string} */
|
|
33534
|
+
type_id: "principal_standard";
|
|
33535
|
+
address: string;
|
|
33536
|
+
} | {
|
|
33537
|
+
/** @enum {string} */
|
|
33538
|
+
type_id: "principal_contract";
|
|
33539
|
+
address: string;
|
|
33540
|
+
contract_name: string;
|
|
33541
|
+
};
|
|
33542
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33543
|
+
amount: string;
|
|
33544
|
+
/** @enum {string} */
|
|
33545
|
+
type: "fungible";
|
|
33546
|
+
asset: {
|
|
33547
|
+
asset_name: string;
|
|
33548
|
+
contract_address: string;
|
|
33549
|
+
contract_name: string;
|
|
33550
|
+
};
|
|
33551
|
+
} | {
|
|
33552
|
+
principal: {
|
|
33553
|
+
/** @enum {string} */
|
|
33554
|
+
type_id: "principal_origin";
|
|
33555
|
+
} | {
|
|
33556
|
+
/** @enum {string} */
|
|
33557
|
+
type_id: "principal_standard";
|
|
33558
|
+
address: string;
|
|
33559
|
+
} | {
|
|
33560
|
+
/** @enum {string} */
|
|
33561
|
+
type_id: "principal_contract";
|
|
33562
|
+
address: string;
|
|
33563
|
+
contract_name: string;
|
|
33564
|
+
};
|
|
33565
|
+
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
33566
|
+
/** @enum {string} */
|
|
33567
|
+
type: "non_fungible";
|
|
33568
|
+
asset_value: {
|
|
33569
|
+
hex: string;
|
|
33570
|
+
repr: string;
|
|
33571
|
+
};
|
|
33572
|
+
asset: {
|
|
33573
|
+
asset_name: string;
|
|
33574
|
+
contract_address: string;
|
|
33575
|
+
contract_name: string;
|
|
33576
|
+
};
|
|
33577
|
+
})[];
|
|
33578
|
+
replaced_by_tx_id: string | null;
|
|
33579
|
+
/** @enum {string} */
|
|
33580
|
+
type: "contract_call";
|
|
33581
|
+
contract_call: {
|
|
33582
|
+
/** @description Contract ID of the contract call */
|
|
33583
|
+
contract_id: string;
|
|
33584
|
+
/** @description Function name of the contract call */
|
|
33585
|
+
function_name: string;
|
|
33586
|
+
/** @description List of arguments used to invoke the function. Only present when requested via the `include=function_args` query param. */
|
|
33587
|
+
function_args?: {
|
|
33588
|
+
hex: string;
|
|
33589
|
+
repr: string;
|
|
33590
|
+
}[];
|
|
33591
|
+
};
|
|
33592
|
+
} | {
|
|
33593
|
+
/** @description Transaction ID */
|
|
33594
|
+
tx_id: string;
|
|
33595
|
+
sender: {
|
|
33596
|
+
/** @description Address of the transaction initiator */
|
|
33597
|
+
address: string;
|
|
33598
|
+
/** @description Nonce of the transaction initiator */
|
|
33599
|
+
nonce: number;
|
|
33600
|
+
};
|
|
33601
|
+
sponsor: {
|
|
33602
|
+
/** @description Address of the transaction initiator */
|
|
33603
|
+
address: string;
|
|
33604
|
+
/** @description Nonce of the transaction initiator */
|
|
33605
|
+
nonce: number;
|
|
33606
|
+
} | null;
|
|
33607
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
33608
|
+
fee_rate: string;
|
|
33609
|
+
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
33610
|
+
receipt_time: number;
|
|
33611
|
+
/** @description Height of the block this transaction was received by the node */
|
|
33612
|
+
receipt_block_height: number;
|
|
33613
|
+
/** @description Status of the mempool transaction */
|
|
33614
|
+
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
33615
|
+
/** @description Only present when requested via the `include=post_conditions` query param. */
|
|
33616
|
+
post_conditions?: ({
|
|
33617
|
+
principal: {
|
|
33618
|
+
/** @enum {string} */
|
|
33619
|
+
type_id: "principal_origin";
|
|
33620
|
+
} | {
|
|
33621
|
+
/** @enum {string} */
|
|
33622
|
+
type_id: "principal_standard";
|
|
33623
|
+
address: string;
|
|
33624
|
+
} | {
|
|
33625
|
+
/** @enum {string} */
|
|
33626
|
+
type_id: "principal_contract";
|
|
33627
|
+
address: string;
|
|
33628
|
+
contract_name: string;
|
|
33629
|
+
};
|
|
33630
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33631
|
+
amount: string;
|
|
33632
|
+
/** @enum {string} */
|
|
33633
|
+
type: "stx";
|
|
33634
|
+
} | {
|
|
33635
|
+
principal: {
|
|
33636
|
+
/** @enum {string} */
|
|
33637
|
+
type_id: "principal_origin";
|
|
33638
|
+
} | {
|
|
33639
|
+
/** @enum {string} */
|
|
33640
|
+
type_id: "principal_standard";
|
|
33641
|
+
address: string;
|
|
33642
|
+
} | {
|
|
33643
|
+
/** @enum {string} */
|
|
33644
|
+
type_id: "principal_contract";
|
|
33645
|
+
address: string;
|
|
33646
|
+
contract_name: string;
|
|
33647
|
+
};
|
|
33648
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33649
|
+
amount: string;
|
|
33650
|
+
/** @enum {string} */
|
|
33651
|
+
type: "fungible";
|
|
33652
|
+
asset: {
|
|
33653
|
+
asset_name: string;
|
|
33654
|
+
contract_address: string;
|
|
33655
|
+
contract_name: string;
|
|
33656
|
+
};
|
|
33657
|
+
} | {
|
|
33658
|
+
principal: {
|
|
33659
|
+
/** @enum {string} */
|
|
33660
|
+
type_id: "principal_origin";
|
|
33661
|
+
} | {
|
|
33662
|
+
/** @enum {string} */
|
|
33663
|
+
type_id: "principal_standard";
|
|
33664
|
+
address: string;
|
|
33665
|
+
} | {
|
|
33666
|
+
/** @enum {string} */
|
|
33667
|
+
type_id: "principal_contract";
|
|
33668
|
+
address: string;
|
|
33669
|
+
contract_name: string;
|
|
33670
|
+
};
|
|
33671
|
+
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
33672
|
+
/** @enum {string} */
|
|
33673
|
+
type: "non_fungible";
|
|
33674
|
+
asset_value: {
|
|
33675
|
+
hex: string;
|
|
33676
|
+
repr: string;
|
|
33677
|
+
};
|
|
33678
|
+
asset: {
|
|
33679
|
+
asset_name: string;
|
|
33680
|
+
contract_address: string;
|
|
33681
|
+
contract_name: string;
|
|
33682
|
+
};
|
|
33683
|
+
})[];
|
|
33684
|
+
replaced_by_tx_id: string | null;
|
|
33685
|
+
/** @enum {string} */
|
|
33686
|
+
type: "poison_microblock";
|
|
33687
|
+
} | {
|
|
33688
|
+
/** @description Transaction ID */
|
|
33689
|
+
tx_id: string;
|
|
33690
|
+
sender: {
|
|
33691
|
+
/** @description Address of the transaction initiator */
|
|
33692
|
+
address: string;
|
|
33693
|
+
/** @description Nonce of the transaction initiator */
|
|
33694
|
+
nonce: number;
|
|
33695
|
+
};
|
|
33696
|
+
sponsor: {
|
|
33697
|
+
/** @description Address of the transaction initiator */
|
|
33698
|
+
address: string;
|
|
33699
|
+
/** @description Nonce of the transaction initiator */
|
|
33700
|
+
nonce: number;
|
|
33701
|
+
} | null;
|
|
33702
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
33703
|
+
fee_rate: string;
|
|
33704
|
+
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
33705
|
+
receipt_time: number;
|
|
33706
|
+
/** @description Height of the block this transaction was received by the node */
|
|
33707
|
+
receipt_block_height: number;
|
|
33708
|
+
/** @description Status of the mempool transaction */
|
|
33709
|
+
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
33710
|
+
/** @description Only present when requested via the `include=post_conditions` query param. */
|
|
33711
|
+
post_conditions?: ({
|
|
33712
|
+
principal: {
|
|
33713
|
+
/** @enum {string} */
|
|
33714
|
+
type_id: "principal_origin";
|
|
33715
|
+
} | {
|
|
33716
|
+
/** @enum {string} */
|
|
33717
|
+
type_id: "principal_standard";
|
|
33718
|
+
address: string;
|
|
33719
|
+
} | {
|
|
33720
|
+
/** @enum {string} */
|
|
33721
|
+
type_id: "principal_contract";
|
|
33722
|
+
address: string;
|
|
33723
|
+
contract_name: string;
|
|
33724
|
+
};
|
|
33725
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33726
|
+
amount: string;
|
|
33727
|
+
/** @enum {string} */
|
|
33728
|
+
type: "stx";
|
|
33729
|
+
} | {
|
|
33730
|
+
principal: {
|
|
33731
|
+
/** @enum {string} */
|
|
33732
|
+
type_id: "principal_origin";
|
|
33733
|
+
} | {
|
|
33734
|
+
/** @enum {string} */
|
|
33735
|
+
type_id: "principal_standard";
|
|
33736
|
+
address: string;
|
|
33737
|
+
} | {
|
|
33738
|
+
/** @enum {string} */
|
|
33739
|
+
type_id: "principal_contract";
|
|
33740
|
+
address: string;
|
|
33741
|
+
contract_name: string;
|
|
33742
|
+
};
|
|
33743
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33744
|
+
amount: string;
|
|
33745
|
+
/** @enum {string} */
|
|
33746
|
+
type: "fungible";
|
|
33747
|
+
asset: {
|
|
33748
|
+
asset_name: string;
|
|
33749
|
+
contract_address: string;
|
|
33750
|
+
contract_name: string;
|
|
33751
|
+
};
|
|
33752
|
+
} | {
|
|
33753
|
+
principal: {
|
|
33754
|
+
/** @enum {string} */
|
|
33755
|
+
type_id: "principal_origin";
|
|
33756
|
+
} | {
|
|
33757
|
+
/** @enum {string} */
|
|
33758
|
+
type_id: "principal_standard";
|
|
33759
|
+
address: string;
|
|
33760
|
+
} | {
|
|
33761
|
+
/** @enum {string} */
|
|
33762
|
+
type_id: "principal_contract";
|
|
33763
|
+
address: string;
|
|
33764
|
+
contract_name: string;
|
|
33765
|
+
};
|
|
33766
|
+
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
33767
|
+
/** @enum {string} */
|
|
33768
|
+
type: "non_fungible";
|
|
33769
|
+
asset_value: {
|
|
33770
|
+
hex: string;
|
|
33771
|
+
repr: string;
|
|
33772
|
+
};
|
|
33773
|
+
asset: {
|
|
33774
|
+
asset_name: string;
|
|
33775
|
+
contract_address: string;
|
|
33776
|
+
contract_name: string;
|
|
33777
|
+
};
|
|
33778
|
+
})[];
|
|
33779
|
+
replaced_by_tx_id: string | null;
|
|
33780
|
+
/** @enum {string} */
|
|
33781
|
+
type: "tenure_change";
|
|
33782
|
+
} | {
|
|
33783
|
+
/** @description Transaction ID */
|
|
33784
|
+
tx_id: string;
|
|
33785
|
+
sender: {
|
|
33786
|
+
/** @description Address of the transaction initiator */
|
|
33787
|
+
address: string;
|
|
33788
|
+
/** @description Nonce of the transaction initiator */
|
|
33789
|
+
nonce: number;
|
|
33790
|
+
};
|
|
33791
|
+
sponsor: {
|
|
33792
|
+
/** @description Address of the transaction initiator */
|
|
33793
|
+
address: string;
|
|
33794
|
+
/** @description Nonce of the transaction initiator */
|
|
33795
|
+
nonce: number;
|
|
33796
|
+
} | null;
|
|
33797
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
33798
|
+
fee_rate: string;
|
|
33799
|
+
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
33800
|
+
receipt_time: number;
|
|
33801
|
+
/** @description Height of the block this transaction was received by the node */
|
|
33802
|
+
receipt_block_height: number;
|
|
33803
|
+
/** @description Status of the mempool transaction */
|
|
33804
|
+
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
33805
|
+
/** @description Only present when requested via the `include=post_conditions` query param. */
|
|
33806
|
+
post_conditions?: ({
|
|
33807
|
+
principal: {
|
|
33808
|
+
/** @enum {string} */
|
|
33809
|
+
type_id: "principal_origin";
|
|
33810
|
+
} | {
|
|
33811
|
+
/** @enum {string} */
|
|
33812
|
+
type_id: "principal_standard";
|
|
33813
|
+
address: string;
|
|
33814
|
+
} | {
|
|
33815
|
+
/** @enum {string} */
|
|
33816
|
+
type_id: "principal_contract";
|
|
33817
|
+
address: string;
|
|
33818
|
+
contract_name: string;
|
|
33819
|
+
};
|
|
33820
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33821
|
+
amount: string;
|
|
33822
|
+
/** @enum {string} */
|
|
33823
|
+
type: "stx";
|
|
33824
|
+
} | {
|
|
33825
|
+
principal: {
|
|
33826
|
+
/** @enum {string} */
|
|
33827
|
+
type_id: "principal_origin";
|
|
33828
|
+
} | {
|
|
33829
|
+
/** @enum {string} */
|
|
33830
|
+
type_id: "principal_standard";
|
|
33831
|
+
address: string;
|
|
33832
|
+
} | {
|
|
33833
|
+
/** @enum {string} */
|
|
33834
|
+
type_id: "principal_contract";
|
|
33835
|
+
address: string;
|
|
33836
|
+
contract_name: string;
|
|
33837
|
+
};
|
|
33838
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33839
|
+
amount: string;
|
|
33840
|
+
/** @enum {string} */
|
|
33841
|
+
type: "fungible";
|
|
33842
|
+
asset: {
|
|
33843
|
+
asset_name: string;
|
|
33844
|
+
contract_address: string;
|
|
33845
|
+
contract_name: string;
|
|
33846
|
+
};
|
|
33847
|
+
} | {
|
|
33848
|
+
principal: {
|
|
33849
|
+
/** @enum {string} */
|
|
33850
|
+
type_id: "principal_origin";
|
|
33851
|
+
} | {
|
|
33852
|
+
/** @enum {string} */
|
|
33853
|
+
type_id: "principal_standard";
|
|
33854
|
+
address: string;
|
|
33855
|
+
} | {
|
|
33856
|
+
/** @enum {string} */
|
|
33857
|
+
type_id: "principal_contract";
|
|
33858
|
+
address: string;
|
|
33859
|
+
contract_name: string;
|
|
33860
|
+
};
|
|
33861
|
+
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
33862
|
+
/** @enum {string} */
|
|
33863
|
+
type: "non_fungible";
|
|
33864
|
+
asset_value: {
|
|
33865
|
+
hex: string;
|
|
33866
|
+
repr: string;
|
|
33867
|
+
};
|
|
33868
|
+
asset: {
|
|
33869
|
+
asset_name: string;
|
|
33870
|
+
contract_address: string;
|
|
33871
|
+
contract_name: string;
|
|
33872
|
+
};
|
|
33873
|
+
})[];
|
|
33874
|
+
replaced_by_tx_id: string | null;
|
|
33875
|
+
/** @enum {string} */
|
|
33876
|
+
type: "coinbase";
|
|
33877
|
+
});
|
|
33878
|
+
};
|
|
33879
|
+
};
|
|
33880
|
+
/** @description Default Response */
|
|
33881
|
+
"4XX": {
|
|
33882
|
+
headers: {
|
|
33883
|
+
[name: string]: unknown;
|
|
33884
|
+
};
|
|
33885
|
+
content: {
|
|
33886
|
+
"application/json": {
|
|
33887
|
+
error: string;
|
|
33888
|
+
message?: string;
|
|
33889
|
+
} & {
|
|
33890
|
+
[key: string]: unknown;
|
|
33891
|
+
};
|
|
33892
|
+
};
|
|
33893
|
+
};
|
|
33894
|
+
};
|
|
33895
|
+
};
|
|
32393
33896
|
get_mempool_transactions: {
|
|
32394
33897
|
parameters: {
|
|
32395
33898
|
query?: {
|