@secretkeylabs/stacks-tools 0.4.0-80a0ce6 → 0.4.0-afcaa14

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/dist/index.d.cts CHANGED
@@ -30,188 +30,6 @@ type ApiPaginationOptions = {
30
30
  offset?: number;
31
31
  };
32
32
 
33
- declare const baseTransactionSchema: v.ObjectSchema<{
34
- readonly tx_id: v.StringSchema<undefined>;
35
- readonly nonce: v.NumberSchema<undefined>;
36
- readonly fee_rate: v.StringSchema<undefined>;
37
- readonly sender_address: v.StringSchema<undefined>;
38
- readonly sponsored: v.BooleanSchema<undefined>;
39
- readonly post_condition_mode: v.StringSchema<undefined>;
40
- readonly post_conditions: v.ArraySchema<v.UnknownSchema, undefined>;
41
- readonly anchor_mode: v.StringSchema<undefined>;
42
- readonly is_unanchored: v.BooleanSchema<undefined>;
43
- readonly block_hash: v.StringSchema<undefined>;
44
- readonly parent_block_hash: v.StringSchema<undefined>;
45
- readonly block_height: v.NumberSchema<undefined>;
46
- readonly block_time: v.NumberSchema<undefined>;
47
- readonly block_time_iso: v.StringSchema<undefined>;
48
- readonly burn_block_height: v.NumberSchema<undefined>;
49
- readonly burn_block_time: v.NumberSchema<undefined>;
50
- readonly burn_block_time_iso: v.StringSchema<undefined>;
51
- readonly parent_burn_block_time: v.NumberSchema<undefined>;
52
- readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
53
- readonly canonical: v.BooleanSchema<undefined>;
54
- readonly tx_index: v.NumberSchema<undefined>;
55
- readonly tx_status: v.StringSchema<undefined>;
56
- readonly tx_result: v.ObjectSchema<{
57
- readonly hex: v.StringSchema<undefined>;
58
- readonly repr: v.StringSchema<undefined>;
59
- }, undefined>;
60
- readonly microblock_hash: v.StringSchema<undefined>;
61
- readonly microblock_sequence: v.NumberSchema<undefined>;
62
- readonly microblock_canonical: v.BooleanSchema<undefined>;
63
- readonly event_count: v.NumberSchema<undefined>;
64
- readonly events: v.ArraySchema<v.UnknownSchema, undefined>;
65
- readonly execution_cost_read_count: v.NumberSchema<undefined>;
66
- readonly execution_cost_read_length: v.NumberSchema<undefined>;
67
- readonly execution_cost_runtime: v.NumberSchema<undefined>;
68
- readonly execution_cost_write_count: v.NumberSchema<undefined>;
69
- readonly execution_cost_write_length: v.NumberSchema<undefined>;
70
- }, undefined>;
71
- declare const contractCallTransactionSchema: v.ObjectSchema<{
72
- readonly tx_id: v.StringSchema<undefined>;
73
- readonly nonce: v.NumberSchema<undefined>;
74
- readonly fee_rate: v.StringSchema<undefined>;
75
- readonly sender_address: v.StringSchema<undefined>;
76
- readonly sponsored: v.BooleanSchema<undefined>;
77
- readonly post_condition_mode: v.StringSchema<undefined>;
78
- readonly post_conditions: v.ArraySchema<v.UnknownSchema, undefined>;
79
- readonly anchor_mode: v.StringSchema<undefined>;
80
- readonly is_unanchored: v.BooleanSchema<undefined>;
81
- readonly block_hash: v.StringSchema<undefined>;
82
- readonly parent_block_hash: v.StringSchema<undefined>;
83
- readonly block_height: v.NumberSchema<undefined>;
84
- readonly block_time: v.NumberSchema<undefined>;
85
- readonly block_time_iso: v.StringSchema<undefined>;
86
- readonly burn_block_height: v.NumberSchema<undefined>;
87
- readonly burn_block_time: v.NumberSchema<undefined>;
88
- readonly burn_block_time_iso: v.StringSchema<undefined>;
89
- readonly parent_burn_block_time: v.NumberSchema<undefined>;
90
- readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
91
- readonly canonical: v.BooleanSchema<undefined>;
92
- readonly tx_index: v.NumberSchema<undefined>;
93
- readonly tx_status: v.StringSchema<undefined>;
94
- readonly tx_result: v.ObjectSchema<{
95
- readonly hex: v.StringSchema<undefined>;
96
- readonly repr: v.StringSchema<undefined>;
97
- }, undefined>;
98
- readonly microblock_hash: v.StringSchema<undefined>;
99
- readonly microblock_sequence: v.NumberSchema<undefined>;
100
- readonly microblock_canonical: v.BooleanSchema<undefined>;
101
- readonly event_count: v.NumberSchema<undefined>;
102
- readonly events: v.ArraySchema<v.UnknownSchema, undefined>;
103
- readonly execution_cost_read_count: v.NumberSchema<undefined>;
104
- readonly execution_cost_read_length: v.NumberSchema<undefined>;
105
- readonly execution_cost_runtime: v.NumberSchema<undefined>;
106
- readonly execution_cost_write_count: v.NumberSchema<undefined>;
107
- readonly execution_cost_write_length: v.NumberSchema<undefined>;
108
- readonly tx_type: v.LiteralSchema<"contract_call", undefined>;
109
- readonly contract_call: v.ObjectSchema<{
110
- readonly contract_id: v.StringSchema<undefined>;
111
- readonly function_name: v.StringSchema<undefined>;
112
- readonly function_signature: v.StringSchema<undefined>;
113
- readonly function_args: v.ArraySchema<v.ObjectSchema<{
114
- readonly hex: v.StringSchema<undefined>;
115
- readonly repr: v.StringSchema<undefined>;
116
- readonly name: v.StringSchema<undefined>;
117
- readonly type: v.StringSchema<undefined>;
118
- }, undefined>, undefined>;
119
- }, undefined>;
120
- }, undefined>;
121
- type ContractCallTransaction = v.InferOutput<typeof contractCallTransactionSchema>;
122
- declare const smartContractTransactionSchema: v.ObjectSchema<{
123
- readonly tx_id: v.StringSchema<undefined>;
124
- readonly nonce: v.NumberSchema<undefined>;
125
- readonly fee_rate: v.StringSchema<undefined>;
126
- readonly sender_address: v.StringSchema<undefined>;
127
- readonly sponsored: v.BooleanSchema<undefined>;
128
- readonly post_condition_mode: v.StringSchema<undefined>;
129
- readonly post_conditions: v.ArraySchema<v.UnknownSchema, undefined>;
130
- readonly anchor_mode: v.StringSchema<undefined>;
131
- readonly is_unanchored: v.BooleanSchema<undefined>;
132
- readonly block_hash: v.StringSchema<undefined>;
133
- readonly parent_block_hash: v.StringSchema<undefined>;
134
- readonly block_height: v.NumberSchema<undefined>;
135
- readonly block_time: v.NumberSchema<undefined>;
136
- readonly block_time_iso: v.StringSchema<undefined>;
137
- readonly burn_block_height: v.NumberSchema<undefined>;
138
- readonly burn_block_time: v.NumberSchema<undefined>;
139
- readonly burn_block_time_iso: v.StringSchema<undefined>;
140
- readonly parent_burn_block_time: v.NumberSchema<undefined>;
141
- readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
142
- readonly canonical: v.BooleanSchema<undefined>;
143
- readonly tx_index: v.NumberSchema<undefined>;
144
- readonly tx_status: v.StringSchema<undefined>;
145
- readonly tx_result: v.ObjectSchema<{
146
- readonly hex: v.StringSchema<undefined>;
147
- readonly repr: v.StringSchema<undefined>;
148
- }, undefined>;
149
- readonly microblock_hash: v.StringSchema<undefined>;
150
- readonly microblock_sequence: v.NumberSchema<undefined>;
151
- readonly microblock_canonical: v.BooleanSchema<undefined>;
152
- readonly event_count: v.NumberSchema<undefined>;
153
- readonly events: v.ArraySchema<v.UnknownSchema, undefined>;
154
- readonly execution_cost_read_count: v.NumberSchema<undefined>;
155
- readonly execution_cost_read_length: v.NumberSchema<undefined>;
156
- readonly execution_cost_runtime: v.NumberSchema<undefined>;
157
- readonly execution_cost_write_count: v.NumberSchema<undefined>;
158
- readonly execution_cost_write_length: v.NumberSchema<undefined>;
159
- readonly tx_type: v.LiteralSchema<"smart_contract", undefined>;
160
- readonly smart_contract: v.ObjectSchema<{
161
- /**
162
- * NOTE: The types may be wrong, not sure what type of value is used when
163
- * the version is not `null`.
164
- */
165
- readonly clarity_version: v.UnionSchema<[v.NullSchema<undefined>, v.NumberSchema<undefined>], undefined>;
166
- readonly contract_id: v.StringSchema<undefined>;
167
- readonly source_code: v.StringSchema<undefined>;
168
- }, undefined>;
169
- }, undefined>;
170
- type SmartContractTransaction = v.InferOutput<typeof smartContractTransactionSchema>;
171
- declare const tokenTransferSchema: v.ObjectSchema<{
172
- readonly tx_id: v.StringSchema<undefined>;
173
- readonly nonce: v.NumberSchema<undefined>;
174
- readonly fee_rate: v.StringSchema<undefined>;
175
- readonly sender_address: v.StringSchema<undefined>;
176
- readonly sponsored: v.BooleanSchema<undefined>;
177
- readonly post_condition_mode: v.StringSchema<undefined>;
178
- readonly post_conditions: v.ArraySchema<v.UnknownSchema, undefined>;
179
- readonly anchor_mode: v.StringSchema<undefined>;
180
- readonly is_unanchored: v.BooleanSchema<undefined>;
181
- readonly block_hash: v.StringSchema<undefined>;
182
- readonly parent_block_hash: v.StringSchema<undefined>;
183
- readonly block_height: v.NumberSchema<undefined>;
184
- readonly block_time: v.NumberSchema<undefined>;
185
- readonly block_time_iso: v.StringSchema<undefined>;
186
- readonly burn_block_height: v.NumberSchema<undefined>;
187
- readonly burn_block_time: v.NumberSchema<undefined>;
188
- readonly burn_block_time_iso: v.StringSchema<undefined>;
189
- readonly parent_burn_block_time: v.NumberSchema<undefined>;
190
- readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
191
- readonly canonical: v.BooleanSchema<undefined>;
192
- readonly tx_index: v.NumberSchema<undefined>;
193
- readonly tx_status: v.StringSchema<undefined>;
194
- readonly tx_result: v.ObjectSchema<{
195
- readonly hex: v.StringSchema<undefined>;
196
- readonly repr: v.StringSchema<undefined>;
197
- }, undefined>;
198
- readonly microblock_hash: v.StringSchema<undefined>;
199
- readonly microblock_sequence: v.NumberSchema<undefined>;
200
- readonly microblock_canonical: v.BooleanSchema<undefined>;
201
- readonly event_count: v.NumberSchema<undefined>;
202
- readonly events: v.ArraySchema<v.UnknownSchema, undefined>;
203
- readonly execution_cost_read_count: v.NumberSchema<undefined>;
204
- readonly execution_cost_read_length: v.NumberSchema<undefined>;
205
- readonly execution_cost_runtime: v.NumberSchema<undefined>;
206
- readonly execution_cost_write_count: v.NumberSchema<undefined>;
207
- readonly execution_cost_write_length: v.NumberSchema<undefined>;
208
- readonly tx_type: v.LiteralSchema<"token_transfer", undefined>;
209
- readonly token_transfer: v.ObjectSchema<{
210
- readonly recipient_address: v.StringSchema<undefined>;
211
- readonly amount: v.StringSchema<undefined>;
212
- readonly memo: v.StringSchema<undefined>;
213
- }, undefined>;
214
- }, undefined>;
215
33
  /**
216
34
  * Incomplete schema of some transaction types.
217
35
  */
