@stacks/blockchain-api-client 9.0.0-pox5.13 → 9.0.0-pox5.14
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 +253 -1
- package/package.json +1 -1
- package/src/generated/schema.d.ts +253 -1
|
@@ -120,8 +120,11 @@ export interface paths {
|
|
|
120
120
|
};
|
|
121
121
|
/**
|
|
122
122
|
* Transaction Events
|
|
123
|
+
* @deprecated
|
|
123
124
|
* @description Retrieves the list of events filtered by principal (STX address or Smart Contract ID), transaction id or event types.
|
|
124
125
|
* The list of event types is ('smart_contract_log', 'stx_lock', 'stx_asset', 'fungible_token_asset', 'non_fungible_token_asset').
|
|
126
|
+
*
|
|
127
|
+
* **Deprecated:** this endpoint has no direct v3 replacement.
|
|
125
128
|
*/
|
|
126
129
|
get: operations["get_filtered_events"];
|
|
127
130
|
put?: never;
|
|
@@ -348,10 +351,13 @@ export interface paths {
|
|
|
348
351
|
};
|
|
349
352
|
/**
|
|
350
353
|
* Non-Fungible Token holdings
|
|
354
|
+
* @deprecated
|
|
351
355
|
* @description Retrieves the list of Non-Fungible Tokens owned by the given principal (STX address or Smart Contract ID).
|
|
352
356
|
* Results can be filtered by one or more asset identifiers and can include metadata about the transaction that made the principal own each token.
|
|
353
357
|
*
|
|
354
358
|
* More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/build/create-tokens/creating-a-nft).
|
|
359
|
+
*
|
|
360
|
+
* **Deprecated:** use `GET /extended/v3/principals/{principal}/balances/nft` instead.
|
|
355
361
|
*/
|
|
356
362
|
get: operations["get_nft_holdings"];
|
|
357
363
|
put?: never;
|
|
@@ -935,7 +941,8 @@ export interface paths {
|
|
|
935
941
|
};
|
|
936
942
|
/**
|
|
937
943
|
* Transactions for address
|
|
938
|
-
* @
|
|
944
|
+
* @deprecated
|
|
945
|
+
* @description Retrieves all transactions for a given address that are currently in mempool. **Deprecated:** use `GET /extended/v3/principals/{principal}/mempool/transactions` instead.
|
|
939
946
|
*/
|
|
940
947
|
get: operations["get_address_mempool_transactions"];
|
|
941
948
|
put?: never;
|
|
@@ -1972,6 +1979,26 @@ export interface paths {
|
|
|
1972
1979
|
patch?: never;
|
|
1973
1980
|
trace?: never;
|
|
1974
1981
|
};
|
|
1982
|
+
"/extended/v3/principals/{principal}/mempool/transactions": {
|
|
1983
|
+
parameters: {
|
|
1984
|
+
query?: never;
|
|
1985
|
+
header?: never;
|
|
1986
|
+
path?: never;
|
|
1987
|
+
cookie?: never;
|
|
1988
|
+
};
|
|
1989
|
+
/**
|
|
1990
|
+
* Get principal mempool transactions
|
|
1991
|
+
* @description Returns a list of pending mempool transactions that involve a principal — as the sender, a token-transfer recipient, the deployed contract, or the called contract.
|
|
1992
|
+
*/
|
|
1993
|
+
get: operations["get_principal_mempool_transactions"];
|
|
1994
|
+
put?: never;
|
|
1995
|
+
post?: never;
|
|
1996
|
+
delete?: never;
|
|
1997
|
+
options?: never;
|
|
1998
|
+
head?: never;
|
|
1999
|
+
patch?: never;
|
|
2000
|
+
trace?: never;
|
|
2001
|
+
};
|
|
1975
2002
|
"/extended/v3/staking/bonds": {
|
|
1976
2003
|
parameters: {
|
|
1977
2004
|
query?: never;
|
|
@@ -38328,6 +38355,231 @@ export interface operations {
|
|
|
38328
38355
|
};
|
|
38329
38356
|
};
|
|
38330
38357
|
};
|
|
38358
|
+
get_principal_mempool_transactions: {
|
|
38359
|
+
parameters: {
|
|
38360
|
+
query?: {
|
|
38361
|
+
/** @description Number of results per page */
|
|
38362
|
+
limit?: number;
|
|
38363
|
+
/** @description Cursor for paginating mempool transactions. Format: receipt_time:tx_id */
|
|
38364
|
+
cursor?: string;
|
|
38365
|
+
};
|
|
38366
|
+
header?: never;
|
|
38367
|
+
path: {
|
|
38368
|
+
principal: string;
|
|
38369
|
+
};
|
|
38370
|
+
cookie?: never;
|
|
38371
|
+
};
|
|
38372
|
+
requestBody?: never;
|
|
38373
|
+
responses: {
|
|
38374
|
+
/** @description Default Response */
|
|
38375
|
+
200: {
|
|
38376
|
+
headers: {
|
|
38377
|
+
[name: string]: unknown;
|
|
38378
|
+
};
|
|
38379
|
+
content: {
|
|
38380
|
+
"application/json": {
|
|
38381
|
+
/** @example 1 */
|
|
38382
|
+
total: number;
|
|
38383
|
+
/**
|
|
38384
|
+
* @description Number of results per page
|
|
38385
|
+
* @default 20
|
|
38386
|
+
*/
|
|
38387
|
+
limit: number;
|
|
38388
|
+
cursor: {
|
|
38389
|
+
next: string | null;
|
|
38390
|
+
previous: string | null;
|
|
38391
|
+
current: string | null;
|
|
38392
|
+
};
|
|
38393
|
+
results: ({
|
|
38394
|
+
/** @description Transaction ID */
|
|
38395
|
+
tx_id: string;
|
|
38396
|
+
sender: {
|
|
38397
|
+
/** @description Address of the transaction initiator */
|
|
38398
|
+
address: string;
|
|
38399
|
+
/** @description Nonce of the transaction initiator */
|
|
38400
|
+
nonce: number;
|
|
38401
|
+
};
|
|
38402
|
+
sponsor: {
|
|
38403
|
+
/** @description Address of the transaction initiator */
|
|
38404
|
+
address: string;
|
|
38405
|
+
/** @description Nonce of the transaction initiator */
|
|
38406
|
+
nonce: number;
|
|
38407
|
+
} | null;
|
|
38408
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
38409
|
+
fee_rate: string;
|
|
38410
|
+
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
38411
|
+
receipt_time: number;
|
|
38412
|
+
/** @description Height of the block this transaction was received by the node */
|
|
38413
|
+
receipt_block_height: number;
|
|
38414
|
+
/** @description Status of the mempool transaction */
|
|
38415
|
+
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
38416
|
+
/** @enum {string} */
|
|
38417
|
+
type: "token_transfer";
|
|
38418
|
+
token_transfer: {
|
|
38419
|
+
recipient: string;
|
|
38420
|
+
/** @description Transfer amount as Integer string (64-bit unsigned integer) */
|
|
38421
|
+
amount: string;
|
|
38422
|
+
memo: {
|
|
38423
|
+
hex: string;
|
|
38424
|
+
repr: string;
|
|
38425
|
+
} | null;
|
|
38426
|
+
};
|
|
38427
|
+
} | {
|
|
38428
|
+
/** @description Transaction ID */
|
|
38429
|
+
tx_id: string;
|
|
38430
|
+
sender: {
|
|
38431
|
+
/** @description Address of the transaction initiator */
|
|
38432
|
+
address: string;
|
|
38433
|
+
/** @description Nonce of the transaction initiator */
|
|
38434
|
+
nonce: number;
|
|
38435
|
+
};
|
|
38436
|
+
sponsor: {
|
|
38437
|
+
/** @description Address of the transaction initiator */
|
|
38438
|
+
address: string;
|
|
38439
|
+
/** @description Nonce of the transaction initiator */
|
|
38440
|
+
nonce: number;
|
|
38441
|
+
} | null;
|
|
38442
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
38443
|
+
fee_rate: string;
|
|
38444
|
+
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
38445
|
+
receipt_time: number;
|
|
38446
|
+
/** @description Height of the block this transaction was received by the node */
|
|
38447
|
+
receipt_block_height: number;
|
|
38448
|
+
/** @description Status of the mempool transaction */
|
|
38449
|
+
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
38450
|
+
/** @enum {string} */
|
|
38451
|
+
type: "smart_contract";
|
|
38452
|
+
smart_contract: {
|
|
38453
|
+
clarity_version: number | null;
|
|
38454
|
+
/** @description Contract identifier formatted as `<principaladdress>.<contract_name>` */
|
|
38455
|
+
contract_id: string;
|
|
38456
|
+
};
|
|
38457
|
+
} | {
|
|
38458
|
+
/** @description Transaction ID */
|
|
38459
|
+
tx_id: string;
|
|
38460
|
+
sender: {
|
|
38461
|
+
/** @description Address of the transaction initiator */
|
|
38462
|
+
address: string;
|
|
38463
|
+
/** @description Nonce of the transaction initiator */
|
|
38464
|
+
nonce: number;
|
|
38465
|
+
};
|
|
38466
|
+
sponsor: {
|
|
38467
|
+
/** @description Address of the transaction initiator */
|
|
38468
|
+
address: string;
|
|
38469
|
+
/** @description Nonce of the transaction initiator */
|
|
38470
|
+
nonce: number;
|
|
38471
|
+
} | null;
|
|
38472
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
38473
|
+
fee_rate: string;
|
|
38474
|
+
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
38475
|
+
receipt_time: number;
|
|
38476
|
+
/** @description Height of the block this transaction was received by the node */
|
|
38477
|
+
receipt_block_height: number;
|
|
38478
|
+
/** @description Status of the mempool transaction */
|
|
38479
|
+
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
38480
|
+
/** @enum {string} */
|
|
38481
|
+
type: "contract_call";
|
|
38482
|
+
contract_call: {
|
|
38483
|
+
/** @description Contract identifier formatted as `<principaladdress>.<contract_name>` */
|
|
38484
|
+
contract_id: string;
|
|
38485
|
+
/** @description Name of the Clarity function to be invoked */
|
|
38486
|
+
function_name: string;
|
|
38487
|
+
};
|
|
38488
|
+
} | {
|
|
38489
|
+
/** @description Transaction ID */
|
|
38490
|
+
tx_id: string;
|
|
38491
|
+
sender: {
|
|
38492
|
+
/** @description Address of the transaction initiator */
|
|
38493
|
+
address: string;
|
|
38494
|
+
/** @description Nonce of the transaction initiator */
|
|
38495
|
+
nonce: number;
|
|
38496
|
+
};
|
|
38497
|
+
sponsor: {
|
|
38498
|
+
/** @description Address of the transaction initiator */
|
|
38499
|
+
address: string;
|
|
38500
|
+
/** @description Nonce of the transaction initiator */
|
|
38501
|
+
nonce: number;
|
|
38502
|
+
} | null;
|
|
38503
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
38504
|
+
fee_rate: string;
|
|
38505
|
+
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
38506
|
+
receipt_time: number;
|
|
38507
|
+
/** @description Height of the block this transaction was received by the node */
|
|
38508
|
+
receipt_block_height: number;
|
|
38509
|
+
/** @description Status of the mempool transaction */
|
|
38510
|
+
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
38511
|
+
/** @enum {string} */
|
|
38512
|
+
type: "poison_microblock";
|
|
38513
|
+
} | {
|
|
38514
|
+
/** @description Transaction ID */
|
|
38515
|
+
tx_id: string;
|
|
38516
|
+
sender: {
|
|
38517
|
+
/** @description Address of the transaction initiator */
|
|
38518
|
+
address: string;
|
|
38519
|
+
/** @description Nonce of the transaction initiator */
|
|
38520
|
+
nonce: number;
|
|
38521
|
+
};
|
|
38522
|
+
sponsor: {
|
|
38523
|
+
/** @description Address of the transaction initiator */
|
|
38524
|
+
address: string;
|
|
38525
|
+
/** @description Nonce of the transaction initiator */
|
|
38526
|
+
nonce: number;
|
|
38527
|
+
} | null;
|
|
38528
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
38529
|
+
fee_rate: string;
|
|
38530
|
+
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
38531
|
+
receipt_time: number;
|
|
38532
|
+
/** @description Height of the block this transaction was received by the node */
|
|
38533
|
+
receipt_block_height: number;
|
|
38534
|
+
/** @description Status of the mempool transaction */
|
|
38535
|
+
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
38536
|
+
/** @enum {string} */
|
|
38537
|
+
type: "coinbase";
|
|
38538
|
+
} | {
|
|
38539
|
+
/** @description Transaction ID */
|
|
38540
|
+
tx_id: string;
|
|
38541
|
+
sender: {
|
|
38542
|
+
/** @description Address of the transaction initiator */
|
|
38543
|
+
address: string;
|
|
38544
|
+
/** @description Nonce of the transaction initiator */
|
|
38545
|
+
nonce: number;
|
|
38546
|
+
};
|
|
38547
|
+
sponsor: {
|
|
38548
|
+
/** @description Address of the transaction initiator */
|
|
38549
|
+
address: string;
|
|
38550
|
+
/** @description Nonce of the transaction initiator */
|
|
38551
|
+
nonce: number;
|
|
38552
|
+
} | null;
|
|
38553
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
38554
|
+
fee_rate: string;
|
|
38555
|
+
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
38556
|
+
receipt_time: number;
|
|
38557
|
+
/** @description Height of the block this transaction was received by the node */
|
|
38558
|
+
receipt_block_height: number;
|
|
38559
|
+
/** @description Status of the mempool transaction */
|
|
38560
|
+
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
38561
|
+
/** @enum {string} */
|
|
38562
|
+
type: "tenure_change";
|
|
38563
|
+
})[];
|
|
38564
|
+
};
|
|
38565
|
+
};
|
|
38566
|
+
};
|
|
38567
|
+
/** @description Default Response */
|
|
38568
|
+
"4XX": {
|
|
38569
|
+
headers: {
|
|
38570
|
+
[name: string]: unknown;
|
|
38571
|
+
};
|
|
38572
|
+
content: {
|
|
38573
|
+
"application/json": {
|
|
38574
|
+
error: string;
|
|
38575
|
+
message?: string;
|
|
38576
|
+
} & {
|
|
38577
|
+
[key: string]: unknown;
|
|
38578
|
+
};
|
|
38579
|
+
};
|
|
38580
|
+
};
|
|
38581
|
+
};
|
|
38582
|
+
};
|
|
38331
38583
|
get_bonds: {
|
|
38332
38584
|
parameters: {
|
|
38333
38585
|
query?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacks/blockchain-api-client",
|
|
3
|
-
"version": "9.0.0-pox5.
|
|
3
|
+
"version": "9.0.0-pox5.14",
|
|
4
4
|
"access": "public",
|
|
5
5
|
"description": "Client for the Stacks Blockchain API",
|
|
6
6
|
"homepage": "https://github.com/stx-labs/stacks-blockchain-api/tree/master/client#readme",
|
|
@@ -120,8 +120,11 @@ export interface paths {
|
|
|
120
120
|
};
|
|
121
121
|
/**
|
|
122
122
|
* Transaction Events
|
|
123
|
+
* @deprecated
|
|
123
124
|
* @description Retrieves the list of events filtered by principal (STX address or Smart Contract ID), transaction id or event types.
|
|
124
125
|
* The list of event types is ('smart_contract_log', 'stx_lock', 'stx_asset', 'fungible_token_asset', 'non_fungible_token_asset').
|
|
126
|
+
*
|
|
127
|
+
* **Deprecated:** this endpoint has no direct v3 replacement.
|
|
125
128
|
*/
|
|
126
129
|
get: operations["get_filtered_events"];
|
|
127
130
|
put?: never;
|
|
@@ -348,10 +351,13 @@ export interface paths {
|
|
|
348
351
|
};
|
|
349
352
|
/**
|
|
350
353
|
* Non-Fungible Token holdings
|
|
354
|
+
* @deprecated
|
|
351
355
|
* @description Retrieves the list of Non-Fungible Tokens owned by the given principal (STX address or Smart Contract ID).
|
|
352
356
|
* Results can be filtered by one or more asset identifiers and can include metadata about the transaction that made the principal own each token.
|
|
353
357
|
*
|
|
354
358
|
* More information on Non-Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/build/create-tokens/creating-a-nft).
|
|
359
|
+
*
|
|
360
|
+
* **Deprecated:** use `GET /extended/v3/principals/{principal}/balances/nft` instead.
|
|
355
361
|
*/
|
|
356
362
|
get: operations["get_nft_holdings"];
|
|
357
363
|
put?: never;
|
|
@@ -935,7 +941,8 @@ export interface paths {
|
|
|
935
941
|
};
|
|
936
942
|
/**
|
|
937
943
|
* Transactions for address
|
|
938
|
-
* @
|
|
944
|
+
* @deprecated
|
|
945
|
+
* @description Retrieves all transactions for a given address that are currently in mempool. **Deprecated:** use `GET /extended/v3/principals/{principal}/mempool/transactions` instead.
|
|
939
946
|
*/
|
|
940
947
|
get: operations["get_address_mempool_transactions"];
|
|
941
948
|
put?: never;
|
|
@@ -1972,6 +1979,26 @@ export interface paths {
|
|
|
1972
1979
|
patch?: never;
|
|
1973
1980
|
trace?: never;
|
|
1974
1981
|
};
|
|
1982
|
+
"/extended/v3/principals/{principal}/mempool/transactions": {
|
|
1983
|
+
parameters: {
|
|
1984
|
+
query?: never;
|
|
1985
|
+
header?: never;
|
|
1986
|
+
path?: never;
|
|
1987
|
+
cookie?: never;
|
|
1988
|
+
};
|
|
1989
|
+
/**
|
|
1990
|
+
* Get principal mempool transactions
|
|
1991
|
+
* @description Returns a list of pending mempool transactions that involve a principal — as the sender, a token-transfer recipient, the deployed contract, or the called contract.
|
|
1992
|
+
*/
|
|
1993
|
+
get: operations["get_principal_mempool_transactions"];
|
|
1994
|
+
put?: never;
|
|
1995
|
+
post?: never;
|
|
1996
|
+
delete?: never;
|
|
1997
|
+
options?: never;
|
|
1998
|
+
head?: never;
|
|
1999
|
+
patch?: never;
|
|
2000
|
+
trace?: never;
|
|
2001
|
+
};
|
|
1975
2002
|
"/extended/v3/staking/bonds": {
|
|
1976
2003
|
parameters: {
|
|
1977
2004
|
query?: never;
|
|
@@ -38328,6 +38355,231 @@ export interface operations {
|
|
|
38328
38355
|
};
|
|
38329
38356
|
};
|
|
38330
38357
|
};
|
|
38358
|
+
get_principal_mempool_transactions: {
|
|
38359
|
+
parameters: {
|
|
38360
|
+
query?: {
|
|
38361
|
+
/** @description Number of results per page */
|
|
38362
|
+
limit?: number;
|
|
38363
|
+
/** @description Cursor for paginating mempool transactions. Format: receipt_time:tx_id */
|
|
38364
|
+
cursor?: string;
|
|
38365
|
+
};
|
|
38366
|
+
header?: never;
|
|
38367
|
+
path: {
|
|
38368
|
+
principal: string;
|
|
38369
|
+
};
|
|
38370
|
+
cookie?: never;
|
|
38371
|
+
};
|
|
38372
|
+
requestBody?: never;
|
|
38373
|
+
responses: {
|
|
38374
|
+
/** @description Default Response */
|
|
38375
|
+
200: {
|
|
38376
|
+
headers: {
|
|
38377
|
+
[name: string]: unknown;
|
|
38378
|
+
};
|
|
38379
|
+
content: {
|
|
38380
|
+
"application/json": {
|
|
38381
|
+
/** @example 1 */
|
|
38382
|
+
total: number;
|
|
38383
|
+
/**
|
|
38384
|
+
* @description Number of results per page
|
|
38385
|
+
* @default 20
|
|
38386
|
+
*/
|
|
38387
|
+
limit: number;
|
|
38388
|
+
cursor: {
|
|
38389
|
+
next: string | null;
|
|
38390
|
+
previous: string | null;
|
|
38391
|
+
current: string | null;
|
|
38392
|
+
};
|
|
38393
|
+
results: ({
|
|
38394
|
+
/** @description Transaction ID */
|
|
38395
|
+
tx_id: string;
|
|
38396
|
+
sender: {
|
|
38397
|
+
/** @description Address of the transaction initiator */
|
|
38398
|
+
address: string;
|
|
38399
|
+
/** @description Nonce of the transaction initiator */
|
|
38400
|
+
nonce: number;
|
|
38401
|
+
};
|
|
38402
|
+
sponsor: {
|
|
38403
|
+
/** @description Address of the transaction initiator */
|
|
38404
|
+
address: string;
|
|
38405
|
+
/** @description Nonce of the transaction initiator */
|
|
38406
|
+
nonce: number;
|
|
38407
|
+
} | null;
|
|
38408
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
38409
|
+
fee_rate: string;
|
|
38410
|
+
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
38411
|
+
receipt_time: number;
|
|
38412
|
+
/** @description Height of the block this transaction was received by the node */
|
|
38413
|
+
receipt_block_height: number;
|
|
38414
|
+
/** @description Status of the mempool transaction */
|
|
38415
|
+
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
38416
|
+
/** @enum {string} */
|
|
38417
|
+
type: "token_transfer";
|
|
38418
|
+
token_transfer: {
|
|
38419
|
+
recipient: string;
|
|
38420
|
+
/** @description Transfer amount as Integer string (64-bit unsigned integer) */
|
|
38421
|
+
amount: string;
|
|
38422
|
+
memo: {
|
|
38423
|
+
hex: string;
|
|
38424
|
+
repr: string;
|
|
38425
|
+
} | null;
|
|
38426
|
+
};
|
|
38427
|
+
} | {
|
|
38428
|
+
/** @description Transaction ID */
|
|
38429
|
+
tx_id: string;
|
|
38430
|
+
sender: {
|
|
38431
|
+
/** @description Address of the transaction initiator */
|
|
38432
|
+
address: string;
|
|
38433
|
+
/** @description Nonce of the transaction initiator */
|
|
38434
|
+
nonce: number;
|
|
38435
|
+
};
|
|
38436
|
+
sponsor: {
|
|
38437
|
+
/** @description Address of the transaction initiator */
|
|
38438
|
+
address: string;
|
|
38439
|
+
/** @description Nonce of the transaction initiator */
|
|
38440
|
+
nonce: number;
|
|
38441
|
+
} | null;
|
|
38442
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
38443
|
+
fee_rate: string;
|
|
38444
|
+
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
38445
|
+
receipt_time: number;
|
|
38446
|
+
/** @description Height of the block this transaction was received by the node */
|
|
38447
|
+
receipt_block_height: number;
|
|
38448
|
+
/** @description Status of the mempool transaction */
|
|
38449
|
+
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
38450
|
+
/** @enum {string} */
|
|
38451
|
+
type: "smart_contract";
|
|
38452
|
+
smart_contract: {
|
|
38453
|
+
clarity_version: number | null;
|
|
38454
|
+
/** @description Contract identifier formatted as `<principaladdress>.<contract_name>` */
|
|
38455
|
+
contract_id: string;
|
|
38456
|
+
};
|
|
38457
|
+
} | {
|
|
38458
|
+
/** @description Transaction ID */
|
|
38459
|
+
tx_id: string;
|
|
38460
|
+
sender: {
|
|
38461
|
+
/** @description Address of the transaction initiator */
|
|
38462
|
+
address: string;
|
|
38463
|
+
/** @description Nonce of the transaction initiator */
|
|
38464
|
+
nonce: number;
|
|
38465
|
+
};
|
|
38466
|
+
sponsor: {
|
|
38467
|
+
/** @description Address of the transaction initiator */
|
|
38468
|
+
address: string;
|
|
38469
|
+
/** @description Nonce of the transaction initiator */
|
|
38470
|
+
nonce: number;
|
|
38471
|
+
} | null;
|
|
38472
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
38473
|
+
fee_rate: string;
|
|
38474
|
+
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
38475
|
+
receipt_time: number;
|
|
38476
|
+
/** @description Height of the block this transaction was received by the node */
|
|
38477
|
+
receipt_block_height: number;
|
|
38478
|
+
/** @description Status of the mempool transaction */
|
|
38479
|
+
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
38480
|
+
/** @enum {string} */
|
|
38481
|
+
type: "contract_call";
|
|
38482
|
+
contract_call: {
|
|
38483
|
+
/** @description Contract identifier formatted as `<principaladdress>.<contract_name>` */
|
|
38484
|
+
contract_id: string;
|
|
38485
|
+
/** @description Name of the Clarity function to be invoked */
|
|
38486
|
+
function_name: string;
|
|
38487
|
+
};
|
|
38488
|
+
} | {
|
|
38489
|
+
/** @description Transaction ID */
|
|
38490
|
+
tx_id: string;
|
|
38491
|
+
sender: {
|
|
38492
|
+
/** @description Address of the transaction initiator */
|
|
38493
|
+
address: string;
|
|
38494
|
+
/** @description Nonce of the transaction initiator */
|
|
38495
|
+
nonce: number;
|
|
38496
|
+
};
|
|
38497
|
+
sponsor: {
|
|
38498
|
+
/** @description Address of the transaction initiator */
|
|
38499
|
+
address: string;
|
|
38500
|
+
/** @description Nonce of the transaction initiator */
|
|
38501
|
+
nonce: number;
|
|
38502
|
+
} | null;
|
|
38503
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
38504
|
+
fee_rate: string;
|
|
38505
|
+
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
38506
|
+
receipt_time: number;
|
|
38507
|
+
/** @description Height of the block this transaction was received by the node */
|
|
38508
|
+
receipt_block_height: number;
|
|
38509
|
+
/** @description Status of the mempool transaction */
|
|
38510
|
+
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
38511
|
+
/** @enum {string} */
|
|
38512
|
+
type: "poison_microblock";
|
|
38513
|
+
} | {
|
|
38514
|
+
/** @description Transaction ID */
|
|
38515
|
+
tx_id: string;
|
|
38516
|
+
sender: {
|
|
38517
|
+
/** @description Address of the transaction initiator */
|
|
38518
|
+
address: string;
|
|
38519
|
+
/** @description Nonce of the transaction initiator */
|
|
38520
|
+
nonce: number;
|
|
38521
|
+
};
|
|
38522
|
+
sponsor: {
|
|
38523
|
+
/** @description Address of the transaction initiator */
|
|
38524
|
+
address: string;
|
|
38525
|
+
/** @description Nonce of the transaction initiator */
|
|
38526
|
+
nonce: number;
|
|
38527
|
+
} | null;
|
|
38528
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
38529
|
+
fee_rate: string;
|
|
38530
|
+
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
38531
|
+
receipt_time: number;
|
|
38532
|
+
/** @description Height of the block this transaction was received by the node */
|
|
38533
|
+
receipt_block_height: number;
|
|
38534
|
+
/** @description Status of the mempool transaction */
|
|
38535
|
+
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
38536
|
+
/** @enum {string} */
|
|
38537
|
+
type: "coinbase";
|
|
38538
|
+
} | {
|
|
38539
|
+
/** @description Transaction ID */
|
|
38540
|
+
tx_id: string;
|
|
38541
|
+
sender: {
|
|
38542
|
+
/** @description Address of the transaction initiator */
|
|
38543
|
+
address: string;
|
|
38544
|
+
/** @description Nonce of the transaction initiator */
|
|
38545
|
+
nonce: number;
|
|
38546
|
+
};
|
|
38547
|
+
sponsor: {
|
|
38548
|
+
/** @description Address of the transaction initiator */
|
|
38549
|
+
address: string;
|
|
38550
|
+
/** @description Nonce of the transaction initiator */
|
|
38551
|
+
nonce: number;
|
|
38552
|
+
} | null;
|
|
38553
|
+
/** @description Transaction fee as Integer string (64-bit unsigned integer). */
|
|
38554
|
+
fee_rate: string;
|
|
38555
|
+
/** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
|
|
38556
|
+
receipt_time: number;
|
|
38557
|
+
/** @description Height of the block this transaction was received by the node */
|
|
38558
|
+
receipt_block_height: number;
|
|
38559
|
+
/** @description Status of the mempool transaction */
|
|
38560
|
+
status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
|
|
38561
|
+
/** @enum {string} */
|
|
38562
|
+
type: "tenure_change";
|
|
38563
|
+
})[];
|
|
38564
|
+
};
|
|
38565
|
+
};
|
|
38566
|
+
};
|
|
38567
|
+
/** @description Default Response */
|
|
38568
|
+
"4XX": {
|
|
38569
|
+
headers: {
|
|
38570
|
+
[name: string]: unknown;
|
|
38571
|
+
};
|
|
38572
|
+
content: {
|
|
38573
|
+
"application/json": {
|
|
38574
|
+
error: string;
|
|
38575
|
+
message?: string;
|
|
38576
|
+
} & {
|
|
38577
|
+
[key: string]: unknown;
|
|
38578
|
+
};
|
|
38579
|
+
};
|
|
38580
|
+
};
|
|
38581
|
+
};
|
|
38582
|
+
};
|
|
38331
38583
|
get_bonds: {
|
|
38332
38584
|
parameters: {
|
|
38333
38585
|
query?: {
|