@stacks/blockchain-api-client 8.8.0-beta.2 → 8.9.0

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.
@@ -86,31 +86,6 @@ export interface paths {
86
86
  patch?: never;
87
87
  trace?: never;
88
88
  };
89
- "/extended/v1/tx/mempool/dropped": {
90
- parameters: {
91
- query?: never;
92
- header?: never;
93
- path?: never;
94
- cookie?: never;
95
- };
96
- /**
97
- * Get dropped mempool transactions
98
- * @description Retrieves all recently-broadcast transactions that have been dropped from the mempool.
99
- *
100
- * Transactions are dropped from the mempool if:
101
- * * they were stale and awaiting garbage collection or,
102
- * * were expensive, or
103
- * * were replaced with a new fee
104
- */
105
- get: operations["get_dropped_mempool_transaction_list"];
106
- put?: never;
107
- post?: never;
108
- delete?: never;
109
- options?: never;
110
- head?: never;
111
- patch?: never;
112
- trace?: never;
113
- };
114
89
  "/extended/v1/tx/mempool/stats": {
115
90
  parameters: {
116
91
  query?: never;
@@ -5930,661 +5905,6 @@ export interface operations {
5930
5905
  };
5931
5906
  };
5932
5907
  };
5933
- get_dropped_mempool_transaction_list: {
5934
- parameters: {
5935
- query?: {
5936
- /** @description Result offset */
5937
- offset?: number;
5938
- /** @description Results per page */
5939
- limit?: number;
5940
- };
5941
- header?: never;
5942
- path?: never;
5943
- cookie?: never;
5944
- };
5945
- requestBody?: never;
5946
- responses: {
5947
- /** @description List of dropped mempool transactions */
5948
- 200: {
5949
- headers: {
5950
- [name: string]: unknown;
5951
- };
5952
- content: {
5953
- "application/json": {
5954
- /** @example 20 */
5955
- limit: number;
5956
- /** @example 0 */
5957
- offset: number;
5958
- /** @example 1 */
5959
- total: number;
5960
- results: ({
5961
- /** @description Transaction ID */
5962
- tx_id: string;
5963
- /** @description Used for ordering the transactions originating from and paying from an account. The nonce ensures that a transaction is processed at most once. The nonce counts the number of times an account's owner(s) have authorized a transaction. The first transaction from an account will have a nonce value equal to 0, the second will have a nonce value equal to 1, and so on. */
5964
- nonce: number;
5965
- /** @description Transaction fee as Integer string (64-bit unsigned integer). */
5966
- fee_rate: string;
5967
- /** @description Address of the transaction initiator */
5968
- sender_address: string;
5969
- sponsor_nonce?: number;
5970
- /** @description Denotes whether the originating account is the same as the paying account */
5971
- sponsored: boolean;
5972
- sponsor_address?: string;
5973
- post_condition_mode: "allow" | "deny";
5974
- post_conditions: ({
5975
- principal: {
5976
- /** @enum {string} */
5977
- type_id: "principal_origin";
5978
- } | {
5979
- /** @enum {string} */
5980
- type_id: "principal_standard";
5981
- address: string;
5982
- } | {
5983
- /** @enum {string} */
5984
- type_id: "principal_contract";
5985
- address: string;
5986
- contract_name: string;
5987
- };
5988
- condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
5989
- amount: string;
5990
- /** @enum {string} */
5991
- type: "stx";
5992
- } | {
5993
- principal: {
5994
- /** @enum {string} */
5995
- type_id: "principal_origin";
5996
- } | {
5997
- /** @enum {string} */
5998
- type_id: "principal_standard";
5999
- address: string;
6000
- } | {
6001
- /** @enum {string} */
6002
- type_id: "principal_contract";
6003
- address: string;
6004
- contract_name: string;
6005
- };
6006
- condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
6007
- amount: string;
6008
- /** @enum {string} */
6009
- type: "fungible";
6010
- asset: {
6011
- asset_name: string;
6012
- contract_address: string;
6013
- contract_name: string;
6014
- };
6015
- } | {
6016
- principal: {
6017
- /** @enum {string} */
6018
- type_id: "principal_origin";
6019
- } | {
6020
- /** @enum {string} */
6021
- type_id: "principal_standard";
6022
- address: string;
6023
- } | {
6024
- /** @enum {string} */
6025
- type_id: "principal_contract";
6026
- address: string;
6027
- contract_name: string;
6028
- };
6029
- condition_code: "sent" | "not_sent";
6030
- /** @enum {string} */
6031
- type: "non_fungible";
6032
- asset_value: {
6033
- hex: string;
6034
- repr: string;
6035
- };
6036
- asset: {
6037
- asset_name: string;
6038
- contract_address: string;
6039
- contract_name: string;
6040
- };
6041
- })[];
6042
- /** @description `on_chain_only`: the transaction MUST be included in an anchored block, `off_chain_only`: the transaction MUST be included in a microblock, `any`: the leader can choose where to include the transaction. */
6043
- anchor_mode: "on_chain_only" | "off_chain_only" | "any";
6044
- /** @description Status of the transaction */
6045
- tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
6046
- /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
6047
- receipt_time: number;
6048
- /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */
6049
- receipt_time_iso: string;
6050
- /** @enum {string} */
6051
- tx_type: "token_transfer";
6052
- token_transfer: {
6053
- recipient_address: string;
6054
- /** @description Transfer amount as Integer string (64-bit unsigned integer) */
6055
- amount: string;
6056
- /** @description Hex encoded arbitrary message, up to 34 bytes length (should try decoding to an ASCII string) */
6057
- memo: string;
6058
- };
6059
- } | {
6060
- /** @description Transaction ID */
6061
- tx_id: string;
6062
- /** @description Used for ordering the transactions originating from and paying from an account. The nonce ensures that a transaction is processed at most once. The nonce counts the number of times an account's owner(s) have authorized a transaction. The first transaction from an account will have a nonce value equal to 0, the second will have a nonce value equal to 1, and so on. */
6063
- nonce: number;
6064
- /** @description Transaction fee as Integer string (64-bit unsigned integer). */
6065
- fee_rate: string;
6066
- /** @description Address of the transaction initiator */
6067
- sender_address: string;
6068
- sponsor_nonce?: number;
6069
- /** @description Denotes whether the originating account is the same as the paying account */
6070
- sponsored: boolean;
6071
- sponsor_address?: string;
6072
- post_condition_mode: "allow" | "deny";
6073
- post_conditions: ({
6074
- principal: {
6075
- /** @enum {string} */
6076
- type_id: "principal_origin";
6077
- } | {
6078
- /** @enum {string} */
6079
- type_id: "principal_standard";
6080
- address: string;
6081
- } | {
6082
- /** @enum {string} */
6083
- type_id: "principal_contract";
6084
- address: string;
6085
- contract_name: string;
6086
- };
6087
- condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
6088
- amount: string;
6089
- /** @enum {string} */
6090
- type: "stx";
6091
- } | {
6092
- principal: {
6093
- /** @enum {string} */
6094
- type_id: "principal_origin";
6095
- } | {
6096
- /** @enum {string} */
6097
- type_id: "principal_standard";
6098
- address: string;
6099
- } | {
6100
- /** @enum {string} */
6101
- type_id: "principal_contract";
6102
- address: string;
6103
- contract_name: string;
6104
- };
6105
- condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
6106
- amount: string;
6107
- /** @enum {string} */
6108
- type: "fungible";
6109
- asset: {
6110
- asset_name: string;
6111
- contract_address: string;
6112
- contract_name: string;
6113
- };
6114
- } | {
6115
- principal: {
6116
- /** @enum {string} */
6117
- type_id: "principal_origin";
6118
- } | {
6119
- /** @enum {string} */
6120
- type_id: "principal_standard";
6121
- address: string;
6122
- } | {
6123
- /** @enum {string} */
6124
- type_id: "principal_contract";
6125
- address: string;
6126
- contract_name: string;
6127
- };
6128
- condition_code: "sent" | "not_sent";
6129
- /** @enum {string} */
6130
- type: "non_fungible";
6131
- asset_value: {
6132
- hex: string;
6133
- repr: string;
6134
- };
6135
- asset: {
6136
- asset_name: string;
6137
- contract_address: string;
6138
- contract_name: string;
6139
- };
6140
- })[];
6141
- /** @description `on_chain_only`: the transaction MUST be included in an anchored block, `off_chain_only`: the transaction MUST be included in a microblock, `any`: the leader can choose where to include the transaction. */
6142
- anchor_mode: "on_chain_only" | "off_chain_only" | "any";
6143
- /** @description Status of the transaction */
6144
- tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
6145
- /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
6146
- receipt_time: number;
6147
- /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */
6148
- receipt_time_iso: string;
6149
- /** @enum {string} */
6150
- tx_type: "smart_contract";
6151
- smart_contract: {
6152
- clarity_version: number | null;
6153
- /** @description Contract identifier formatted as `<principaladdress>.<contract_name>` */
6154
- contract_id: string;
6155
- /** @description Clarity code of the smart contract being deployed */
6156
- source_code: string;
6157
- };
6158
- } | {
6159
- /** @description Transaction ID */
6160
- tx_id: string;
6161
- /** @description Used for ordering the transactions originating from and paying from an account. The nonce ensures that a transaction is processed at most once. The nonce counts the number of times an account's owner(s) have authorized a transaction. The first transaction from an account will have a nonce value equal to 0, the second will have a nonce value equal to 1, and so on. */
6162
- nonce: number;
6163
- /** @description Transaction fee as Integer string (64-bit unsigned integer). */
6164
- fee_rate: string;
6165
- /** @description Address of the transaction initiator */
6166
- sender_address: string;
6167
- sponsor_nonce?: number;
6168
- /** @description Denotes whether the originating account is the same as the paying account */
6169
- sponsored: boolean;
6170
- sponsor_address?: string;
6171
- post_condition_mode: "allow" | "deny";
6172
- post_conditions: ({
6173
- principal: {
6174
- /** @enum {string} */
6175
- type_id: "principal_origin";
6176
- } | {
6177
- /** @enum {string} */
6178
- type_id: "principal_standard";
6179
- address: string;
6180
- } | {
6181
- /** @enum {string} */
6182
- type_id: "principal_contract";
6183
- address: string;
6184
- contract_name: string;
6185
- };
6186
- condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
6187
- amount: string;
6188
- /** @enum {string} */
6189
- type: "stx";
6190
- } | {
6191
- principal: {
6192
- /** @enum {string} */
6193
- type_id: "principal_origin";
6194
- } | {
6195
- /** @enum {string} */
6196
- type_id: "principal_standard";
6197
- address: string;
6198
- } | {
6199
- /** @enum {string} */
6200
- type_id: "principal_contract";
6201
- address: string;
6202
- contract_name: string;
6203
- };
6204
- condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
6205
- amount: string;
6206
- /** @enum {string} */
6207
- type: "fungible";
6208
- asset: {
6209
- asset_name: string;
6210
- contract_address: string;
6211
- contract_name: string;
6212
- };
6213
- } | {
6214
- principal: {
6215
- /** @enum {string} */
6216
- type_id: "principal_origin";
6217
- } | {
6218
- /** @enum {string} */
6219
- type_id: "principal_standard";
6220
- address: string;
6221
- } | {
6222
- /** @enum {string} */
6223
- type_id: "principal_contract";
6224
- address: string;
6225
- contract_name: string;
6226
- };
6227
- condition_code: "sent" | "not_sent";
6228
- /** @enum {string} */
6229
- type: "non_fungible";
6230
- asset_value: {
6231
- hex: string;
6232
- repr: string;
6233
- };
6234
- asset: {
6235
- asset_name: string;
6236
- contract_address: string;
6237
- contract_name: string;
6238
- };
6239
- })[];
6240
- /** @description `on_chain_only`: the transaction MUST be included in an anchored block, `off_chain_only`: the transaction MUST be included in a microblock, `any`: the leader can choose where to include the transaction. */
6241
- anchor_mode: "on_chain_only" | "off_chain_only" | "any";
6242
- /** @description Status of the transaction */
6243
- tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
6244
- /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
6245
- receipt_time: number;
6246
- /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */
6247
- receipt_time_iso: string;
6248
- /** @enum {string} */
6249
- tx_type: "contract_call";
6250
- contract_call: {
6251
- /** @description Contract identifier formatted as `<principaladdress>.<contract_name>` */
6252
- contract_id: string;
6253
- /** @description Name of the Clarity function to be invoked */
6254
- function_name: string;
6255
- /** @description Function definition, including function name and type as well as parameter names and types */
6256
- function_signature: string;
6257
- function_args?: {
6258
- hex: string;
6259
- repr: string;
6260
- name: string;
6261
- type: string;
6262
- }[];
6263
- };
6264
- } | {
6265
- /** @description Transaction ID */
6266
- tx_id: string;
6267
- /** @description Used for ordering the transactions originating from and paying from an account. The nonce ensures that a transaction is processed at most once. The nonce counts the number of times an account's owner(s) have authorized a transaction. The first transaction from an account will have a nonce value equal to 0, the second will have a nonce value equal to 1, and so on. */
6268
- nonce: number;
6269
- /** @description Transaction fee as Integer string (64-bit unsigned integer). */
6270
- fee_rate: string;
6271
- /** @description Address of the transaction initiator */
6272
- sender_address: string;
6273
- sponsor_nonce?: number;
6274
- /** @description Denotes whether the originating account is the same as the paying account */
6275
- sponsored: boolean;
6276
- sponsor_address?: string;
6277
- post_condition_mode: "allow" | "deny";
6278
- post_conditions: ({
6279
- principal: {
6280
- /** @enum {string} */
6281
- type_id: "principal_origin";
6282
- } | {
6283
- /** @enum {string} */
6284
- type_id: "principal_standard";
6285
- address: string;
6286
- } | {
6287
- /** @enum {string} */
6288
- type_id: "principal_contract";
6289
- address: string;
6290
- contract_name: string;
6291
- };
6292
- condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
6293
- amount: string;
6294
- /** @enum {string} */
6295
- type: "stx";
6296
- } | {
6297
- principal: {
6298
- /** @enum {string} */
6299
- type_id: "principal_origin";
6300
- } | {
6301
- /** @enum {string} */
6302
- type_id: "principal_standard";
6303
- address: string;
6304
- } | {
6305
- /** @enum {string} */
6306
- type_id: "principal_contract";
6307
- address: string;
6308
- contract_name: string;
6309
- };
6310
- condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
6311
- amount: string;
6312
- /** @enum {string} */
6313
- type: "fungible";
6314
- asset: {
6315
- asset_name: string;
6316
- contract_address: string;
6317
- contract_name: string;
6318
- };
6319
- } | {
6320
- principal: {
6321
- /** @enum {string} */
6322
- type_id: "principal_origin";
6323
- } | {
6324
- /** @enum {string} */
6325
- type_id: "principal_standard";
6326
- address: string;
6327
- } | {
6328
- /** @enum {string} */
6329
- type_id: "principal_contract";
6330
- address: string;
6331
- contract_name: string;
6332
- };
6333
- condition_code: "sent" | "not_sent";
6334
- /** @enum {string} */
6335
- type: "non_fungible";
6336
- asset_value: {
6337
- hex: string;
6338
- repr: string;
6339
- };
6340
- asset: {
6341
- asset_name: string;
6342
- contract_address: string;
6343
- contract_name: string;
6344
- };
6345
- })[];
6346
- /** @description `on_chain_only`: the transaction MUST be included in an anchored block, `off_chain_only`: the transaction MUST be included in a microblock, `any`: the leader can choose where to include the transaction. */
6347
- anchor_mode: "on_chain_only" | "off_chain_only" | "any";
6348
- /** @description Status of the transaction */
6349
- tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
6350
- /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
6351
- receipt_time: number;
6352
- /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */
6353
- receipt_time_iso: string;
6354
- /** @enum {string} */
6355
- tx_type: "poison_microblock";
6356
- poison_microblock: {
6357
- /** @description Hex encoded microblock header */
6358
- microblock_header_1: string;
6359
- /** @description Hex encoded microblock header */
6360
- microblock_header_2: string;
6361
- };
6362
- } | {
6363
- /** @description Transaction ID */
6364
- tx_id: string;
6365
- /** @description Used for ordering the transactions originating from and paying from an account. The nonce ensures that a transaction is processed at most once. The nonce counts the number of times an account's owner(s) have authorized a transaction. The first transaction from an account will have a nonce value equal to 0, the second will have a nonce value equal to 1, and so on. */
6366
- nonce: number;
6367
- /** @description Transaction fee as Integer string (64-bit unsigned integer). */
6368
- fee_rate: string;
6369
- /** @description Address of the transaction initiator */
6370
- sender_address: string;
6371
- sponsor_nonce?: number;
6372
- /** @description Denotes whether the originating account is the same as the paying account */
6373
- sponsored: boolean;
6374
- sponsor_address?: string;
6375
- post_condition_mode: "allow" | "deny";
6376
- post_conditions: ({
6377
- principal: {
6378
- /** @enum {string} */
6379
- type_id: "principal_origin";
6380
- } | {
6381
- /** @enum {string} */
6382
- type_id: "principal_standard";
6383
- address: string;
6384
- } | {
6385
- /** @enum {string} */
6386
- type_id: "principal_contract";
6387
- address: string;
6388
- contract_name: string;
6389
- };
6390
- condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
6391
- amount: string;
6392
- /** @enum {string} */
6393
- type: "stx";
6394
- } | {
6395
- principal: {
6396
- /** @enum {string} */
6397
- type_id: "principal_origin";
6398
- } | {
6399
- /** @enum {string} */
6400
- type_id: "principal_standard";
6401
- address: string;
6402
- } | {
6403
- /** @enum {string} */
6404
- type_id: "principal_contract";
6405
- address: string;
6406
- contract_name: string;
6407
- };
6408
- condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
6409
- amount: string;
6410
- /** @enum {string} */
6411
- type: "fungible";
6412
- asset: {
6413
- asset_name: string;
6414
- contract_address: string;
6415
- contract_name: string;
6416
- };
6417
- } | {
6418
- principal: {
6419
- /** @enum {string} */
6420
- type_id: "principal_origin";
6421
- } | {
6422
- /** @enum {string} */
6423
- type_id: "principal_standard";
6424
- address: string;
6425
- } | {
6426
- /** @enum {string} */
6427
- type_id: "principal_contract";
6428
- address: string;
6429
- contract_name: string;
6430
- };
6431
- condition_code: "sent" | "not_sent";
6432
- /** @enum {string} */
6433
- type: "non_fungible";
6434
- asset_value: {
6435
- hex: string;
6436
- repr: string;
6437
- };
6438
- asset: {
6439
- asset_name: string;
6440
- contract_address: string;
6441
- contract_name: string;
6442
- };
6443
- })[];
6444
- /** @description `on_chain_only`: the transaction MUST be included in an anchored block, `off_chain_only`: the transaction MUST be included in a microblock, `any`: the leader can choose where to include the transaction. */
6445
- anchor_mode: "on_chain_only" | "off_chain_only" | "any";
6446
- /** @description Status of the transaction */
6447
- tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
6448
- /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
6449
- receipt_time: number;
6450
- /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */
6451
- receipt_time_iso: string;
6452
- /** @enum {string} */
6453
- tx_type: "coinbase";
6454
- coinbase_payload: {
6455
- /** @description Hex encoded 32-byte scratch space for block leader's use */
6456
- data: string;
6457
- alt_recipient?: string | null;
6458
- vrf_proof?: string | null;
6459
- };
6460
- } | {
6461
- /** @description Transaction ID */
6462
- tx_id: string;
6463
- /** @description Used for ordering the transactions originating from and paying from an account. The nonce ensures that a transaction is processed at most once. The nonce counts the number of times an account's owner(s) have authorized a transaction. The first transaction from an account will have a nonce value equal to 0, the second will have a nonce value equal to 1, and so on. */
6464
- nonce: number;
6465
- /** @description Transaction fee as Integer string (64-bit unsigned integer). */
6466
- fee_rate: string;
6467
- /** @description Address of the transaction initiator */
6468
- sender_address: string;
6469
- sponsor_nonce?: number;
6470
- /** @description Denotes whether the originating account is the same as the paying account */
6471
- sponsored: boolean;
6472
- sponsor_address?: string;
6473
- post_condition_mode: "allow" | "deny";
6474
- post_conditions: ({
6475
- principal: {
6476
- /** @enum {string} */
6477
- type_id: "principal_origin";
6478
- } | {
6479
- /** @enum {string} */
6480
- type_id: "principal_standard";
6481
- address: string;
6482
- } | {
6483
- /** @enum {string} */
6484
- type_id: "principal_contract";
6485
- address: string;
6486
- contract_name: string;
6487
- };
6488
- condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
6489
- amount: string;
6490
- /** @enum {string} */
6491
- type: "stx";
6492
- } | {
6493
- principal: {
6494
- /** @enum {string} */
6495
- type_id: "principal_origin";
6496
- } | {
6497
- /** @enum {string} */
6498
- type_id: "principal_standard";
6499
- address: string;
6500
- } | {
6501
- /** @enum {string} */
6502
- type_id: "principal_contract";
6503
- address: string;
6504
- contract_name: string;
6505
- };
6506
- condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
6507
- amount: string;
6508
- /** @enum {string} */
6509
- type: "fungible";
6510
- asset: {
6511
- asset_name: string;
6512
- contract_address: string;
6513
- contract_name: string;
6514
- };
6515
- } | {
6516
- principal: {
6517
- /** @enum {string} */
6518
- type_id: "principal_origin";
6519
- } | {
6520
- /** @enum {string} */
6521
- type_id: "principal_standard";
6522
- address: string;
6523
- } | {
6524
- /** @enum {string} */
6525
- type_id: "principal_contract";
6526
- address: string;
6527
- contract_name: string;
6528
- };
6529
- condition_code: "sent" | "not_sent";
6530
- /** @enum {string} */
6531
- type: "non_fungible";
6532
- asset_value: {
6533
- hex: string;
6534
- repr: string;
6535
- };
6536
- asset: {
6537
- asset_name: string;
6538
- contract_address: string;
6539
- contract_name: string;
6540
- };
6541
- })[];
6542
- /** @description `on_chain_only`: the transaction MUST be included in an anchored block, `off_chain_only`: the transaction MUST be included in a microblock, `any`: the leader can choose where to include the transaction. */
6543
- anchor_mode: "on_chain_only" | "off_chain_only" | "any";
6544
- /** @description Status of the transaction */
6545
- tx_status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
6546
- /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
6547
- receipt_time: number;
6548
- /** @description An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) timestamp indicating when the transaction broadcast was received by the node. */
6549
- receipt_time_iso: string;
6550
- /** @enum {string} */
6551
- tx_type: "tenure_change";
6552
- tenure_change_payload: {
6553
- /** @description Consensus hash of this tenure. Corresponds to the sortition in which the miner of this block was chosen. */
6554
- tenure_consensus_hash: string;
6555
- /** @description Consensus hash of the previous tenure. Corresponds to the sortition of the previous winning block-commit. */
6556
- prev_tenure_consensus_hash: string;
6557
- /** @description Current consensus hash on the underlying burnchain. Corresponds to the last-seen sortition. */
6558
- burn_view_consensus_hash: string;
6559
- /** @description (Hex string) Stacks Block hash */
6560
- previous_tenure_end: string;
6561
- /** @description The number of blocks produced in the previous tenure. */
6562
- previous_tenure_blocks: number;
6563
- /** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
6564
- cause: "block_found" | "extended";
6565
- /** @description (Hex string) The ECDSA public key hash of the current tenure. */
6566
- pubkey_hash: string;
6567
- };
6568
- })[];
6569
- };
6570
- };
6571
- };
6572
- /** @description Default Response */
6573
- "4XX": {
6574
- headers: {
6575
- [name: string]: unknown;
6576
- };
6577
- content: {
6578
- "application/json": {
6579
- error: string;
6580
- message?: string;
6581
- } & {
6582
- [key: string]: unknown;
6583
- };
6584
- };
6585
- };
6586
- };
6587
- };
6588
5908
  get_mempool_transaction_stats: {
6589
5909
  parameters: {
6590
5910
  query?: never;