@@ -357,18 +175,6 @@ declare const transactionSchema: v.VariantSchema<"tx_type", [v.ObjectSchema<{
357
175
  }, undefined>], undefined>;
358
176
  type Transaction = v.InferOutput<typeof transactionSchema>;
359
177
 
360
- type schemas_ContractCallTransaction = ContractCallTransaction;
361
- type schemas_SmartContractTransaction = SmartContractTransaction;
362
- type schemas_Transaction = Transaction;
363
- declare const schemas_baseTransactionSchema: typeof baseTransactionSchema;
364
- declare const schemas_contractCallTransactionSchema: typeof contractCallTransactionSchema;
365
- declare const schemas_smartContractTransactionSchema: typeof smartContractTransactionSchema;
366
- declare const schemas_tokenTransferSchema: typeof tokenTransferSchema;
367
- declare const schemas_transactionSchema: typeof transactionSchema;
368
- declare namespace schemas {
369
- export { type schemas_ContractCallTransaction as ContractCallTransaction, type schemas_SmartContractTransaction as SmartContractTransaction, type schemas_Transaction as Transaction, schemas_baseTransactionSchema as baseTransactionSchema, schemas_contractCallTransactionSchema as contractCallTransactionSchema, schemas_smartContractTransactionSchema as smartContractTransactionSchema, schemas_tokenTransferSchema as tokenTransferSchema, schemas_transactionSchema as transactionSchema };
370
- }
371
-
372
178
  type Args$9 = {
373
179
  transactionId: string;
374
180
  } & ApiRequestOptions;
