@stacks/blockchain-api-client 9.0.0-next.33 → 9.0.0-next.35
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 +1892 -137
- package/package.json +1 -1
- package/src/generated/schema.d.ts +1892 -137
|
@@ -1730,6 +1730,46 @@ 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
|
+
};
|
|
1753
|
+
"/extended/v3/transactions/{tx_id}/events": {
|
|
1754
|
+
parameters: {
|
|
1755
|
+
query?: never;
|
|
1756
|
+
header?: never;
|
|
1757
|
+
path?: never;
|
|
1758
|
+
cookie?: never;
|
|
1759
|
+
};
|
|
1760
|
+
/**
|
|
1761
|
+
* Get transaction events
|
|
1762
|
+
* @description Retrieves events for a given transaction ID
|
|
1763
|
+
*/
|
|
1764
|
+
get: operations["get_transaction_events"];
|
|
1765
|
+
put?: never;
|
|
1766
|
+
post?: never;
|
|
1767
|
+
delete?: never;
|
|
1768
|
+
options?: never;
|
|
1769
|
+
head?: never;
|
|
1770
|
+
patch?: never;
|
|
1771
|
+
trace?: never;
|
|
1772
|
+
};
|
|
1733
1773
|
"/extended/v3/mempool/transactions": {
|
|
1734
1774
|
parameters: {
|
|
1735
1775
|
query?: never;
|
|
@@ -31823,7 +31863,10 @@ export interface operations {
|
|
|
31823
31863
|
recipient: string;
|
|
31824
31864
|
/** @description Transfer amount as Integer string (64-bit unsigned integer) */
|
|
31825
31865
|
amount: string;
|
|
31826
|
-
memo:
|
|
31866
|
+
memo: {
|
|
31867
|
+
hex: string;
|
|
31868
|
+
repr: string;
|
|
31869
|
+
} | null;
|
|
31827
31870
|
};
|
|
31828
31871
|
} | {
|
|
31829
31872
|
/** @description Transaction ID */
|
|
@@ -32155,7 +32198,10 @@ export interface operations {
|
|
|
32155
32198
|
recipient: string;
|
|
32156
32199
|
/** @description Transfer amount as Integer string (64-bit unsigned integer) */
|
|
32157
32200
|
amount: string;
|
|
32158
|
-
memo:
|
|
32201
|
+
memo: {
|
|
32202
|
+
hex: string;
|
|
32203
|
+
repr: string;
|
|
32204
|
+
} | null;
|
|
32159
32205
|
};
|
|
32160
32206
|
} | {
|
|
32161
32207
|
/** @description Transaction ID */
|
|
@@ -32390,16 +32436,20 @@ export interface operations {
|
|
|
32390
32436
|
};
|
|
32391
32437
|
};
|
|
32392
32438
|
};
|
|
32393
|
-
|
|
32439
|
+
get_transaction: {
|
|
32394
32440
|
parameters: {
|
|
32395
32441
|
query?: {
|
|
32396
|
-
/** @description
|
|
32397
|
-
|
|
32398
|
-
/** @description Cursor for paginating mempool transactions. Format: receipt_time:tx_id */
|
|
32399
|
-
cursor?: string;
|
|
32442
|
+
/** @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`). */
|
|
32443
|
+
include?: ("function_args" | "source_code" | "post_conditions" | "result")[];
|
|
32400
32444
|
};
|
|
32401
32445
|
header?: never;
|
|
32402
|
-
path
|
|
32446
|
+
path: {
|
|
32447
|
+
/**
|
|
32448
|
+
* @description Transaction ID
|
|
32449
|
+
* @example 0xf6bd5f4a7b26184a3466340b2e99fd003b4962c0e382a7e4b6a13df3dd7a91c6
|
|
32450
|
+
*/
|
|
32451
|
+
tx_id: string;
|
|
32452
|
+
};
|
|
32403
32453
|
cookie?: never;
|
|
32404
32454
|
};
|
|
32405
32455
|
requestBody?: never;
|
|
@@ -32410,149 +32460,1851 @@ export interface operations {
|
|
|
32410
32460
|
[name: string]: unknown;
|
|
32411
32461
|
};
|
|
32412
32462
|
content: {
|
|
32413
|
-
"application/json": {
|
|
32414
|
-
/** @
|
|
32415
|
-
|
|
32416
|
-
|
|
32417
|
-
|
|
32418
|
-
|
|
32419
|
-
|
|
32420
|
-
|
|
32421
|
-
cursor: {
|
|
32422
|
-
next: string | null;
|
|
32423
|
-
previous: string | null;
|
|
32424
|
-
current: string | null;
|
|
32463
|
+
"application/json": ({
|
|
32464
|
+
/** @description Transaction ID */
|
|
32465
|
+
tx_id: string;
|
|
32466
|
+
sender: {
|
|
32467
|
+
/** @description Address of the transaction initiator */
|
|
32468
|
+
address: string;
|
|
32469
|
+
/** @description Nonce of the transaction initiator */
|
|
32470
|
+
nonce: number;
|
|
32425
32471
|
};
|
|
32426
|
-
|
|
32427
|
-
/** @description
|
|
32428
|
-
|
|
32429
|
-
|
|
32430
|
-
|
|
32431
|
-
|
|
32432
|
-
|
|
32433
|
-
|
|
32434
|
-
|
|
32435
|
-
|
|
32436
|
-
|
|
32472
|
+
sponsor: {
|
|
32473
|
+
/** @description Address of the transaction initiator */
|
|
32474
|
+
address: string;
|
|
32475
|
+
/** @description Nonce of the transaction initiator */
|
|
32476
|
+
nonce: number;
|
|
32477
|
+
} | null;
|
|
32478
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
32479
|
+
fee_rate: string;
|
|
32480
|
+
block: {
|
|
32481
|
+
/** @description Height of the block this transactions was associated with */
|
|
32482
|
+
height: number;
|
|
32483
|
+
/** @description Hash of the blocked this transactions was associated with */
|
|
32484
|
+
hash: string;
|
|
32485
|
+
/** @description Hash of the index block this transactions was associated with */
|
|
32486
|
+
index_hash: string;
|
|
32487
|
+
/** @description Unix timestamp (in seconds) indicating when this block was mined. */
|
|
32488
|
+
time: number;
|
|
32489
|
+
/** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
|
|
32490
|
+
tx_index: number;
|
|
32491
|
+
};
|
|
32492
|
+
bitcoin_block: {
|
|
32493
|
+
/** @description Height of the anchor burn block. */
|
|
32494
|
+
height: number;
|
|
32495
|
+
/** @description Unix timestamp (in seconds) indicating when this block was mined. */
|
|
32496
|
+
time: number;
|
|
32497
|
+
};
|
|
32498
|
+
/** @description Status of the transaction */
|
|
32499
|
+
status: "success" | "abort_by_response" | "abort_by_post_condition";
|
|
32500
|
+
parent_block: {
|
|
32501
|
+
/** @description Hash of the parent block */
|
|
32502
|
+
hash: string;
|
|
32503
|
+
/** @description Index block hash of the parent block */
|
|
32504
|
+
index_hash: string;
|
|
32505
|
+
};
|
|
32506
|
+
/** @description Only present when requested via the `include=post_conditions` query param. */
|
|
32507
|
+
post_conditions?: ({
|
|
32508
|
+
principal: {
|
|
32509
|
+
/** @enum {string} */
|
|
32510
|
+
type_id: "principal_origin";
|
|
32511
|
+
} | {
|
|
32512
|
+
/** @enum {string} */
|
|
32513
|
+
type_id: "principal_standard";
|
|
32437
32514
|
address: string;
|
|
32438
|
-
|
|
32439
|
-
|
|
32440
|
-
|
|
32441
|
-
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
32442
|
-
fee_rate: string;
|
|
32443
|
-
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
32444
|
-
receipt_time: number;
|
|
32445
|
-
/** @description Height of the block this transaction was received by the node */
|
|
32446
|
-
receipt_block_height: number;
|
|
32447
|
-
/** @description Status of the mempool transaction */
|
|
32448
|
-
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
32449
|
-
/** @enum {string} */
|
|
32450
|
-
type: "token_transfer";
|
|
32451
|
-
token_transfer: {
|
|
32452
|
-
recipient: string;
|
|
32453
|
-
/** @description Transfer amount as Integer string (64-bit unsigned integer) */
|
|
32454
|
-
amount: string;
|
|
32455
|
-
memo: string | null;
|
|
32456
|
-
};
|
|
32457
|
-
} | {
|
|
32458
|
-
/** @description Transaction ID */
|
|
32459
|
-
tx_id: string;
|
|
32460
|
-
sender: {
|
|
32461
|
-
/** @description Address of the transaction initiator */
|
|
32515
|
+
} | {
|
|
32516
|
+
/** @enum {string} */
|
|
32517
|
+
type_id: "principal_contract";
|
|
32462
32518
|
address: string;
|
|
32463
|
-
|
|
32464
|
-
nonce: number;
|
|
32519
|
+
contract_name: string;
|
|
32465
32520
|
};
|
|
32466
|
-
|
|
32467
|
-
|
|
32468
|
-
address: string;
|
|
32469
|
-
/** @description Nonce of the transaction initiator */
|
|
32470
|
-
nonce: number;
|
|
32471
|
-
} | null;
|
|
32472
|
-
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
32473
|
-
fee_rate: string;
|
|
32474
|
-
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
32475
|
-
receipt_time: number;
|
|
32476
|
-
/** @description Height of the block this transaction was received by the node */
|
|
32477
|
-
receipt_block_height: number;
|
|
32478
|
-
/** @description Status of the mempool transaction */
|
|
32479
|
-
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
32521
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
32522
|
+
amount: string;
|
|
32480
32523
|
/** @enum {string} */
|
|
32481
|
-
type: "
|
|
32482
|
-
smart_contract: {
|
|
32483
|
-
clarity_version: number | null;
|
|
32484
|
-
/** @description Contract identifier formatted as `<principaladdress>.<contract_name>` */
|
|
32485
|
-
contract_id: string;
|
|
32486
|
-
};
|
|
32524
|
+
type: "stx";
|
|
32487
32525
|
} | {
|
|
32488
|
-
|
|
32489
|
-
|
|
32490
|
-
|
|
32491
|
-
|
|
32526
|
+
principal: {
|
|
32527
|
+
/** @enum {string} */
|
|
32528
|
+
type_id: "principal_origin";
|
|
32529
|
+
} | {
|
|
32530
|
+
/** @enum {string} */
|
|
32531
|
+
type_id: "principal_standard";
|
|
32492
32532
|
address: string;
|
|
32493
|
-
|
|
32494
|
-
|
|
32495
|
-
|
|
32496
|
-
sponsor: {
|
|
32497
|
-
/** @description Address of the transaction initiator */
|
|
32533
|
+
} | {
|
|
32534
|
+
/** @enum {string} */
|
|
32535
|
+
type_id: "principal_contract";
|
|
32498
32536
|
address: string;
|
|
32499
|
-
|
|
32500
|
-
|
|
32501
|
-
|
|
32502
|
-
|
|
32503
|
-
fee_rate: string;
|
|
32504
|
-
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
32505
|
-
receipt_time: number;
|
|
32506
|
-
/** @description Height of the block this transaction was received by the node */
|
|
32507
|
-
receipt_block_height: number;
|
|
32508
|
-
/** @description Status of the mempool transaction */
|
|
32509
|
-
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
32537
|
+
contract_name: string;
|
|
32538
|
+
};
|
|
32539
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
32540
|
+
amount: string;
|
|
32510
32541
|
/** @enum {string} */
|
|
32511
|
-
type: "
|
|
32512
|
-
|
|
32513
|
-
|
|
32514
|
-
|
|
32515
|
-
|
|
32516
|
-
function_name: string;
|
|
32542
|
+
type: "fungible";
|
|
32543
|
+
asset: {
|
|
32544
|
+
asset_name: string;
|
|
32545
|
+
contract_address: string;
|
|
32546
|
+
contract_name: string;
|
|
32517
32547
|
};
|
|
32518
32548
|
} | {
|
|
32519
|
-
|
|
32520
|
-
|
|
32521
|
-
|
|
32522
|
-
|
|
32549
|
+
principal: {
|
|
32550
|
+
/** @enum {string} */
|
|
32551
|
+
type_id: "principal_origin";
|
|
32552
|
+
} | {
|
|
32553
|
+
/** @enum {string} */
|
|
32554
|
+
type_id: "principal_standard";
|
|
32523
32555
|
address: string;
|
|
32524
|
-
|
|
32525
|
-
|
|
32526
|
-
|
|
32527
|
-
sponsor: {
|
|
32528
|
-
/** @description Address of the transaction initiator */
|
|
32556
|
+
} | {
|
|
32557
|
+
/** @enum {string} */
|
|
32558
|
+
type_id: "principal_contract";
|
|
32529
32559
|
address: string;
|
|
32530
|
-
|
|
32531
|
-
|
|
32532
|
-
|
|
32533
|
-
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
32534
|
-
fee_rate: string;
|
|
32535
|
-
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
32536
|
-
receipt_time: number;
|
|
32537
|
-
/** @description Height of the block this transaction was received by the node */
|
|
32538
|
-
receipt_block_height: number;
|
|
32539
|
-
/** @description Status of the mempool transaction */
|
|
32540
|
-
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
32560
|
+
contract_name: string;
|
|
32561
|
+
};
|
|
32562
|
+
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
32541
32563
|
/** @enum {string} */
|
|
32542
|
-
type: "
|
|
32543
|
-
|
|
32544
|
-
|
|
32545
|
-
|
|
32546
|
-
sender: {
|
|
32547
|
-
/** @description Address of the transaction initiator */
|
|
32548
|
-
address: string;
|
|
32549
|
-
/** @description Nonce of the transaction initiator */
|
|
32550
|
-
nonce: number;
|
|
32564
|
+
type: "non_fungible";
|
|
32565
|
+
asset_value: {
|
|
32566
|
+
hex: string;
|
|
32567
|
+
repr: string;
|
|
32551
32568
|
};
|
|
32552
|
-
|
|
32553
|
-
|
|
32554
|
-
|
|
32555
|
-
|
|
32569
|
+
asset: {
|
|
32570
|
+
asset_name: string;
|
|
32571
|
+
contract_address: string;
|
|
32572
|
+
contract_name: string;
|
|
32573
|
+
};
|
|
32574
|
+
})[];
|
|
32575
|
+
/** @description Number of events in the transaction */
|
|
32576
|
+
event_count: number;
|
|
32577
|
+
execution_cost: {
|
|
32578
|
+
/** @description Number of reads in the transaction */
|
|
32579
|
+
read_count: number;
|
|
32580
|
+
/** @description Length of reads in the transaction */
|
|
32581
|
+
read_length: number;
|
|
32582
|
+
/** @description Runtime of the transaction */
|
|
32583
|
+
runtime: number;
|
|
32584
|
+
/** @description Number of writes in the transaction */
|
|
32585
|
+
write_count: number;
|
|
32586
|
+
/** @description Length of writes in the transaction */
|
|
32587
|
+
write_length: number;
|
|
32588
|
+
};
|
|
32589
|
+
vm_error: string | null;
|
|
32590
|
+
result?: {
|
|
32591
|
+
hex: string;
|
|
32592
|
+
repr: string;
|
|
32593
|
+
};
|
|
32594
|
+
/** @enum {string} */
|
|
32595
|
+
type: "token_transfer";
|
|
32596
|
+
token_transfer: {
|
|
32597
|
+
/** @description Recipient of the token transfer */
|
|
32598
|
+
recipient: string;
|
|
32599
|
+
/** @description Amount of the token transfer */
|
|
32600
|
+
amount: string;
|
|
32601
|
+
memo: string | null;
|
|
32602
|
+
};
|
|
32603
|
+
} | {
|
|
32604
|
+
/** @description Transaction ID */
|
|
32605
|
+
tx_id: string;
|
|
32606
|
+
sender: {
|
|
32607
|
+
/** @description Address of the transaction initiator */
|
|
32608
|
+
address: string;
|
|
32609
|
+
/** @description Nonce of the transaction initiator */
|
|
32610
|
+
nonce: number;
|
|
32611
|
+
};
|
|
32612
|
+
sponsor: {
|
|
32613
|
+
/** @description Address of the transaction initiator */
|
|
32614
|
+
address: string;
|
|
32615
|
+
/** @description Nonce of the transaction initiator */
|
|
32616
|
+
nonce: number;
|
|
32617
|
+
} | null;
|
|
32618
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
32619
|
+
fee_rate: string;
|
|
32620
|
+
block: {
|
|
32621
|
+
/** @description Height of the block this transactions was associated with */
|
|
32622
|
+
height: number;
|
|
32623
|
+
/** @description Hash of the blocked this transactions was associated with */
|
|
32624
|
+
hash: string;
|
|
32625
|
+
/** @description Hash of the index block this transactions was associated with */
|
|
32626
|
+
index_hash: string;
|
|
32627
|
+
/** @description Unix timestamp (in seconds) indicating when this block was mined. */
|
|
32628
|
+
time: number;
|
|
32629
|
+
/** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
|
|
32630
|
+
tx_index: number;
|
|
32631
|
+
};
|
|
32632
|
+
bitcoin_block: {
|
|
32633
|
+
/** @description Height of the anchor burn block. */
|
|
32634
|
+
height: number;
|
|
32635
|
+
/** @description Unix timestamp (in seconds) indicating when this block was mined. */
|
|
32636
|
+
time: number;
|
|
32637
|
+
};
|
|
32638
|
+
/** @description Status of the transaction */
|
|
32639
|
+
status: "success" | "abort_by_response" | "abort_by_post_condition";
|
|
32640
|
+
parent_block: {
|
|
32641
|
+
/** @description Hash of the parent block */
|
|
32642
|
+
hash: string;
|
|
32643
|
+
/** @description Index block hash of the parent block */
|
|
32644
|
+
index_hash: string;
|
|
32645
|
+
};
|
|
32646
|
+
/** @description Only present when requested via the `include=post_conditions` query param. */
|
|
32647
|
+
post_conditions?: ({
|
|
32648
|
+
principal: {
|
|
32649
|
+
/** @enum {string} */
|
|
32650
|
+
type_id: "principal_origin";
|
|
32651
|
+
} | {
|
|
32652
|
+
/** @enum {string} */
|
|
32653
|
+
type_id: "principal_standard";
|
|
32654
|
+
address: string;
|
|
32655
|
+
} | {
|
|
32656
|
+
/** @enum {string} */
|
|
32657
|
+
type_id: "principal_contract";
|
|
32658
|
+
address: string;
|
|
32659
|
+
contract_name: string;
|
|
32660
|
+
};
|
|
32661
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
32662
|
+
amount: string;
|
|
32663
|
+
/** @enum {string} */
|
|
32664
|
+
type: "stx";
|
|
32665
|
+
} | {
|
|
32666
|
+
principal: {
|
|
32667
|
+
/** @enum {string} */
|
|
32668
|
+
type_id: "principal_origin";
|
|
32669
|
+
} | {
|
|
32670
|
+
/** @enum {string} */
|
|
32671
|
+
type_id: "principal_standard";
|
|
32672
|
+
address: string;
|
|
32673
|
+
} | {
|
|
32674
|
+
/** @enum {string} */
|
|
32675
|
+
type_id: "principal_contract";
|
|
32676
|
+
address: string;
|
|
32677
|
+
contract_name: string;
|
|
32678
|
+
};
|
|
32679
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
32680
|
+
amount: string;
|
|
32681
|
+
/** @enum {string} */
|
|
32682
|
+
type: "fungible";
|
|
32683
|
+
asset: {
|
|
32684
|
+
asset_name: string;
|
|
32685
|
+
contract_address: string;
|
|
32686
|
+
contract_name: string;
|
|
32687
|
+
};
|
|
32688
|
+
} | {
|
|
32689
|
+
principal: {
|
|
32690
|
+
/** @enum {string} */
|
|
32691
|
+
type_id: "principal_origin";
|
|
32692
|
+
} | {
|
|
32693
|
+
/** @enum {string} */
|
|
32694
|
+
type_id: "principal_standard";
|
|
32695
|
+
address: string;
|
|
32696
|
+
} | {
|
|
32697
|
+
/** @enum {string} */
|
|
32698
|
+
type_id: "principal_contract";
|
|
32699
|
+
address: string;
|
|
32700
|
+
contract_name: string;
|
|
32701
|
+
};
|
|
32702
|
+
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
32703
|
+
/** @enum {string} */
|
|
32704
|
+
type: "non_fungible";
|
|
32705
|
+
asset_value: {
|
|
32706
|
+
hex: string;
|
|
32707
|
+
repr: string;
|
|
32708
|
+
};
|
|
32709
|
+
asset: {
|
|
32710
|
+
asset_name: string;
|
|
32711
|
+
contract_address: string;
|
|
32712
|
+
contract_name: string;
|
|
32713
|
+
};
|
|
32714
|
+
})[];
|
|
32715
|
+
/** @description Number of events in the transaction */
|
|
32716
|
+
event_count: number;
|
|
32717
|
+
execution_cost: {
|
|
32718
|
+
/** @description Number of reads in the transaction */
|
|
32719
|
+
read_count: number;
|
|
32720
|
+
/** @description Length of reads in the transaction */
|
|
32721
|
+
read_length: number;
|
|
32722
|
+
/** @description Runtime of the transaction */
|
|
32723
|
+
runtime: number;
|
|
32724
|
+
/** @description Number of writes in the transaction */
|
|
32725
|
+
write_count: number;
|
|
32726
|
+
/** @description Length of writes in the transaction */
|
|
32727
|
+
write_length: number;
|
|
32728
|
+
};
|
|
32729
|
+
vm_error: string | null;
|
|
32730
|
+
result?: {
|
|
32731
|
+
hex: string;
|
|
32732
|
+
repr: string;
|
|
32733
|
+
};
|
|
32734
|
+
/** @enum {string} */
|
|
32735
|
+
type: "smart_contract";
|
|
32736
|
+
smart_contract: {
|
|
32737
|
+
/** @description Contract ID of the smart contract */
|
|
32738
|
+
contract_id: string;
|
|
32739
|
+
clarity_version: number | null;
|
|
32740
|
+
/** @description Source code of the smart contract. Only present when requested via the `include=source_code` query param. */
|
|
32741
|
+
source_code?: string;
|
|
32742
|
+
};
|
|
32743
|
+
} | {
|
|
32744
|
+
/** @description Transaction ID */
|
|
32745
|
+
tx_id: string;
|
|
32746
|
+
sender: {
|
|
32747
|
+
/** @description Address of the transaction initiator */
|
|
32748
|
+
address: string;
|
|
32749
|
+
/** @description Nonce of the transaction initiator */
|
|
32750
|
+
nonce: number;
|
|
32751
|
+
};
|
|
32752
|
+
sponsor: {
|
|
32753
|
+
/** @description Address of the transaction initiator */
|
|
32754
|
+
address: string;
|
|
32755
|
+
/** @description Nonce of the transaction initiator */
|
|
32756
|
+
nonce: number;
|
|
32757
|
+
} | null;
|
|
32758
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
32759
|
+
fee_rate: string;
|
|
32760
|
+
block: {
|
|
32761
|
+
/** @description Height of the block this transactions was associated with */
|
|
32762
|
+
height: number;
|
|
32763
|
+
/** @description Hash of the blocked this transactions was associated with */
|
|
32764
|
+
hash: string;
|
|
32765
|
+
/** @description Hash of the index block this transactions was associated with */
|
|
32766
|
+
index_hash: string;
|
|
32767
|
+
/** @description Unix timestamp (in seconds) indicating when this block was mined. */
|
|
32768
|
+
time: number;
|
|
32769
|
+
/** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
|
|
32770
|
+
tx_index: number;
|
|
32771
|
+
};
|
|
32772
|
+
bitcoin_block: {
|
|
32773
|
+
/** @description Height of the anchor burn block. */
|
|
32774
|
+
height: number;
|
|
32775
|
+
/** @description Unix timestamp (in seconds) indicating when this block was mined. */
|
|
32776
|
+
time: number;
|
|
32777
|
+
};
|
|
32778
|
+
/** @description Status of the transaction */
|
|
32779
|
+
status: "success" | "abort_by_response" | "abort_by_post_condition";
|
|
32780
|
+
parent_block: {
|
|
32781
|
+
/** @description Hash of the parent block */
|
|
32782
|
+
hash: string;
|
|
32783
|
+
/** @description Index block hash of the parent block */
|
|
32784
|
+
index_hash: string;
|
|
32785
|
+
};
|
|
32786
|
+
/** @description Only present when requested via the `include=post_conditions` query param. */
|
|
32787
|
+
post_conditions?: ({
|
|
32788
|
+
principal: {
|
|
32789
|
+
/** @enum {string} */
|
|
32790
|
+
type_id: "principal_origin";
|
|
32791
|
+
} | {
|
|
32792
|
+
/** @enum {string} */
|
|
32793
|
+
type_id: "principal_standard";
|
|
32794
|
+
address: string;
|
|
32795
|
+
} | {
|
|
32796
|
+
/** @enum {string} */
|
|
32797
|
+
type_id: "principal_contract";
|
|
32798
|
+
address: string;
|
|
32799
|
+
contract_name: string;
|
|
32800
|
+
};
|
|
32801
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
32802
|
+
amount: string;
|
|
32803
|
+
/** @enum {string} */
|
|
32804
|
+
type: "stx";
|
|
32805
|
+
} | {
|
|
32806
|
+
principal: {
|
|
32807
|
+
/** @enum {string} */
|
|
32808
|
+
type_id: "principal_origin";
|
|
32809
|
+
} | {
|
|
32810
|
+
/** @enum {string} */
|
|
32811
|
+
type_id: "principal_standard";
|
|
32812
|
+
address: string;
|
|
32813
|
+
} | {
|
|
32814
|
+
/** @enum {string} */
|
|
32815
|
+
type_id: "principal_contract";
|
|
32816
|
+
address: string;
|
|
32817
|
+
contract_name: string;
|
|
32818
|
+
};
|
|
32819
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
32820
|
+
amount: string;
|
|
32821
|
+
/** @enum {string} */
|
|
32822
|
+
type: "fungible";
|
|
32823
|
+
asset: {
|
|
32824
|
+
asset_name: string;
|
|
32825
|
+
contract_address: string;
|
|
32826
|
+
contract_name: string;
|
|
32827
|
+
};
|
|
32828
|
+
} | {
|
|
32829
|
+
principal: {
|
|
32830
|
+
/** @enum {string} */
|
|
32831
|
+
type_id: "principal_origin";
|
|
32832
|
+
} | {
|
|
32833
|
+
/** @enum {string} */
|
|
32834
|
+
type_id: "principal_standard";
|
|
32835
|
+
address: string;
|
|
32836
|
+
} | {
|
|
32837
|
+
/** @enum {string} */
|
|
32838
|
+
type_id: "principal_contract";
|
|
32839
|
+
address: string;
|
|
32840
|
+
contract_name: string;
|
|
32841
|
+
};
|
|
32842
|
+
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
32843
|
+
/** @enum {string} */
|
|
32844
|
+
type: "non_fungible";
|
|
32845
|
+
asset_value: {
|
|
32846
|
+
hex: string;
|
|
32847
|
+
repr: string;
|
|
32848
|
+
};
|
|
32849
|
+
asset: {
|
|
32850
|
+
asset_name: string;
|
|
32851
|
+
contract_address: string;
|
|
32852
|
+
contract_name: string;
|
|
32853
|
+
};
|
|
32854
|
+
})[];
|
|
32855
|
+
/** @description Number of events in the transaction */
|
|
32856
|
+
event_count: number;
|
|
32857
|
+
execution_cost: {
|
|
32858
|
+
/** @description Number of reads in the transaction */
|
|
32859
|
+
read_count: number;
|
|
32860
|
+
/** @description Length of reads in the transaction */
|
|
32861
|
+
read_length: number;
|
|
32862
|
+
/** @description Runtime of the transaction */
|
|
32863
|
+
runtime: number;
|
|
32864
|
+
/** @description Number of writes in the transaction */
|
|
32865
|
+
write_count: number;
|
|
32866
|
+
/** @description Length of writes in the transaction */
|
|
32867
|
+
write_length: number;
|
|
32868
|
+
};
|
|
32869
|
+
vm_error: string | null;
|
|
32870
|
+
result?: {
|
|
32871
|
+
hex: string;
|
|
32872
|
+
repr: string;
|
|
32873
|
+
};
|
|
32874
|
+
/** @enum {string} */
|
|
32875
|
+
type: "contract_call";
|
|
32876
|
+
contract_call: {
|
|
32877
|
+
/** @description Contract ID of the contract call */
|
|
32878
|
+
contract_id: string;
|
|
32879
|
+
/** @description Function name of the contract call */
|
|
32880
|
+
function_name: string;
|
|
32881
|
+
/** @description List of arguments used to invoke the function. Only present when requested via the `include=function_args` query param. */
|
|
32882
|
+
function_args?: {
|
|
32883
|
+
hex: string;
|
|
32884
|
+
repr: string;
|
|
32885
|
+
}[];
|
|
32886
|
+
};
|
|
32887
|
+
} | {
|
|
32888
|
+
/** @description Transaction ID */
|
|
32889
|
+
tx_id: string;
|
|
32890
|
+
sender: {
|
|
32891
|
+
/** @description Address of the transaction initiator */
|
|
32892
|
+
address: string;
|
|
32893
|
+
/** @description Nonce of the transaction initiator */
|
|
32894
|
+
nonce: number;
|
|
32895
|
+
};
|
|
32896
|
+
sponsor: {
|
|
32897
|
+
/** @description Address of the transaction initiator */
|
|
32898
|
+
address: string;
|
|
32899
|
+
/** @description Nonce of the transaction initiator */
|
|
32900
|
+
nonce: number;
|
|
32901
|
+
} | null;
|
|
32902
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
32903
|
+
fee_rate: string;
|
|
32904
|
+
block: {
|
|
32905
|
+
/** @description Height of the block this transactions was associated with */
|
|
32906
|
+
height: number;
|
|
32907
|
+
/** @description Hash of the blocked this transactions was associated with */
|
|
32908
|
+
hash: string;
|
|
32909
|
+
/** @description Hash of the index block this transactions was associated with */
|
|
32910
|
+
index_hash: string;
|
|
32911
|
+
/** @description Unix timestamp (in seconds) indicating when this block was mined. */
|
|
32912
|
+
time: number;
|
|
32913
|
+
/** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
|
|
32914
|
+
tx_index: number;
|
|
32915
|
+
};
|
|
32916
|
+
bitcoin_block: {
|
|
32917
|
+
/** @description Height of the anchor burn block. */
|
|
32918
|
+
height: number;
|
|
32919
|
+
/** @description Unix timestamp (in seconds) indicating when this block was mined. */
|
|
32920
|
+
time: number;
|
|
32921
|
+
};
|
|
32922
|
+
/** @description Status of the transaction */
|
|
32923
|
+
status: "success" | "abort_by_response" | "abort_by_post_condition";
|
|
32924
|
+
parent_block: {
|
|
32925
|
+
/** @description Hash of the parent block */
|
|
32926
|
+
hash: string;
|
|
32927
|
+
/** @description Index block hash of the parent block */
|
|
32928
|
+
index_hash: string;
|
|
32929
|
+
};
|
|
32930
|
+
/** @description Only present when requested via the `include=post_conditions` query param. */
|
|
32931
|
+
post_conditions?: ({
|
|
32932
|
+
principal: {
|
|
32933
|
+
/** @enum {string} */
|
|
32934
|
+
type_id: "principal_origin";
|
|
32935
|
+
} | {
|
|
32936
|
+
/** @enum {string} */
|
|
32937
|
+
type_id: "principal_standard";
|
|
32938
|
+
address: string;
|
|
32939
|
+
} | {
|
|
32940
|
+
/** @enum {string} */
|
|
32941
|
+
type_id: "principal_contract";
|
|
32942
|
+
address: string;
|
|
32943
|
+
contract_name: string;
|
|
32944
|
+
};
|
|
32945
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
32946
|
+
amount: string;
|
|
32947
|
+
/** @enum {string} */
|
|
32948
|
+
type: "stx";
|
|
32949
|
+
} | {
|
|
32950
|
+
principal: {
|
|
32951
|
+
/** @enum {string} */
|
|
32952
|
+
type_id: "principal_origin";
|
|
32953
|
+
} | {
|
|
32954
|
+
/** @enum {string} */
|
|
32955
|
+
type_id: "principal_standard";
|
|
32956
|
+
address: string;
|
|
32957
|
+
} | {
|
|
32958
|
+
/** @enum {string} */
|
|
32959
|
+
type_id: "principal_contract";
|
|
32960
|
+
address: string;
|
|
32961
|
+
contract_name: string;
|
|
32962
|
+
};
|
|
32963
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
32964
|
+
amount: string;
|
|
32965
|
+
/** @enum {string} */
|
|
32966
|
+
type: "fungible";
|
|
32967
|
+
asset: {
|
|
32968
|
+
asset_name: string;
|
|
32969
|
+
contract_address: string;
|
|
32970
|
+
contract_name: string;
|
|
32971
|
+
};
|
|
32972
|
+
} | {
|
|
32973
|
+
principal: {
|
|
32974
|
+
/** @enum {string} */
|
|
32975
|
+
type_id: "principal_origin";
|
|
32976
|
+
} | {
|
|
32977
|
+
/** @enum {string} */
|
|
32978
|
+
type_id: "principal_standard";
|
|
32979
|
+
address: string;
|
|
32980
|
+
} | {
|
|
32981
|
+
/** @enum {string} */
|
|
32982
|
+
type_id: "principal_contract";
|
|
32983
|
+
address: string;
|
|
32984
|
+
contract_name: string;
|
|
32985
|
+
};
|
|
32986
|
+
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
32987
|
+
/** @enum {string} */
|
|
32988
|
+
type: "non_fungible";
|
|
32989
|
+
asset_value: {
|
|
32990
|
+
hex: string;
|
|
32991
|
+
repr: string;
|
|
32992
|
+
};
|
|
32993
|
+
asset: {
|
|
32994
|
+
asset_name: string;
|
|
32995
|
+
contract_address: string;
|
|
32996
|
+
contract_name: string;
|
|
32997
|
+
};
|
|
32998
|
+
})[];
|
|
32999
|
+
/** @description Number of events in the transaction */
|
|
33000
|
+
event_count: number;
|
|
33001
|
+
execution_cost: {
|
|
33002
|
+
/** @description Number of reads in the transaction */
|
|
33003
|
+
read_count: number;
|
|
33004
|
+
/** @description Length of reads in the transaction */
|
|
33005
|
+
read_length: number;
|
|
33006
|
+
/** @description Runtime of the transaction */
|
|
33007
|
+
runtime: number;
|
|
33008
|
+
/** @description Number of writes in the transaction */
|
|
33009
|
+
write_count: number;
|
|
33010
|
+
/** @description Length of writes in the transaction */
|
|
33011
|
+
write_length: number;
|
|
33012
|
+
};
|
|
33013
|
+
vm_error: string | null;
|
|
33014
|
+
result?: {
|
|
33015
|
+
hex: string;
|
|
33016
|
+
repr: string;
|
|
33017
|
+
};
|
|
33018
|
+
/** @enum {string} */
|
|
33019
|
+
type: "poison_microblock";
|
|
33020
|
+
} | {
|
|
33021
|
+
/** @description Transaction ID */
|
|
33022
|
+
tx_id: string;
|
|
33023
|
+
sender: {
|
|
33024
|
+
/** @description Address of the transaction initiator */
|
|
33025
|
+
address: string;
|
|
33026
|
+
/** @description Nonce of the transaction initiator */
|
|
33027
|
+
nonce: number;
|
|
33028
|
+
};
|
|
33029
|
+
sponsor: {
|
|
33030
|
+
/** @description Address of the transaction initiator */
|
|
33031
|
+
address: string;
|
|
33032
|
+
/** @description Nonce of the transaction initiator */
|
|
33033
|
+
nonce: number;
|
|
33034
|
+
} | null;
|
|
33035
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
33036
|
+
fee_rate: string;
|
|
33037
|
+
block: {
|
|
33038
|
+
/** @description Height of the block this transactions was associated with */
|
|
33039
|
+
height: number;
|
|
33040
|
+
/** @description Hash of the blocked this transactions was associated with */
|
|
33041
|
+
hash: string;
|
|
33042
|
+
/** @description Hash of the index block this transactions was associated with */
|
|
33043
|
+
index_hash: string;
|
|
33044
|
+
/** @description Unix timestamp (in seconds) indicating when this block was mined. */
|
|
33045
|
+
time: number;
|
|
33046
|
+
/** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
|
|
33047
|
+
tx_index: number;
|
|
33048
|
+
};
|
|
33049
|
+
bitcoin_block: {
|
|
33050
|
+
/** @description Height of the anchor burn block. */
|
|
33051
|
+
height: number;
|
|
33052
|
+
/** @description Unix timestamp (in seconds) indicating when this block was mined. */
|
|
33053
|
+
time: number;
|
|
33054
|
+
};
|
|
33055
|
+
/** @description Status of the transaction */
|
|
33056
|
+
status: "success" | "abort_by_response" | "abort_by_post_condition";
|
|
33057
|
+
parent_block: {
|
|
33058
|
+
/** @description Hash of the parent block */
|
|
33059
|
+
hash: string;
|
|
33060
|
+
/** @description Index block hash of the parent block */
|
|
33061
|
+
index_hash: string;
|
|
33062
|
+
};
|
|
33063
|
+
/** @description Only present when requested via the `include=post_conditions` query param. */
|
|
33064
|
+
post_conditions?: ({
|
|
33065
|
+
principal: {
|
|
33066
|
+
/** @enum {string} */
|
|
33067
|
+
type_id: "principal_origin";
|
|
33068
|
+
} | {
|
|
33069
|
+
/** @enum {string} */
|
|
33070
|
+
type_id: "principal_standard";
|
|
33071
|
+
address: string;
|
|
33072
|
+
} | {
|
|
33073
|
+
/** @enum {string} */
|
|
33074
|
+
type_id: "principal_contract";
|
|
33075
|
+
address: string;
|
|
33076
|
+
contract_name: string;
|
|
33077
|
+
};
|
|
33078
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33079
|
+
amount: string;
|
|
33080
|
+
/** @enum {string} */
|
|
33081
|
+
type: "stx";
|
|
33082
|
+
} | {
|
|
33083
|
+
principal: {
|
|
33084
|
+
/** @enum {string} */
|
|
33085
|
+
type_id: "principal_origin";
|
|
33086
|
+
} | {
|
|
33087
|
+
/** @enum {string} */
|
|
33088
|
+
type_id: "principal_standard";
|
|
33089
|
+
address: string;
|
|
33090
|
+
} | {
|
|
33091
|
+
/** @enum {string} */
|
|
33092
|
+
type_id: "principal_contract";
|
|
33093
|
+
address: string;
|
|
33094
|
+
contract_name: string;
|
|
33095
|
+
};
|
|
33096
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33097
|
+
amount: string;
|
|
33098
|
+
/** @enum {string} */
|
|
33099
|
+
type: "fungible";
|
|
33100
|
+
asset: {
|
|
33101
|
+
asset_name: string;
|
|
33102
|
+
contract_address: string;
|
|
33103
|
+
contract_name: string;
|
|
33104
|
+
};
|
|
33105
|
+
} | {
|
|
33106
|
+
principal: {
|
|
33107
|
+
/** @enum {string} */
|
|
33108
|
+
type_id: "principal_origin";
|
|
33109
|
+
} | {
|
|
33110
|
+
/** @enum {string} */
|
|
33111
|
+
type_id: "principal_standard";
|
|
33112
|
+
address: string;
|
|
33113
|
+
} | {
|
|
33114
|
+
/** @enum {string} */
|
|
33115
|
+
type_id: "principal_contract";
|
|
33116
|
+
address: string;
|
|
33117
|
+
contract_name: string;
|
|
33118
|
+
};
|
|
33119
|
+
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
33120
|
+
/** @enum {string} */
|
|
33121
|
+
type: "non_fungible";
|
|
33122
|
+
asset_value: {
|
|
33123
|
+
hex: string;
|
|
33124
|
+
repr: string;
|
|
33125
|
+
};
|
|
33126
|
+
asset: {
|
|
33127
|
+
asset_name: string;
|
|
33128
|
+
contract_address: string;
|
|
33129
|
+
contract_name: string;
|
|
33130
|
+
};
|
|
33131
|
+
})[];
|
|
33132
|
+
/** @description Number of events in the transaction */
|
|
33133
|
+
event_count: number;
|
|
33134
|
+
execution_cost: {
|
|
33135
|
+
/** @description Number of reads in the transaction */
|
|
33136
|
+
read_count: number;
|
|
33137
|
+
/** @description Length of reads in the transaction */
|
|
33138
|
+
read_length: number;
|
|
33139
|
+
/** @description Runtime of the transaction */
|
|
33140
|
+
runtime: number;
|
|
33141
|
+
/** @description Number of writes in the transaction */
|
|
33142
|
+
write_count: number;
|
|
33143
|
+
/** @description Length of writes in the transaction */
|
|
33144
|
+
write_length: number;
|
|
33145
|
+
};
|
|
33146
|
+
vm_error: string | null;
|
|
33147
|
+
result?: {
|
|
33148
|
+
hex: string;
|
|
33149
|
+
repr: string;
|
|
33150
|
+
};
|
|
33151
|
+
/** @enum {string} */
|
|
33152
|
+
type: "tenure_change";
|
|
33153
|
+
tenure_change: {
|
|
33154
|
+
/** @description Consensus hash of this tenure. Corresponds to the sortition in which the miner of this block was chosen. */
|
|
33155
|
+
tenure_consensus_hash: string;
|
|
33156
|
+
/** @description Consensus hash of the previous tenure. Corresponds to the sortition of the previous winning block-commit. */
|
|
33157
|
+
prev_tenure_consensus_hash: string;
|
|
33158
|
+
/** @description Current consensus hash on the underlying burnchain. Corresponds to the last-seen sortition. */
|
|
33159
|
+
burn_view_consensus_hash: string;
|
|
33160
|
+
/** @description (Hex string) Stacks Block hash */
|
|
33161
|
+
previous_tenure_end: string;
|
|
33162
|
+
/** @description The number of blocks produced in the previous tenure. */
|
|
33163
|
+
previous_tenure_blocks: number;
|
|
33164
|
+
/** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
|
|
33165
|
+
cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
|
|
33166
|
+
/** @description (Hex string) The ECDSA public key hash of the current tenure. */
|
|
33167
|
+
pubkey_hash: string;
|
|
33168
|
+
};
|
|
33169
|
+
} | {
|
|
33170
|
+
/** @description Transaction ID */
|
|
33171
|
+
tx_id: string;
|
|
33172
|
+
sender: {
|
|
33173
|
+
/** @description Address of the transaction initiator */
|
|
33174
|
+
address: string;
|
|
33175
|
+
/** @description Nonce of the transaction initiator */
|
|
33176
|
+
nonce: number;
|
|
33177
|
+
};
|
|
33178
|
+
sponsor: {
|
|
33179
|
+
/** @description Address of the transaction initiator */
|
|
33180
|
+
address: string;
|
|
33181
|
+
/** @description Nonce of the transaction initiator */
|
|
33182
|
+
nonce: number;
|
|
33183
|
+
} | null;
|
|
33184
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
33185
|
+
fee_rate: string;
|
|
33186
|
+
block: {
|
|
33187
|
+
/** @description Height of the block this transactions was associated with */
|
|
33188
|
+
height: number;
|
|
33189
|
+
/** @description Hash of the blocked this transactions was associated with */
|
|
33190
|
+
hash: string;
|
|
33191
|
+
/** @description Hash of the index block this transactions was associated with */
|
|
33192
|
+
index_hash: string;
|
|
33193
|
+
/** @description Unix timestamp (in seconds) indicating when this block was mined. */
|
|
33194
|
+
time: number;
|
|
33195
|
+
/** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
|
|
33196
|
+
tx_index: number;
|
|
33197
|
+
};
|
|
33198
|
+
bitcoin_block: {
|
|
33199
|
+
/** @description Height of the anchor burn block. */
|
|
33200
|
+
height: number;
|
|
33201
|
+
/** @description Unix timestamp (in seconds) indicating when this block was mined. */
|
|
33202
|
+
time: number;
|
|
33203
|
+
};
|
|
33204
|
+
/** @description Status of the transaction */
|
|
33205
|
+
status: "success" | "abort_by_response" | "abort_by_post_condition";
|
|
33206
|
+
parent_block: {
|
|
33207
|
+
/** @description Hash of the parent block */
|
|
33208
|
+
hash: string;
|
|
33209
|
+
/** @description Index block hash of the parent block */
|
|
33210
|
+
index_hash: string;
|
|
33211
|
+
};
|
|
33212
|
+
/** @description Only present when requested via the `include=post_conditions` query param. */
|
|
33213
|
+
post_conditions?: ({
|
|
33214
|
+
principal: {
|
|
33215
|
+
/** @enum {string} */
|
|
33216
|
+
type_id: "principal_origin";
|
|
33217
|
+
} | {
|
|
33218
|
+
/** @enum {string} */
|
|
33219
|
+
type_id: "principal_standard";
|
|
33220
|
+
address: string;
|
|
33221
|
+
} | {
|
|
33222
|
+
/** @enum {string} */
|
|
33223
|
+
type_id: "principal_contract";
|
|
33224
|
+
address: string;
|
|
33225
|
+
contract_name: string;
|
|
33226
|
+
};
|
|
33227
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33228
|
+
amount: string;
|
|
33229
|
+
/** @enum {string} */
|
|
33230
|
+
type: "stx";
|
|
33231
|
+
} | {
|
|
33232
|
+
principal: {
|
|
33233
|
+
/** @enum {string} */
|
|
33234
|
+
type_id: "principal_origin";
|
|
33235
|
+
} | {
|
|
33236
|
+
/** @enum {string} */
|
|
33237
|
+
type_id: "principal_standard";
|
|
33238
|
+
address: string;
|
|
33239
|
+
} | {
|
|
33240
|
+
/** @enum {string} */
|
|
33241
|
+
type_id: "principal_contract";
|
|
33242
|
+
address: string;
|
|
33243
|
+
contract_name: string;
|
|
33244
|
+
};
|
|
33245
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33246
|
+
amount: string;
|
|
33247
|
+
/** @enum {string} */
|
|
33248
|
+
type: "fungible";
|
|
33249
|
+
asset: {
|
|
33250
|
+
asset_name: string;
|
|
33251
|
+
contract_address: string;
|
|
33252
|
+
contract_name: string;
|
|
33253
|
+
};
|
|
33254
|
+
} | {
|
|
33255
|
+
principal: {
|
|
33256
|
+
/** @enum {string} */
|
|
33257
|
+
type_id: "principal_origin";
|
|
33258
|
+
} | {
|
|
33259
|
+
/** @enum {string} */
|
|
33260
|
+
type_id: "principal_standard";
|
|
33261
|
+
address: string;
|
|
33262
|
+
} | {
|
|
33263
|
+
/** @enum {string} */
|
|
33264
|
+
type_id: "principal_contract";
|
|
33265
|
+
address: string;
|
|
33266
|
+
contract_name: string;
|
|
33267
|
+
};
|
|
33268
|
+
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
33269
|
+
/** @enum {string} */
|
|
33270
|
+
type: "non_fungible";
|
|
33271
|
+
asset_value: {
|
|
33272
|
+
hex: string;
|
|
33273
|
+
repr: string;
|
|
33274
|
+
};
|
|
33275
|
+
asset: {
|
|
33276
|
+
asset_name: string;
|
|
33277
|
+
contract_address: string;
|
|
33278
|
+
contract_name: string;
|
|
33279
|
+
};
|
|
33280
|
+
})[];
|
|
33281
|
+
/** @description Number of events in the transaction */
|
|
33282
|
+
event_count: number;
|
|
33283
|
+
execution_cost: {
|
|
33284
|
+
/** @description Number of reads in the transaction */
|
|
33285
|
+
read_count: number;
|
|
33286
|
+
/** @description Length of reads in the transaction */
|
|
33287
|
+
read_length: number;
|
|
33288
|
+
/** @description Runtime of the transaction */
|
|
33289
|
+
runtime: number;
|
|
33290
|
+
/** @description Number of writes in the transaction */
|
|
33291
|
+
write_count: number;
|
|
33292
|
+
/** @description Length of writes in the transaction */
|
|
33293
|
+
write_length: number;
|
|
33294
|
+
};
|
|
33295
|
+
vm_error: string | null;
|
|
33296
|
+
result?: {
|
|
33297
|
+
hex: string;
|
|
33298
|
+
repr: string;
|
|
33299
|
+
};
|
|
33300
|
+
/** @enum {string} */
|
|
33301
|
+
type: "coinbase";
|
|
33302
|
+
coinbase: {
|
|
33303
|
+
/** @description Payload of the coinbase transaction */
|
|
33304
|
+
payload: string;
|
|
33305
|
+
alt_recipient: string | null;
|
|
33306
|
+
vrf_proof: string | null;
|
|
33307
|
+
};
|
|
33308
|
+
}) | ({
|
|
33309
|
+
/** @description Transaction ID */
|
|
33310
|
+
tx_id: string;
|
|
33311
|
+
sender: {
|
|
33312
|
+
/** @description Address of the transaction initiator */
|
|
33313
|
+
address: string;
|
|
33314
|
+
/** @description Nonce of the transaction initiator */
|
|
33315
|
+
nonce: number;
|
|
33316
|
+
};
|
|
33317
|
+
sponsor: {
|
|
33318
|
+
/** @description Address of the transaction initiator */
|
|
33319
|
+
address: string;
|
|
33320
|
+
/** @description Nonce of the transaction initiator */
|
|
33321
|
+
nonce: number;
|
|
33322
|
+
} | null;
|
|
33323
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
33324
|
+
fee_rate: string;
|
|
33325
|
+
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
33326
|
+
receipt_time: number;
|
|
33327
|
+
/** @description Height of the block this transaction was received by the node */
|
|
33328
|
+
receipt_block_height: number;
|
|
33329
|
+
/** @description Status of the mempool transaction */
|
|
33330
|
+
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
33331
|
+
/** @description Only present when requested via the `include=post_conditions` query param. */
|
|
33332
|
+
post_conditions?: ({
|
|
33333
|
+
principal: {
|
|
33334
|
+
/** @enum {string} */
|
|
33335
|
+
type_id: "principal_origin";
|
|
33336
|
+
} | {
|
|
33337
|
+
/** @enum {string} */
|
|
33338
|
+
type_id: "principal_standard";
|
|
33339
|
+
address: string;
|
|
33340
|
+
} | {
|
|
33341
|
+
/** @enum {string} */
|
|
33342
|
+
type_id: "principal_contract";
|
|
33343
|
+
address: string;
|
|
33344
|
+
contract_name: string;
|
|
33345
|
+
};
|
|
33346
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33347
|
+
amount: string;
|
|
33348
|
+
/** @enum {string} */
|
|
33349
|
+
type: "stx";
|
|
33350
|
+
} | {
|
|
33351
|
+
principal: {
|
|
33352
|
+
/** @enum {string} */
|
|
33353
|
+
type_id: "principal_origin";
|
|
33354
|
+
} | {
|
|
33355
|
+
/** @enum {string} */
|
|
33356
|
+
type_id: "principal_standard";
|
|
33357
|
+
address: string;
|
|
33358
|
+
} | {
|
|
33359
|
+
/** @enum {string} */
|
|
33360
|
+
type_id: "principal_contract";
|
|
33361
|
+
address: string;
|
|
33362
|
+
contract_name: string;
|
|
33363
|
+
};
|
|
33364
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33365
|
+
amount: string;
|
|
33366
|
+
/** @enum {string} */
|
|
33367
|
+
type: "fungible";
|
|
33368
|
+
asset: {
|
|
33369
|
+
asset_name: string;
|
|
33370
|
+
contract_address: string;
|
|
33371
|
+
contract_name: string;
|
|
33372
|
+
};
|
|
33373
|
+
} | {
|
|
33374
|
+
principal: {
|
|
33375
|
+
/** @enum {string} */
|
|
33376
|
+
type_id: "principal_origin";
|
|
33377
|
+
} | {
|
|
33378
|
+
/** @enum {string} */
|
|
33379
|
+
type_id: "principal_standard";
|
|
33380
|
+
address: string;
|
|
33381
|
+
} | {
|
|
33382
|
+
/** @enum {string} */
|
|
33383
|
+
type_id: "principal_contract";
|
|
33384
|
+
address: string;
|
|
33385
|
+
contract_name: string;
|
|
33386
|
+
};
|
|
33387
|
+
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
33388
|
+
/** @enum {string} */
|
|
33389
|
+
type: "non_fungible";
|
|
33390
|
+
asset_value: {
|
|
33391
|
+
hex: string;
|
|
33392
|
+
repr: string;
|
|
33393
|
+
};
|
|
33394
|
+
asset: {
|
|
33395
|
+
asset_name: string;
|
|
33396
|
+
contract_address: string;
|
|
33397
|
+
contract_name: string;
|
|
33398
|
+
};
|
|
33399
|
+
})[];
|
|
33400
|
+
replaced_by_tx_id: string | null;
|
|
33401
|
+
/** @enum {string} */
|
|
33402
|
+
type: "token_transfer";
|
|
33403
|
+
token_transfer: {
|
|
33404
|
+
/** @description Recipient of the token transfer */
|
|
33405
|
+
recipient: string;
|
|
33406
|
+
/** @description Amount of the token transfer */
|
|
33407
|
+
amount: string;
|
|
33408
|
+
memo: string | null;
|
|
33409
|
+
};
|
|
33410
|
+
} | {
|
|
33411
|
+
/** @description Transaction ID */
|
|
33412
|
+
tx_id: string;
|
|
33413
|
+
sender: {
|
|
33414
|
+
/** @description Address of the transaction initiator */
|
|
33415
|
+
address: string;
|
|
33416
|
+
/** @description Nonce of the transaction initiator */
|
|
33417
|
+
nonce: number;
|
|
33418
|
+
};
|
|
33419
|
+
sponsor: {
|
|
33420
|
+
/** @description Address of the transaction initiator */
|
|
33421
|
+
address: string;
|
|
33422
|
+
/** @description Nonce of the transaction initiator */
|
|
33423
|
+
nonce: number;
|
|
33424
|
+
} | null;
|
|
33425
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
33426
|
+
fee_rate: string;
|
|
33427
|
+
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
33428
|
+
receipt_time: number;
|
|
33429
|
+
/** @description Height of the block this transaction was received by the node */
|
|
33430
|
+
receipt_block_height: number;
|
|
33431
|
+
/** @description Status of the mempool transaction */
|
|
33432
|
+
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
33433
|
+
/** @description Only present when requested via the `include=post_conditions` query param. */
|
|
33434
|
+
post_conditions?: ({
|
|
33435
|
+
principal: {
|
|
33436
|
+
/** @enum {string} */
|
|
33437
|
+
type_id: "principal_origin";
|
|
33438
|
+
} | {
|
|
33439
|
+
/** @enum {string} */
|
|
33440
|
+
type_id: "principal_standard";
|
|
33441
|
+
address: string;
|
|
33442
|
+
} | {
|
|
33443
|
+
/** @enum {string} */
|
|
33444
|
+
type_id: "principal_contract";
|
|
33445
|
+
address: string;
|
|
33446
|
+
contract_name: string;
|
|
33447
|
+
};
|
|
33448
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33449
|
+
amount: string;
|
|
33450
|
+
/** @enum {string} */
|
|
33451
|
+
type: "stx";
|
|
33452
|
+
} | {
|
|
33453
|
+
principal: {
|
|
33454
|
+
/** @enum {string} */
|
|
33455
|
+
type_id: "principal_origin";
|
|
33456
|
+
} | {
|
|
33457
|
+
/** @enum {string} */
|
|
33458
|
+
type_id: "principal_standard";
|
|
33459
|
+
address: string;
|
|
33460
|
+
} | {
|
|
33461
|
+
/** @enum {string} */
|
|
33462
|
+
type_id: "principal_contract";
|
|
33463
|
+
address: string;
|
|
33464
|
+
contract_name: string;
|
|
33465
|
+
};
|
|
33466
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33467
|
+
amount: string;
|
|
33468
|
+
/** @enum {string} */
|
|
33469
|
+
type: "fungible";
|
|
33470
|
+
asset: {
|
|
33471
|
+
asset_name: string;
|
|
33472
|
+
contract_address: string;
|
|
33473
|
+
contract_name: string;
|
|
33474
|
+
};
|
|
33475
|
+
} | {
|
|
33476
|
+
principal: {
|
|
33477
|
+
/** @enum {string} */
|
|
33478
|
+
type_id: "principal_origin";
|
|
33479
|
+
} | {
|
|
33480
|
+
/** @enum {string} */
|
|
33481
|
+
type_id: "principal_standard";
|
|
33482
|
+
address: string;
|
|
33483
|
+
} | {
|
|
33484
|
+
/** @enum {string} */
|
|
33485
|
+
type_id: "principal_contract";
|
|
33486
|
+
address: string;
|
|
33487
|
+
contract_name: string;
|
|
33488
|
+
};
|
|
33489
|
+
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
33490
|
+
/** @enum {string} */
|
|
33491
|
+
type: "non_fungible";
|
|
33492
|
+
asset_value: {
|
|
33493
|
+
hex: string;
|
|
33494
|
+
repr: string;
|
|
33495
|
+
};
|
|
33496
|
+
asset: {
|
|
33497
|
+
asset_name: string;
|
|
33498
|
+
contract_address: string;
|
|
33499
|
+
contract_name: string;
|
|
33500
|
+
};
|
|
33501
|
+
})[];
|
|
33502
|
+
replaced_by_tx_id: string | null;
|
|
33503
|
+
/** @enum {string} */
|
|
33504
|
+
type: "smart_contract";
|
|
33505
|
+
smart_contract: {
|
|
33506
|
+
/** @description Contract ID of the smart contract */
|
|
33507
|
+
contract_id: string;
|
|
33508
|
+
clarity_version: number | null;
|
|
33509
|
+
/** @description Source code of the smart contract. Only present when requested via the `include=source_code` query param. */
|
|
33510
|
+
source_code?: string;
|
|
33511
|
+
};
|
|
33512
|
+
} | {
|
|
33513
|
+
/** @description Transaction ID */
|
|
33514
|
+
tx_id: string;
|
|
33515
|
+
sender: {
|
|
33516
|
+
/** @description Address of the transaction initiator */
|
|
33517
|
+
address: string;
|
|
33518
|
+
/** @description Nonce of the transaction initiator */
|
|
33519
|
+
nonce: number;
|
|
33520
|
+
};
|
|
33521
|
+
sponsor: {
|
|
33522
|
+
/** @description Address of the transaction initiator */
|
|
33523
|
+
address: string;
|
|
33524
|
+
/** @description Nonce of the transaction initiator */
|
|
33525
|
+
nonce: number;
|
|
33526
|
+
} | null;
|
|
33527
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
33528
|
+
fee_rate: string;
|
|
33529
|
+
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
33530
|
+
receipt_time: number;
|
|
33531
|
+
/** @description Height of the block this transaction was received by the node */
|
|
33532
|
+
receipt_block_height: number;
|
|
33533
|
+
/** @description Status of the mempool transaction */
|
|
33534
|
+
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
33535
|
+
/** @description Only present when requested via the `include=post_conditions` query param. */
|
|
33536
|
+
post_conditions?: ({
|
|
33537
|
+
principal: {
|
|
33538
|
+
/** @enum {string} */
|
|
33539
|
+
type_id: "principal_origin";
|
|
33540
|
+
} | {
|
|
33541
|
+
/** @enum {string} */
|
|
33542
|
+
type_id: "principal_standard";
|
|
33543
|
+
address: string;
|
|
33544
|
+
} | {
|
|
33545
|
+
/** @enum {string} */
|
|
33546
|
+
type_id: "principal_contract";
|
|
33547
|
+
address: string;
|
|
33548
|
+
contract_name: string;
|
|
33549
|
+
};
|
|
33550
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33551
|
+
amount: string;
|
|
33552
|
+
/** @enum {string} */
|
|
33553
|
+
type: "stx";
|
|
33554
|
+
} | {
|
|
33555
|
+
principal: {
|
|
33556
|
+
/** @enum {string} */
|
|
33557
|
+
type_id: "principal_origin";
|
|
33558
|
+
} | {
|
|
33559
|
+
/** @enum {string} */
|
|
33560
|
+
type_id: "principal_standard";
|
|
33561
|
+
address: string;
|
|
33562
|
+
} | {
|
|
33563
|
+
/** @enum {string} */
|
|
33564
|
+
type_id: "principal_contract";
|
|
33565
|
+
address: string;
|
|
33566
|
+
contract_name: string;
|
|
33567
|
+
};
|
|
33568
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33569
|
+
amount: string;
|
|
33570
|
+
/** @enum {string} */
|
|
33571
|
+
type: "fungible";
|
|
33572
|
+
asset: {
|
|
33573
|
+
asset_name: string;
|
|
33574
|
+
contract_address: string;
|
|
33575
|
+
contract_name: string;
|
|
33576
|
+
};
|
|
33577
|
+
} | {
|
|
33578
|
+
principal: {
|
|
33579
|
+
/** @enum {string} */
|
|
33580
|
+
type_id: "principal_origin";
|
|
33581
|
+
} | {
|
|
33582
|
+
/** @enum {string} */
|
|
33583
|
+
type_id: "principal_standard";
|
|
33584
|
+
address: string;
|
|
33585
|
+
} | {
|
|
33586
|
+
/** @enum {string} */
|
|
33587
|
+
type_id: "principal_contract";
|
|
33588
|
+
address: string;
|
|
33589
|
+
contract_name: string;
|
|
33590
|
+
};
|
|
33591
|
+
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
33592
|
+
/** @enum {string} */
|
|
33593
|
+
type: "non_fungible";
|
|
33594
|
+
asset_value: {
|
|
33595
|
+
hex: string;
|
|
33596
|
+
repr: string;
|
|
33597
|
+
};
|
|
33598
|
+
asset: {
|
|
33599
|
+
asset_name: string;
|
|
33600
|
+
contract_address: string;
|
|
33601
|
+
contract_name: string;
|
|
33602
|
+
};
|
|
33603
|
+
})[];
|
|
33604
|
+
replaced_by_tx_id: string | null;
|
|
33605
|
+
/** @enum {string} */
|
|
33606
|
+
type: "contract_call";
|
|
33607
|
+
contract_call: {
|
|
33608
|
+
/** @description Contract ID of the contract call */
|
|
33609
|
+
contract_id: string;
|
|
33610
|
+
/** @description Function name of the contract call */
|
|
33611
|
+
function_name: string;
|
|
33612
|
+
/** @description List of arguments used to invoke the function. Only present when requested via the `include=function_args` query param. */
|
|
33613
|
+
function_args?: {
|
|
33614
|
+
hex: string;
|
|
33615
|
+
repr: string;
|
|
33616
|
+
}[];
|
|
33617
|
+
};
|
|
33618
|
+
} | {
|
|
33619
|
+
/** @description Transaction ID */
|
|
33620
|
+
tx_id: string;
|
|
33621
|
+
sender: {
|
|
33622
|
+
/** @description Address of the transaction initiator */
|
|
33623
|
+
address: string;
|
|
33624
|
+
/** @description Nonce of the transaction initiator */
|
|
33625
|
+
nonce: number;
|
|
33626
|
+
};
|
|
33627
|
+
sponsor: {
|
|
33628
|
+
/** @description Address of the transaction initiator */
|
|
33629
|
+
address: string;
|
|
33630
|
+
/** @description Nonce of the transaction initiator */
|
|
33631
|
+
nonce: number;
|
|
33632
|
+
} | null;
|
|
33633
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
33634
|
+
fee_rate: string;
|
|
33635
|
+
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
33636
|
+
receipt_time: number;
|
|
33637
|
+
/** @description Height of the block this transaction was received by the node */
|
|
33638
|
+
receipt_block_height: number;
|
|
33639
|
+
/** @description Status of the mempool transaction */
|
|
33640
|
+
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
33641
|
+
/** @description Only present when requested via the `include=post_conditions` query param. */
|
|
33642
|
+
post_conditions?: ({
|
|
33643
|
+
principal: {
|
|
33644
|
+
/** @enum {string} */
|
|
33645
|
+
type_id: "principal_origin";
|
|
33646
|
+
} | {
|
|
33647
|
+
/** @enum {string} */
|
|
33648
|
+
type_id: "principal_standard";
|
|
33649
|
+
address: string;
|
|
33650
|
+
} | {
|
|
33651
|
+
/** @enum {string} */
|
|
33652
|
+
type_id: "principal_contract";
|
|
33653
|
+
address: string;
|
|
33654
|
+
contract_name: string;
|
|
33655
|
+
};
|
|
33656
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33657
|
+
amount: string;
|
|
33658
|
+
/** @enum {string} */
|
|
33659
|
+
type: "stx";
|
|
33660
|
+
} | {
|
|
33661
|
+
principal: {
|
|
33662
|
+
/** @enum {string} */
|
|
33663
|
+
type_id: "principal_origin";
|
|
33664
|
+
} | {
|
|
33665
|
+
/** @enum {string} */
|
|
33666
|
+
type_id: "principal_standard";
|
|
33667
|
+
address: string;
|
|
33668
|
+
} | {
|
|
33669
|
+
/** @enum {string} */
|
|
33670
|
+
type_id: "principal_contract";
|
|
33671
|
+
address: string;
|
|
33672
|
+
contract_name: string;
|
|
33673
|
+
};
|
|
33674
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33675
|
+
amount: string;
|
|
33676
|
+
/** @enum {string} */
|
|
33677
|
+
type: "fungible";
|
|
33678
|
+
asset: {
|
|
33679
|
+
asset_name: string;
|
|
33680
|
+
contract_address: string;
|
|
33681
|
+
contract_name: string;
|
|
33682
|
+
};
|
|
33683
|
+
} | {
|
|
33684
|
+
principal: {
|
|
33685
|
+
/** @enum {string} */
|
|
33686
|
+
type_id: "principal_origin";
|
|
33687
|
+
} | {
|
|
33688
|
+
/** @enum {string} */
|
|
33689
|
+
type_id: "principal_standard";
|
|
33690
|
+
address: string;
|
|
33691
|
+
} | {
|
|
33692
|
+
/** @enum {string} */
|
|
33693
|
+
type_id: "principal_contract";
|
|
33694
|
+
address: string;
|
|
33695
|
+
contract_name: string;
|
|
33696
|
+
};
|
|
33697
|
+
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
33698
|
+
/** @enum {string} */
|
|
33699
|
+
type: "non_fungible";
|
|
33700
|
+
asset_value: {
|
|
33701
|
+
hex: string;
|
|
33702
|
+
repr: string;
|
|
33703
|
+
};
|
|
33704
|
+
asset: {
|
|
33705
|
+
asset_name: string;
|
|
33706
|
+
contract_address: string;
|
|
33707
|
+
contract_name: string;
|
|
33708
|
+
};
|
|
33709
|
+
})[];
|
|
33710
|
+
replaced_by_tx_id: string | null;
|
|
33711
|
+
/** @enum {string} */
|
|
33712
|
+
type: "poison_microblock";
|
|
33713
|
+
} | {
|
|
33714
|
+
/** @description Transaction ID */
|
|
33715
|
+
tx_id: string;
|
|
33716
|
+
sender: {
|
|
33717
|
+
/** @description Address of the transaction initiator */
|
|
33718
|
+
address: string;
|
|
33719
|
+
/** @description Nonce of the transaction initiator */
|
|
33720
|
+
nonce: number;
|
|
33721
|
+
};
|
|
33722
|
+
sponsor: {
|
|
33723
|
+
/** @description Address of the transaction initiator */
|
|
33724
|
+
address: string;
|
|
33725
|
+
/** @description Nonce of the transaction initiator */
|
|
33726
|
+
nonce: number;
|
|
33727
|
+
} | null;
|
|
33728
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
33729
|
+
fee_rate: string;
|
|
33730
|
+
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
33731
|
+
receipt_time: number;
|
|
33732
|
+
/** @description Height of the block this transaction was received by the node */
|
|
33733
|
+
receipt_block_height: number;
|
|
33734
|
+
/** @description Status of the mempool transaction */
|
|
33735
|
+
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
33736
|
+
/** @description Only present when requested via the `include=post_conditions` query param. */
|
|
33737
|
+
post_conditions?: ({
|
|
33738
|
+
principal: {
|
|
33739
|
+
/** @enum {string} */
|
|
33740
|
+
type_id: "principal_origin";
|
|
33741
|
+
} | {
|
|
33742
|
+
/** @enum {string} */
|
|
33743
|
+
type_id: "principal_standard";
|
|
33744
|
+
address: string;
|
|
33745
|
+
} | {
|
|
33746
|
+
/** @enum {string} */
|
|
33747
|
+
type_id: "principal_contract";
|
|
33748
|
+
address: string;
|
|
33749
|
+
contract_name: string;
|
|
33750
|
+
};
|
|
33751
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33752
|
+
amount: string;
|
|
33753
|
+
/** @enum {string} */
|
|
33754
|
+
type: "stx";
|
|
33755
|
+
} | {
|
|
33756
|
+
principal: {
|
|
33757
|
+
/** @enum {string} */
|
|
33758
|
+
type_id: "principal_origin";
|
|
33759
|
+
} | {
|
|
33760
|
+
/** @enum {string} */
|
|
33761
|
+
type_id: "principal_standard";
|
|
33762
|
+
address: string;
|
|
33763
|
+
} | {
|
|
33764
|
+
/** @enum {string} */
|
|
33765
|
+
type_id: "principal_contract";
|
|
33766
|
+
address: string;
|
|
33767
|
+
contract_name: string;
|
|
33768
|
+
};
|
|
33769
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33770
|
+
amount: string;
|
|
33771
|
+
/** @enum {string} */
|
|
33772
|
+
type: "fungible";
|
|
33773
|
+
asset: {
|
|
33774
|
+
asset_name: string;
|
|
33775
|
+
contract_address: string;
|
|
33776
|
+
contract_name: string;
|
|
33777
|
+
};
|
|
33778
|
+
} | {
|
|
33779
|
+
principal: {
|
|
33780
|
+
/** @enum {string} */
|
|
33781
|
+
type_id: "principal_origin";
|
|
33782
|
+
} | {
|
|
33783
|
+
/** @enum {string} */
|
|
33784
|
+
type_id: "principal_standard";
|
|
33785
|
+
address: string;
|
|
33786
|
+
} | {
|
|
33787
|
+
/** @enum {string} */
|
|
33788
|
+
type_id: "principal_contract";
|
|
33789
|
+
address: string;
|
|
33790
|
+
contract_name: string;
|
|
33791
|
+
};
|
|
33792
|
+
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
33793
|
+
/** @enum {string} */
|
|
33794
|
+
type: "non_fungible";
|
|
33795
|
+
asset_value: {
|
|
33796
|
+
hex: string;
|
|
33797
|
+
repr: string;
|
|
33798
|
+
};
|
|
33799
|
+
asset: {
|
|
33800
|
+
asset_name: string;
|
|
33801
|
+
contract_address: string;
|
|
33802
|
+
contract_name: string;
|
|
33803
|
+
};
|
|
33804
|
+
})[];
|
|
33805
|
+
replaced_by_tx_id: string | null;
|
|
33806
|
+
/** @enum {string} */
|
|
33807
|
+
type: "tenure_change";
|
|
33808
|
+
} | {
|
|
33809
|
+
/** @description Transaction ID */
|
|
33810
|
+
tx_id: string;
|
|
33811
|
+
sender: {
|
|
33812
|
+
/** @description Address of the transaction initiator */
|
|
33813
|
+
address: string;
|
|
33814
|
+
/** @description Nonce of the transaction initiator */
|
|
33815
|
+
nonce: number;
|
|
33816
|
+
};
|
|
33817
|
+
sponsor: {
|
|
33818
|
+
/** @description Address of the transaction initiator */
|
|
33819
|
+
address: string;
|
|
33820
|
+
/** @description Nonce of the transaction initiator */
|
|
33821
|
+
nonce: number;
|
|
33822
|
+
} | null;
|
|
33823
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
33824
|
+
fee_rate: string;
|
|
33825
|
+
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
33826
|
+
receipt_time: number;
|
|
33827
|
+
/** @description Height of the block this transaction was received by the node */
|
|
33828
|
+
receipt_block_height: number;
|
|
33829
|
+
/** @description Status of the mempool transaction */
|
|
33830
|
+
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
33831
|
+
/** @description Only present when requested via the `include=post_conditions` query param. */
|
|
33832
|
+
post_conditions?: ({
|
|
33833
|
+
principal: {
|
|
33834
|
+
/** @enum {string} */
|
|
33835
|
+
type_id: "principal_origin";
|
|
33836
|
+
} | {
|
|
33837
|
+
/** @enum {string} */
|
|
33838
|
+
type_id: "principal_standard";
|
|
33839
|
+
address: string;
|
|
33840
|
+
} | {
|
|
33841
|
+
/** @enum {string} */
|
|
33842
|
+
type_id: "principal_contract";
|
|
33843
|
+
address: string;
|
|
33844
|
+
contract_name: string;
|
|
33845
|
+
};
|
|
33846
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33847
|
+
amount: string;
|
|
33848
|
+
/** @enum {string} */
|
|
33849
|
+
type: "stx";
|
|
33850
|
+
} | {
|
|
33851
|
+
principal: {
|
|
33852
|
+
/** @enum {string} */
|
|
33853
|
+
type_id: "principal_origin";
|
|
33854
|
+
} | {
|
|
33855
|
+
/** @enum {string} */
|
|
33856
|
+
type_id: "principal_standard";
|
|
33857
|
+
address: string;
|
|
33858
|
+
} | {
|
|
33859
|
+
/** @enum {string} */
|
|
33860
|
+
type_id: "principal_contract";
|
|
33861
|
+
address: string;
|
|
33862
|
+
contract_name: string;
|
|
33863
|
+
};
|
|
33864
|
+
condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
|
|
33865
|
+
amount: string;
|
|
33866
|
+
/** @enum {string} */
|
|
33867
|
+
type: "fungible";
|
|
33868
|
+
asset: {
|
|
33869
|
+
asset_name: string;
|
|
33870
|
+
contract_address: string;
|
|
33871
|
+
contract_name: string;
|
|
33872
|
+
};
|
|
33873
|
+
} | {
|
|
33874
|
+
principal: {
|
|
33875
|
+
/** @enum {string} */
|
|
33876
|
+
type_id: "principal_origin";
|
|
33877
|
+
} | {
|
|
33878
|
+
/** @enum {string} */
|
|
33879
|
+
type_id: "principal_standard";
|
|
33880
|
+
address: string;
|
|
33881
|
+
} | {
|
|
33882
|
+
/** @enum {string} */
|
|
33883
|
+
type_id: "principal_contract";
|
|
33884
|
+
address: string;
|
|
33885
|
+
contract_name: string;
|
|
33886
|
+
};
|
|
33887
|
+
condition_code: "sent" | "not_sent" | "maybe_sent";
|
|
33888
|
+
/** @enum {string} */
|
|
33889
|
+
type: "non_fungible";
|
|
33890
|
+
asset_value: {
|
|
33891
|
+
hex: string;
|
|
33892
|
+
repr: string;
|
|
33893
|
+
};
|
|
33894
|
+
asset: {
|
|
33895
|
+
asset_name: string;
|
|
33896
|
+
contract_address: string;
|
|
33897
|
+
contract_name: string;
|
|
33898
|
+
};
|
|
33899
|
+
})[];
|
|
33900
|
+
replaced_by_tx_id: string | null;
|
|
33901
|
+
/** @enum {string} */
|
|
33902
|
+
type: "coinbase";
|
|
33903
|
+
});
|
|
33904
|
+
};
|
|
33905
|
+
};
|
|
33906
|
+
/** @description Default Response */
|
|
33907
|
+
"4XX": {
|
|
33908
|
+
headers: {
|
|
33909
|
+
[name: string]: unknown;
|
|
33910
|
+
};
|
|
33911
|
+
content: {
|
|
33912
|
+
"application/json": {
|
|
33913
|
+
error: string;
|
|
33914
|
+
message?: string;
|
|
33915
|
+
} & {
|
|
33916
|
+
[key: string]: unknown;
|
|
33917
|
+
};
|
|
33918
|
+
};
|
|
33919
|
+
};
|
|
33920
|
+
};
|
|
33921
|
+
};
|
|
33922
|
+
get_transaction_events: {
|
|
33923
|
+
parameters: {
|
|
33924
|
+
query?: {
|
|
33925
|
+
/** @description Number of results per page */
|
|
33926
|
+
limit?: number;
|
|
33927
|
+
/** @description Cursor for paginating transaction events. Format: event_index */
|
|
33928
|
+
cursor?: string;
|
|
33929
|
+
};
|
|
33930
|
+
header?: never;
|
|
33931
|
+
path: {
|
|
33932
|
+
/**
|
|
33933
|
+
* @description Transaction ID
|
|
33934
|
+
* @example 0xf6bd5f4a7b26184a3466340b2e99fd003b4962c0e382a7e4b6a13df3dd7a91c6
|
|
33935
|
+
*/
|
|
33936
|
+
tx_id: string;
|
|
33937
|
+
};
|
|
33938
|
+
cookie?: never;
|
|
33939
|
+
};
|
|
33940
|
+
requestBody?: never;
|
|
33941
|
+
responses: {
|
|
33942
|
+
/** @description Default Response */
|
|
33943
|
+
200: {
|
|
33944
|
+
headers: {
|
|
33945
|
+
[name: string]: unknown;
|
|
33946
|
+
};
|
|
33947
|
+
content: {
|
|
33948
|
+
"application/json": {
|
|
33949
|
+
/** @example 1 */
|
|
33950
|
+
total: number;
|
|
33951
|
+
/**
|
|
33952
|
+
* @description Number of results per page
|
|
33953
|
+
* @default 20
|
|
33954
|
+
*/
|
|
33955
|
+
limit: number;
|
|
33956
|
+
cursor: {
|
|
33957
|
+
next: string | null;
|
|
33958
|
+
previous: string | null;
|
|
33959
|
+
current: string | null;
|
|
33960
|
+
};
|
|
33961
|
+
results: ({
|
|
33962
|
+
event_index: number;
|
|
33963
|
+
/** @enum {string} */
|
|
33964
|
+
type: "contract_log";
|
|
33965
|
+
contract_log: {
|
|
33966
|
+
/**
|
|
33967
|
+
* Smart Contract ID
|
|
33968
|
+
* @description Smart Contract ID
|
|
33969
|
+
*/
|
|
33970
|
+
contract_id: string;
|
|
33971
|
+
/** @enum {string} */
|
|
33972
|
+
topic: "print";
|
|
33973
|
+
value: {
|
|
33974
|
+
hex: string;
|
|
33975
|
+
repr: string;
|
|
33976
|
+
};
|
|
33977
|
+
};
|
|
33978
|
+
} | {
|
|
33979
|
+
event_index: number;
|
|
33980
|
+
/** @enum {string} */
|
|
33981
|
+
type: "stx_lock";
|
|
33982
|
+
stx_lock: {
|
|
33983
|
+
/**
|
|
33984
|
+
* Amount
|
|
33985
|
+
* @description Amount
|
|
33986
|
+
*/
|
|
33987
|
+
amount: string;
|
|
33988
|
+
/**
|
|
33989
|
+
* Block height
|
|
33990
|
+
* @description Block height
|
|
33991
|
+
*/
|
|
33992
|
+
unlock_bitcoin_height: number;
|
|
33993
|
+
address: string;
|
|
33994
|
+
};
|
|
33995
|
+
} | {
|
|
33996
|
+
event_index: number;
|
|
33997
|
+
/** @enum {string} */
|
|
33998
|
+
type: "stx_asset";
|
|
33999
|
+
stx_asset: {
|
|
34000
|
+
/** @enum {string} */
|
|
34001
|
+
type: "transfer";
|
|
34002
|
+
sender: string;
|
|
34003
|
+
recipient: string;
|
|
34004
|
+
/**
|
|
34005
|
+
* Amount
|
|
34006
|
+
* @description Amount
|
|
34007
|
+
*/
|
|
34008
|
+
amount: string;
|
|
34009
|
+
memo: {
|
|
34010
|
+
hex: string;
|
|
34011
|
+
repr: string;
|
|
34012
|
+
} | null;
|
|
34013
|
+
} | {
|
|
34014
|
+
/** @enum {string} */
|
|
34015
|
+
type: "mint";
|
|
34016
|
+
recipient: string;
|
|
34017
|
+
/**
|
|
34018
|
+
* Amount
|
|
34019
|
+
* @description Amount
|
|
34020
|
+
*/
|
|
34021
|
+
amount: string;
|
|
34022
|
+
} | {
|
|
34023
|
+
/** @enum {string} */
|
|
34024
|
+
type: "burn";
|
|
34025
|
+
sender: string;
|
|
34026
|
+
/**
|
|
34027
|
+
* Amount
|
|
34028
|
+
* @description Amount
|
|
34029
|
+
*/
|
|
34030
|
+
amount: string;
|
|
34031
|
+
};
|
|
34032
|
+
} | {
|
|
34033
|
+
event_index: number;
|
|
34034
|
+
/** @enum {string} */
|
|
34035
|
+
type: "ft_asset";
|
|
34036
|
+
ft_asset: {
|
|
34037
|
+
/** @enum {string} */
|
|
34038
|
+
type: "transfer";
|
|
34039
|
+
/**
|
|
34040
|
+
* Asset Identifier
|
|
34041
|
+
* @description Asset Identifier
|
|
34042
|
+
*/
|
|
34043
|
+
asset_identifier: string;
|
|
34044
|
+
sender: string;
|
|
34045
|
+
recipient: string;
|
|
34046
|
+
/**
|
|
34047
|
+
* Amount
|
|
34048
|
+
* @description Amount
|
|
34049
|
+
*/
|
|
34050
|
+
amount: string;
|
|
34051
|
+
} | {
|
|
34052
|
+
/** @enum {string} */
|
|
34053
|
+
type: "mint";
|
|
34054
|
+
recipient: string;
|
|
34055
|
+
/**
|
|
34056
|
+
* Asset Identifier
|
|
34057
|
+
* @description Asset Identifier
|
|
34058
|
+
*/
|
|
34059
|
+
asset_identifier: string;
|
|
34060
|
+
/**
|
|
34061
|
+
* Amount
|
|
34062
|
+
* @description Amount
|
|
34063
|
+
*/
|
|
34064
|
+
amount: string;
|
|
34065
|
+
} | {
|
|
34066
|
+
/** @enum {string} */
|
|
34067
|
+
type: "burn";
|
|
34068
|
+
sender: string;
|
|
34069
|
+
/**
|
|
34070
|
+
* Asset Identifier
|
|
34071
|
+
* @description Asset Identifier
|
|
34072
|
+
*/
|
|
34073
|
+
asset_identifier: string;
|
|
34074
|
+
/**
|
|
34075
|
+
* Amount
|
|
34076
|
+
* @description Amount
|
|
34077
|
+
*/
|
|
34078
|
+
amount: string;
|
|
34079
|
+
};
|
|
34080
|
+
} | {
|
|
34081
|
+
event_index: number;
|
|
34082
|
+
/** @enum {string} */
|
|
34083
|
+
type: "nft_asset";
|
|
34084
|
+
nft_asset: {
|
|
34085
|
+
/** @enum {string} */
|
|
34086
|
+
type: "transfer";
|
|
34087
|
+
/**
|
|
34088
|
+
* Asset Identifier
|
|
34089
|
+
* @description Asset Identifier
|
|
34090
|
+
*/
|
|
34091
|
+
asset_identifier: string;
|
|
34092
|
+
sender: string;
|
|
34093
|
+
recipient: string;
|
|
34094
|
+
value: {
|
|
34095
|
+
hex: string;
|
|
34096
|
+
repr: string;
|
|
34097
|
+
};
|
|
34098
|
+
} | {
|
|
34099
|
+
/** @enum {string} */
|
|
34100
|
+
type: "mint";
|
|
34101
|
+
recipient: string;
|
|
34102
|
+
/**
|
|
34103
|
+
* Asset Identifier
|
|
34104
|
+
* @description Asset Identifier
|
|
34105
|
+
*/
|
|
34106
|
+
asset_identifier: string;
|
|
34107
|
+
value: {
|
|
34108
|
+
hex: string;
|
|
34109
|
+
repr: string;
|
|
34110
|
+
};
|
|
34111
|
+
} | {
|
|
34112
|
+
/** @enum {string} */
|
|
34113
|
+
type: "burn";
|
|
34114
|
+
sender: string;
|
|
34115
|
+
/**
|
|
34116
|
+
* Asset Identifier
|
|
34117
|
+
* @description Asset Identifier
|
|
34118
|
+
*/
|
|
34119
|
+
asset_identifier: string;
|
|
34120
|
+
value: {
|
|
34121
|
+
hex: string;
|
|
34122
|
+
repr: string;
|
|
34123
|
+
};
|
|
34124
|
+
};
|
|
34125
|
+
})[];
|
|
34126
|
+
};
|
|
34127
|
+
};
|
|
34128
|
+
};
|
|
34129
|
+
/** @description Default Response */
|
|
34130
|
+
"4XX": {
|
|
34131
|
+
headers: {
|
|
34132
|
+
[name: string]: unknown;
|
|
34133
|
+
};
|
|
34134
|
+
content: {
|
|
34135
|
+
"application/json": {
|
|
34136
|
+
error: string;
|
|
34137
|
+
message?: string;
|
|
34138
|
+
} & {
|
|
34139
|
+
[key: string]: unknown;
|
|
34140
|
+
};
|
|
34141
|
+
};
|
|
34142
|
+
};
|
|
34143
|
+
};
|
|
34144
|
+
};
|
|
34145
|
+
get_mempool_transactions: {
|
|
34146
|
+
parameters: {
|
|
34147
|
+
query?: {
|
|
34148
|
+
/** @description Number of results per page */
|
|
34149
|
+
limit?: number;
|
|
34150
|
+
/** @description Cursor for paginating mempool transactions. Format: receipt_time:tx_id */
|
|
34151
|
+
cursor?: string;
|
|
34152
|
+
};
|
|
34153
|
+
header?: never;
|
|
34154
|
+
path?: never;
|
|
34155
|
+
cookie?: never;
|
|
34156
|
+
};
|
|
34157
|
+
requestBody?: never;
|
|
34158
|
+
responses: {
|
|
34159
|
+
/** @description Default Response */
|
|
34160
|
+
200: {
|
|
34161
|
+
headers: {
|
|
34162
|
+
[name: string]: unknown;
|
|
34163
|
+
};
|
|
34164
|
+
content: {
|
|
34165
|
+
"application/json": {
|
|
34166
|
+
/** @example 1 */
|
|
34167
|
+
total: number;
|
|
34168
|
+
/**
|
|
34169
|
+
* @description Number of results per page
|
|
34170
|
+
* @default 20
|
|
34171
|
+
*/
|
|
34172
|
+
limit: number;
|
|
34173
|
+
cursor: {
|
|
34174
|
+
next: string | null;
|
|
34175
|
+
previous: string | null;
|
|
34176
|
+
current: string | null;
|
|
34177
|
+
};
|
|
34178
|
+
results: ({
|
|
34179
|
+
/** @description Transaction ID */
|
|
34180
|
+
tx_id: string;
|
|
34181
|
+
sender: {
|
|
34182
|
+
/** @description Address of the transaction initiator */
|
|
34183
|
+
address: string;
|
|
34184
|
+
/** @description Nonce of the transaction initiator */
|
|
34185
|
+
nonce: number;
|
|
34186
|
+
};
|
|
34187
|
+
sponsor: {
|
|
34188
|
+
/** @description Address of the transaction initiator */
|
|
34189
|
+
address: string;
|
|
34190
|
+
/** @description Nonce of the transaction initiator */
|
|
34191
|
+
nonce: number;
|
|
34192
|
+
} | null;
|
|
34193
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
34194
|
+
fee_rate: string;
|
|
34195
|
+
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
34196
|
+
receipt_time: number;
|
|
34197
|
+
/** @description Height of the block this transaction was received by the node */
|
|
34198
|
+
receipt_block_height: number;
|
|
34199
|
+
/** @description Status of the mempool transaction */
|
|
34200
|
+
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
34201
|
+
/** @enum {string} */
|
|
34202
|
+
type: "token_transfer";
|
|
34203
|
+
token_transfer: {
|
|
34204
|
+
recipient: string;
|
|
34205
|
+
/** @description Transfer amount as Integer string (64-bit unsigned integer) */
|
|
34206
|
+
amount: string;
|
|
34207
|
+
memo: string | null;
|
|
34208
|
+
};
|
|
34209
|
+
} | {
|
|
34210
|
+
/** @description Transaction ID */
|
|
34211
|
+
tx_id: string;
|
|
34212
|
+
sender: {
|
|
34213
|
+
/** @description Address of the transaction initiator */
|
|
34214
|
+
address: string;
|
|
34215
|
+
/** @description Nonce of the transaction initiator */
|
|
34216
|
+
nonce: number;
|
|
34217
|
+
};
|
|
34218
|
+
sponsor: {
|
|
34219
|
+
/** @description Address of the transaction initiator */
|
|
34220
|
+
address: string;
|
|
34221
|
+
/** @description Nonce of the transaction initiator */
|
|
34222
|
+
nonce: number;
|
|
34223
|
+
} | null;
|
|
34224
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
34225
|
+
fee_rate: string;
|
|
34226
|
+
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
34227
|
+
receipt_time: number;
|
|
34228
|
+
/** @description Height of the block this transaction was received by the node */
|
|
34229
|
+
receipt_block_height: number;
|
|
34230
|
+
/** @description Status of the mempool transaction */
|
|
34231
|
+
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
34232
|
+
/** @enum {string} */
|
|
34233
|
+
type: "smart_contract";
|
|
34234
|
+
smart_contract: {
|
|
34235
|
+
clarity_version: number | null;
|
|
34236
|
+
/** @description Contract identifier formatted as `<principaladdress>.<contract_name>` */
|
|
34237
|
+
contract_id: string;
|
|
34238
|
+
};
|
|
34239
|
+
} | {
|
|
34240
|
+
/** @description Transaction ID */
|
|
34241
|
+
tx_id: string;
|
|
34242
|
+
sender: {
|
|
34243
|
+
/** @description Address of the transaction initiator */
|
|
34244
|
+
address: string;
|
|
34245
|
+
/** @description Nonce of the transaction initiator */
|
|
34246
|
+
nonce: number;
|
|
34247
|
+
};
|
|
34248
|
+
sponsor: {
|
|
34249
|
+
/** @description Address of the transaction initiator */
|
|
34250
|
+
address: string;
|
|
34251
|
+
/** @description Nonce of the transaction initiator */
|
|
34252
|
+
nonce: number;
|
|
34253
|
+
} | null;
|
|
34254
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
34255
|
+
fee_rate: string;
|
|
34256
|
+
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
34257
|
+
receipt_time: number;
|
|
34258
|
+
/** @description Height of the block this transaction was received by the node */
|
|
34259
|
+
receipt_block_height: number;
|
|
34260
|
+
/** @description Status of the mempool transaction */
|
|
34261
|
+
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
34262
|
+
/** @enum {string} */
|
|
34263
|
+
type: "contract_call";
|
|
34264
|
+
contract_call: {
|
|
34265
|
+
/** @description Contract identifier formatted as `<principaladdress>.<contract_name>` */
|
|
34266
|
+
contract_id: string;
|
|
34267
|
+
/** @description Name of the Clarity function to be invoked */
|
|
34268
|
+
function_name: string;
|
|
34269
|
+
};
|
|
34270
|
+
} | {
|
|
34271
|
+
/** @description Transaction ID */
|
|
34272
|
+
tx_id: string;
|
|
34273
|
+
sender: {
|
|
34274
|
+
/** @description Address of the transaction initiator */
|
|
34275
|
+
address: string;
|
|
34276
|
+
/** @description Nonce of the transaction initiator */
|
|
34277
|
+
nonce: number;
|
|
34278
|
+
};
|
|
34279
|
+
sponsor: {
|
|
34280
|
+
/** @description Address of the transaction initiator */
|
|
34281
|
+
address: string;
|
|
34282
|
+
/** @description Nonce of the transaction initiator */
|
|
34283
|
+
nonce: number;
|
|
34284
|
+
} | null;
|
|
34285
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
34286
|
+
fee_rate: string;
|
|
34287
|
+
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
34288
|
+
receipt_time: number;
|
|
34289
|
+
/** @description Height of the block this transaction was received by the node */
|
|
34290
|
+
receipt_block_height: number;
|
|
34291
|
+
/** @description Status of the mempool transaction */
|
|
34292
|
+
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
34293
|
+
/** @enum {string} */
|
|
34294
|
+
type: "poison_microblock";
|
|
34295
|
+
} | {
|
|
34296
|
+
/** @description Transaction ID */
|
|
34297
|
+
tx_id: string;
|
|
34298
|
+
sender: {
|
|
34299
|
+
/** @description Address of the transaction initiator */
|
|
34300
|
+
address: string;
|
|
34301
|
+
/** @description Nonce of the transaction initiator */
|
|
34302
|
+
nonce: number;
|
|
34303
|
+
};
|
|
34304
|
+
sponsor: {
|
|
34305
|
+
/** @description Address of the transaction initiator */
|
|
34306
|
+
address: string;
|
|
34307
|
+
/** @description Nonce of the transaction initiator */
|
|
32556
34308
|
nonce: number;
|
|
32557
34309
|
} | null;
|
|
32558
34310
|
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
@@ -32688,7 +34440,10 @@ export interface operations {
|
|
|
32688
34440
|
recipient: string;
|
|
32689
34441
|
/** @description Transfer amount as Integer string (64-bit unsigned integer) */
|
|
32690
34442
|
amount: string;
|
|
32691
|
-
memo:
|
|
34443
|
+
memo: {
|
|
34444
|
+
hex: string;
|
|
34445
|
+
repr: string;
|
|
34446
|
+
} | null;
|
|
32692
34447
|
};
|
|
32693
34448
|
} | {
|
|
32694
34449
|
/** @description Transaction ID */
|