@@ -1315,7 +1121,7 @@ declare namespace index$2 {
1315
1121
  declare const index$1_addressTransactions: typeof addressTransactions;
1316
1122
  declare const index$1_getTransaction: typeof getTransaction;
1317
1123
  declare namespace index$1 {
1318
- export { addressTransactions$1 as AddressTransactions, schemas as Common, getTransaction$1 as GetTransaction, index$1_addressTransactions as addressTransactions, index$1_getTransaction as getTransaction };
1124
+ export { addressTransactions$1 as AddressTransactions, getTransaction$1 as GetTransaction, index$1_addressTransactions as addressTransactions, index$1_getTransaction as getTransaction };
1319
1125
  }
1320
1126
 
1321
1127
  declare const accounts: {
package/dist/index.d.ts CHANGED
@@ -30,188 +30,6 @@ type ApiPaginationOptions = {
30
30
  offset?: number;
31
31
  };
32
32
 
33
- declare const baseTransactionSchema: v.ObjectSchema<{
34
- readonly tx_id: v.StringSchema<undefined>;
35
- readonly nonce: v.NumberSchema<undefined>;
36
- readonly fee_rate: v.StringSchema<undefined>;
37
- readonly sender_address: v.StringSchema<undefined>;
38
- readonly sponsored: v.BooleanSchema<undefined>;
39
- readonly post_condition_mode: v.StringSchema<undefined>;
40
- readonly post_conditions: v.ArraySchema<v.UnknownSchema, undefined>;
41
- readonly anchor_mode: v.StringSchema<undefined>;
42
- readonly is_unanchored: v.BooleanSchema<undefined>;
43
- readonly block_hash: v.StringSchema<undefined>;
44
- readonly parent_block_hash: v.StringSchema<undefined>;
45
- readonly block_height: v.NumberSchema<undefined>;
46
- readonly block_time: v.NumberSchema<undefined>;
47
- readonly block_time_iso: v.StringSchema<undefined>;
48
- readonly burn_block_height: v.NumberSchema<undefined>;
49
- readonly burn_block_time: v.NumberSchema<undefined>;
50
- readonly burn_block_time_iso: v.StringSchema<undefined>;
51
- readonly parent_burn_block_time: v.NumberSchema<undefined>;
52
- readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
53
- readonly canonical: v.BooleanSchema<undefined>;
54
- readonly tx_index: v.NumberSchema<undefined>;
55
- readonly tx_status: v.StringSchema<undefined>;
56
- readonly tx_result: v.ObjectSchema<{
57
- readonly hex: v.StringSchema<undefined>;
58
- readonly repr: v.StringSchema<undefined>;
59
- }, undefined>;
60
- readonly microblock_hash: v.StringSchema<undefined>;
61
- readonly microblock_sequence: v.NumberSchema<undefined>;
62
- readonly microblock_canonical: v.BooleanSchema<undefined>;
63
- readonly event_count: v.NumberSchema<undefined>;
64
- readonly events: v.ArraySchema<v.UnknownSchema, undefined>;
65
- readonly execution_cost_read_count: v.NumberSchema<undefined>;
66
- readonly execution_cost_read_length: v.NumberSchema<undefined>;
67
- readonly execution_cost_runtime: v.NumberSchema<undefined>;
68
- readonly execution_cost_write_count: v.NumberSchema<undefined>;
69
- readonly execution_cost_write_length: v.NumberSchema<undefined>;
70
- }, undefined>;
71
- declare const contractCallTransactionSchema: v.ObjectSchema<{
72
- readonly tx_id: v.StringSchema<undefined>;
73
- readonly nonce: v.NumberSchema<undefined>;
74
- readonly fee_rate: v.StringSchema<undefined>;
75
- readonly sender_address: v.StringSchema<undefined>;
76
- readonly sponsored: v.BooleanSchema<undefined>;
77
- readonly post_condition_mode: v.StringSchema<undefined>;
78
- readonly post_conditions: v.ArraySchema<v.UnknownSchema, undefined>;
79
- readonly anchor_mode: v.StringSchema<undefined>;
80
- readonly is_unanchored: v.BooleanSchema<undefined>;
81
- readonly block_hash: v.StringSchema<undefined>;
82
- readonly parent_block_hash: v.StringSchema<undefined>;
83
- readonly block_height: v.NumberSchema<undefined>;
84
- readonly block_time: v.NumberSchema<undefined>;
85
- readonly block_time_iso: v.StringSchema<undefined>;
86
- readonly burn_block_height: v.NumberSchema<undefined>;
87
- readonly burn_block_time: v.NumberSchema<undefined>;
88
- readonly burn_block_time_iso: v.StringSchema<undefined>;
89
- readonly parent_burn_block_time: v.NumberSchema<undefined>;
90
- readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
91
- readonly canonical: v.BooleanSchema<undefined>;
92
- readonly tx_index: v.NumberSchema<undefined>;
93
- readonly tx_status: v.StringSchema<undefined>;
94
- readonly tx_result: v.ObjectSchema<{
95
- readonly hex: v.StringSchema<undefined>;
96
- readonly repr: v.StringSchema<undefined>;
97
- }, undefined>;
98
- readonly microblock_hash: v.StringSchema<undefined>;
99
- readonly microblock_sequence: v.NumberSchema<undefined>;
100
- readonly microblock_canonical: v.BooleanSchema<undefined>;
101
- readonly event_count: v.NumberSchema<undefined>;
102
- readonly events: v.ArraySchema<v.UnknownSchema, undefined>;
103
- readonly execution_cost_read_count: v.NumberSchema<undefined>;
104
- readonly execution_cost_read_length: v.NumberSchema<undefined>;
105
- readonly execution_cost_runtime: v.NumberSchema<undefined>;
106
- readonly execution_cost_write_count: v.NumberSchema<undefined>;
107
- readonly execution_cost_write_length: v.NumberSchema<undefined>;
108
- readonly tx_type: v.LiteralSchema<"contract_call", undefined>;
109
- readonly contract_call: v.ObjectSchema<{
110
- readonly contract_id: v.StringSchema<undefined>;
111
- readonly function_name: v.StringSchema<undefined>;
112
- readonly function_signature: v.StringSchema<undefined>;
113
- readonly function_args: v.ArraySchema<v.ObjectSchema<{
114
- readonly hex: v.StringSchema<undefined>;
115
- readonly repr: v.StringSchema<undefined>;
116
- readonly name: v.StringSchema<undefined>;
117
- readonly type: v.StringSchema<undefined>;
118
- }, undefined>, undefined>;
119
- }, undefined>;
120
- }, undefined>;
121
- type ContractCallTransaction = v.InferOutput<typeof contractCallTransactionSchema>;
122
- declare const smartContractTransactionSchema: v.ObjectSchema<{
123
- readonly tx_id: v.StringSchema<undefined>;
124
- readonly nonce: v.NumberSchema<undefined>;
125
- readonly fee_rate: v.StringSchema<undefined>;
126
- readonly sender_address: v.StringSchema<undefined>;
127
- readonly sponsored: v.BooleanSchema<undefined>;
128
- readonly post_condition_mode: v.StringSchema<undefined>;
129
- readonly post_conditions: v.ArraySchema<v.UnknownSchema, undefined>;
130
- readonly anchor_mode: v.StringSchema<undefined>;
131
- readonly is_unanchored: v.BooleanSchema<undefined>;
132
- readonly block_hash: v.StringSchema<undefined>;
133
- readonly parent_block_hash: v.StringSchema<undefined>;
134
- readonly block_height: v.NumberSchema<undefined>;
135
- readonly block_time: v.NumberSchema<undefined>;
136
- readonly block_time_iso: v.StringSchema<undefined>;
137
- readonly burn_block_height: v.NumberSchema<undefined>;
138
- readonly burn_block_time: v.NumberSchema<undefined>;
139
- readonly burn_block_time_iso: v.StringSchema<undefined>;
140
- readonly parent_burn_block_time: v.NumberSchema<undefined>;
141
- readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
142
- readonly canonical: v.BooleanSchema<undefined>;
143
- readonly tx_index: v.NumberSchema<undefined>;
144
- readonly tx_status: v.StringSchema<undefined>;
145
- readonly tx_result: v.ObjectSchema<{
146
- readonly hex: v.StringSchema<undefined>;
147
- readonly repr: v.StringSchema<undefined>;
148
- }, undefined>;
149
- readonly microblock_hash: v.StringSchema<undefined>;
150
- readonly microblock_sequence: v.NumberSchema<undefined>;
151
- readonly microblock_canonical: v.BooleanSchema<undefined>;
152
- readonly event_count: v.NumberSchema<undefined>;
153
- readonly events: v.ArraySchema<v.UnknownSchema, undefined>;
154
- readonly execution_cost_read_count: v.NumberSchema<undefined>;
155
- readonly execution_cost_read_length: v.NumberSchema<undefined>;
156
- readonly execution_cost_runtime: v.NumberSchema<undefined>;
157
- readonly execution_cost_write_count: v.NumberSchema<undefined>;
158
- readonly execution_cost_write_length: v.NumberSchema<undefined>;
159
- readonly tx_type: v.LiteralSchema<"smart_contract", undefined>;
160
- readonly smart_contract: v.ObjectSchema<{
161
- /**
162
- * NOTE: The types may be wrong, not sure what type of value is used when
163
- * the version is not `null`.
164
- */
165
- readonly clarity_version: v.UnionSchema<[v.NullSchema<undefined>, v.NumberSchema<undefined>], undefined>;
166
- readonly contract_id: v.StringSchema<undefined>;
167
- readonly source_code: v.StringSchema<undefined>;
168
- }, undefined>;
169
- }, undefined>;
170
- type SmartContractTransaction = v.InferOutput<typeof smartContractTransactionSchema>;
171
- declare const tokenTransferSchema: v.ObjectSchema<{
172
- readonly tx_id: v.StringSchema<undefined>;
173
- readonly nonce: v.NumberSchema<undefined>;
174
- readonly fee_rate: v.StringSchema<undefined>;
175
- readonly sender_address: v.StringSchema<undefined>;
176
- readonly sponsored: v.BooleanSchema<undefined>;
177
- readonly post_condition_mode: v.StringSchema<undefined>;
178
- readonly post_conditions: v.ArraySchema<v.UnknownSchema, undefined>;
179
- readonly anchor_mode: v.StringSchema<undefined>;
180
- readonly is_unanchored: v.BooleanSchema<undefined>;
181
- readonly block_hash: v.StringSchema<undefined>;
182
- readonly parent_block_hash: v.StringSchema<undefined>;
183
- readonly block_height: v.NumberSchema<undefined>;
184
- readonly block_time: v.NumberSchema<undefined>;
185
- readonly block_time_iso: v.StringSchema<undefined>;
186
- readonly burn_block_height: v.NumberSchema<undefined>;
187
- readonly burn_block_time: v.NumberSchema<undefined>;
188
- readonly burn_block_time_iso: v.StringSchema<undefined>;
189
- readonly parent_burn_block_time: v.NumberSchema<undefined>;
190
- readonly parent_burn_block_time_iso: v.StringSchema<undefined>;
191
- readonly canonical: v.BooleanSchema<undefined>;
192
- readonly tx_index: v.NumberSchema<undefined>;
193
- readonly tx_status: v.StringSchema<undefined>;
194
- readonly tx_result: v.ObjectSchema<{
195
- readonly hex: v.StringSchema<undefined>;
196
- readonly repr: v.StringSchema<undefined>;
197
- }, undefined>;
198
- readonly microblock_hash: v.StringSchema<undefined>;
199
- readonly microblock_sequence: v.NumberSchema<undefined>;
200
- readonly microblock_canonical: v.BooleanSchema<undefined>;
201
- readonly event_count: v.NumberSchema<undefined>;
202
- readonly events: v.ArraySchema<v.UnknownSchema, undefined>;
203
- readonly execution_cost_read_count: v.NumberSchema<undefined>;
204
- readonly execution_cost_read_length: v.NumberSchema<undefined>;
205
- readonly execution_cost_runtime: v.NumberSchema<undefined>;
206
- readonly execution_cost_write_count: v.NumberSchema<undefined>;
207
- readonly execution_cost_write_length: v.NumberSchema<undefined>;
208
- readonly tx_type: v.LiteralSchema<"token_transfer", undefined>;
209
- readonly token_transfer: v.ObjectSchema<{
210
- readonly recipient_address: v.StringSchema<undefined>;
211
- readonly amount: v.StringSchema<undefined>;
212
- readonly memo: v.StringSchema<undefined>;
213
- }, undefined>;
214
- }, undefined>;
215
33
  /**
216
34
  * Incomplete schema of some transaction types.
217
35
  */
@@ -357,18 +175,6 @@ declare const transactionSchema: v.VariantSchema<"tx_type", [v.ObjectSchema<{
357
175
  }, undefined>], undefined>;
358
176
  type Transaction = v.InferOutput<typeof transactionSchema>;
359
177
 
360
- type schemas_ContractCallTransaction = ContractCallTransaction;
361
- type schemas_SmartContractTransaction = SmartContractTransaction;
362
- type schemas_Transaction = Transaction;
363
- declare const schemas_baseTransactionSchema: typeof baseTransactionSchema;
364
- declare const schemas_contractCallTransactionSchema: typeof contractCallTransactionSchema;
365
- declare const schemas_smartContractTransactionSchema: typeof smartContractTransactionSchema;
366
- declare const schemas_tokenTransferSchema: typeof tokenTransferSchema;
367
- declare const schemas_transactionSchema: typeof transactionSchema;
368
- declare namespace schemas {
369
- export { type schemas_ContractCallTransaction as ContractCallTransaction, type schemas_SmartContractTransaction as SmartContractTransaction, type schemas_Transaction as Transaction, schemas_baseTransactionSchema as baseTransactionSchema, schemas_contractCallTransactionSchema as contractCallTransactionSchema, schemas_smartContractTransactionSchema as smartContractTransactionSchema, schemas_tokenTransferSchema as tokenTransferSchema, schemas_transactionSchema as transactionSchema };
370
- }
371
-
372
178
  type Args$9 = {
373
179
  transactionId: string;
374
180
  } & ApiRequestOptions;
@@ -1315,7 +1121,7 @@ declare namespace index$2 {
1315
1121
  declare const index$1_addressTransactions: typeof addressTransactions;
1316
1122
  declare const index$1_getTransaction: typeof getTransaction;
1317
1123
  declare namespace index$1 {
1318
- export { addressTransactions$1 as AddressTransactions, schemas as Common, getTransaction$1 as GetTransaction, index$1_addressTransactions as addressTransactions, index$1_getTransaction as getTransaction };
1124
+ export { addressTransactions$1 as AddressTransactions, getTransaction$1 as GetTransaction, index$1_addressTransactions as addressTransactions, index$1_getTransaction as getTransaction };
1319
1125
  }
1320
1126
 
1321
1127
  declare const accounts: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secretkeylabs/stacks-tools",
3
- "version": "0.4.0-80a0ce6",
3
+ "version": "0.4.0-afcaa14",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"