@secretkeylabs/stacks-tools 0.5.0-eb736d6 → 0.6.0-1af566a

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/README.md CHANGED
@@ -4,13 +4,13 @@ A collection of methods for calling the Stacks API and managing Stacks pools.
4
4
 
5
5
  ## Quickstart
6
6
 
7
- Install dependencies with
7
+ Install dependencies with:
8
8
 
9
9
  ```shell
10
10
  bun install
11
11
  ```
12
12
 
13
- and build the package with
13
+ and build the package with:
14
14
 
15
15
  ```shell
16
16
  bun run build
package/dist/index.cjs CHANGED
@@ -958,12 +958,50 @@ var transactions = {
958
958
  mempoolTransactions
959
959
  };
960
960
 
961
+ // src/stacks-api/mempool/transaction-fee-priorities.ts
962
+ async function transactionFeePriorities(opts) {
963
+ const init = {};
964
+ if (opts.apiKeyConfig) {
965
+ init.headers = {
966
+ [opts.apiKeyConfig.header]: opts.apiKeyConfig.key
967
+ };
968
+ }
969
+ const endpoint = `${opts.baseUrl}/extended/v2/mempool/fees`;
970
+ const res = await fetch(endpoint, init);
971
+ if (!res.ok) {
972
+ return error({
973
+ name: "FetchFeePrioritiesError",
974
+ message: "Failed to fetch transaction fee priorities.",
975
+ data: {
976
+ status: res.status,
977
+ statusText: res.statusText,
978
+ bodyParseResult: await safePromise(res.text())
979
+ }
980
+ });
981
+ }
982
+ const [jsonError, data] = await safePromise(res.json());
983
+ if (jsonError) {
984
+ return error({
985
+ name: "ParseBodyError",
986
+ message: "Failed to parse response body as JSON.",
987
+ data: jsonError
988
+ });
989
+ }
990
+ return success(data);
991
+ }
992
+
993
+ // src/stacks-api/mempool/index.ts
994
+ var mempool = {
995
+ transactionFeePriorities
996
+ };
997
+
961
998
  // src/stacks-api/index.ts
962
999
  var stacksApi = {
963
1000
  accounts,
964
1001
  blocks,
965
1002
  faucets,
966
1003
  info,
1004
+ mempool,
967
1005
  proofOfTransfer,
968
1006
  stackingPool,
969
1007
  transactions
@@ -1070,8 +1108,46 @@ async function readOnly(args) {
1070
1108
  return success(data);
1071
1109
  }
1072
1110
 
1111
+ // src/stacks-rpc-api/smart-contracts/interface.ts
1112
+ async function contractInterface(args) {
1113
+ const search = new URLSearchParams();
1114
+ if (args.proof === 0) search.append("proof", "0");
1115
+ if (args.tip) search.append("tip", args.tip);
1116
+ const init = {};
1117
+ if (args.apiKeyConfig) {
1118
+ init.headers = {
1119
+ [args.apiKeyConfig.header]: args.apiKeyConfig.key
1120
+ };
1121
+ }
1122
+ const endpoint = `${args.baseUrl}/v2/contracts/interface/${args.contractAddress}/${args.contractName}`;
1123
+ const res = await fetch(endpoint, init);
1124
+ if (!res.ok) {
1125
+ return error({
1126
+ name: "FetcContractInterfaceError",
1127
+ message: "Failed to fetch contract interface.",
1128
+ data: {
1129
+ init,
1130
+ status: res.status,
1131
+ statusText: res.statusText,
1132
+ endpoint,
1133
+ bodyText: await safePromise(res.text())
1134
+ }
1135
+ });
1136
+ }
1137
+ const [jsonError, data] = await safePromise(res.json());
1138
+ if (jsonError) {
1139
+ return error({
1140
+ name: "ParseBodyError",
1141
+ message: "Failed to parse response body as JSON.",
1142
+ data: jsonError
1143
+ });
1144
+ }
1145
+ return success(data);
1146
+ }
1147
+
1073
1148
  // src/stacks-rpc-api/smart-contracts/index.ts
1074
1149
  var smartContracts = {
1150
+ contractInterface,
1075
1151
  mapEntry,
1076
1152
  readOnly
1077
1153
  };
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { MempoolTransaction, OperationResponse } from '@stacks/blockchain-api-client';
2
2
  import * as v from 'valibot';
3
- import { OptionalCV, TupleCV, BufferCV, UIntCV, PrincipalCV, ListCV } from '@stacks/transactions';
3
+ import { ClarityAbi, OptionalCV, TupleCV, BufferCV, UIntCV, PrincipalCV, ListCV } from '@stacks/transactions';
4
4
 
5
5
  type SafeError<TName extends string = string, TData = unknown> = {
6
6
  readonly name: TName;
@@ -49,7 +49,7 @@ type ListResponse<T = unknown> = {
49
49
  results: T[];
50
50
  };
51
51
 
52
- type Args$j = {
52
+ type Args$k = {
53
53
  /**
54
54
  * Filter to only return transactions with this sender address.
55
55
  */
@@ -74,7 +74,7 @@ type Args$j = {
74
74
  order?: "asc" | "desc";
75
75
  } & ApiRequestOptions & ApiPaginationOptions;
76
76
  type MempoolTransactionsResponse = ListResponse<MempoolTransaction>;
77
- declare function mempoolTransactions(args: Args$j): Promise<Result$1<MempoolTransactionsResponse, SafeError<"FetchMempoolTransactionsError" | "ParseBodyError" | "ValidateDataError">>>;
77
+ declare function mempoolTransactions(args: Args$k): Promise<Result$1<MempoolTransactionsResponse, SafeError<"FetchMempoolTransactionsError" | "ParseBodyError" | "ValidateDataError">>>;
78
78
 
79
79
  type mempoolTransactions$1_MempoolTransactionsResponse = MempoolTransactionsResponse;
80
80
  declare const mempoolTransactions$1_mempoolTransactions: typeof mempoolTransactions;
@@ -421,17 +421,17 @@ declare namespace schemas {
421
421
  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 };
422
422
  }
423
423
 
424
- type Args$i = {
424
+ type Args$j = {
425
425
  transactionId: string;
426
426
  } & ApiRequestOptions;
427
- declare function getTransaction(args: Args$i): Promise<Result$1<Transaction>>;
427
+ declare function getTransaction(args: Args$j): Promise<Result$1<Transaction>>;
428
428
 
429
429
  declare const getTransaction$1_getTransaction: typeof getTransaction;
430
430
  declare namespace getTransaction$1 {
431
431
  export { getTransaction$1_getTransaction as getTransaction };
432
432
  }
433
433
 
434
- type Args$h = {
434
+ type Args$i = {
435
435
  address: string;
436
436
  } & ApiRequestOptions & ApiPaginationOptions;
437
437
  declare const resultSchema: v.ObjectSchema<{
@@ -913,7 +913,7 @@ declare const addressTransactionsResponseSchema: v.ObjectSchema<{
913
913
  readonly total: v.NumberSchema<undefined>;
914
914
  }, undefined>;
915
915
  type AddressTransactionsResponse = v.InferOutput<typeof addressTransactionsResponseSchema>;
916
- declare function addressTransactions(args: Args$h): Promise<Result$1<AddressTransactionsResponse, SafeError<"FetchAddressTransactionsError" | "ParseBodyError" | "ValidateDataError">>>;
916
+ declare function addressTransactions(args: Args$i): Promise<Result$1<AddressTransactionsResponse, SafeError<"FetchAddressTransactionsError" | "ParseBodyError" | "ValidateDataError">>>;
917
917
 
918
918
  type addressTransactions$1_AddressTransactionsResponse = AddressTransactionsResponse;
919
919
  type addressTransactions$1_Result = Result;
@@ -922,7 +922,7 @@ declare namespace addressTransactions$1 {
922
922
  export { type addressTransactions$1_AddressTransactionsResponse as AddressTransactionsResponse, type addressTransactions$1_Result as Result, type Results$3 as Results, addressTransactions$1_addressTransactions as addressTransactions };
923
923
  }
924
924
 
925
- type Args$g = {
925
+ type Args$h = {
926
926
  poolPrincipal: string;
927
927
  afterBlock?: number;
928
928
  unanchored?: boolean;
@@ -952,7 +952,7 @@ declare const membersResponseSchema: v.ObjectSchema<{
952
952
  }, undefined>, undefined>;
953
953
  }, undefined>;
954
954
  type MembersResponse = v.InferOutput<typeof membersResponseSchema>;
955
- declare function members(args: Args$g): Promise<Result$1<MembersResponse>>;
955
+ declare function members(args: Args$h): Promise<Result$1<MembersResponse>>;
956
956
 
957
957
  type members$1_Member = Member;
958
958
  type members$1_MembersResponse = MembersResponse;
@@ -960,10 +960,10 @@ declare const members$1_memberSchema: typeof memberSchema;
960
960
  declare const members$1_members: typeof members;
961
961
  declare const members$1_membersResponseSchema: typeof membersResponseSchema;
962
962
  declare namespace members$1 {
963
- export { type Args$g as Args, type members$1_Member as Member, type members$1_MembersResponse as MembersResponse, members$1_memberSchema as memberSchema, members$1_members as members, members$1_membersResponseSchema as membersResponseSchema };
963
+ export { type Args$h as Args, type members$1_Member as Member, type members$1_MembersResponse as MembersResponse, members$1_memberSchema as memberSchema, members$1_members as members, members$1_membersResponseSchema as membersResponseSchema };
964
964
  }
965
965
 
966
- type Args$f = {
966
+ type Args$g = {
967
967
  cycleNumber: number;
968
968
  signerPublicKey: string;
969
969
  } & ApiRequestOptions & ApiPaginationOptions;
@@ -993,7 +993,7 @@ declare const stackersForSignerInCycleResponseSchema: v.ObjectSchema<{
993
993
  readonly total: v.NumberSchema<undefined>;
994
994
  }, undefined>;
995
995
  type StackersForSignerInCycleResponse = v.InferOutput<typeof stackersForSignerInCycleResponseSchema>;
996
- declare function stackersForSignerInCycle(opts: Args$f): Promise<Result$1<StackersForSignerInCycleResponse, SafeError<"FetchStackersForSignerInCycleError" | "ParseBodyError" | "ValidateDataError">>>;
996
+ declare function stackersForSignerInCycle(opts: Args$g): Promise<Result$1<StackersForSignerInCycleResponse, SafeError<"FetchStackersForSignerInCycleError" | "ParseBodyError" | "ValidateDataError">>>;
997
997
 
998
998
  type stackersForSignerInCycle$1_StackerInfo = StackerInfo;
999
999
  type stackersForSignerInCycle$1_StackersForSignerInCycleResponse = StackersForSignerInCycleResponse;
@@ -1001,10 +1001,10 @@ declare const stackersForSignerInCycle$1_stackerInfoSchema: typeof stackerInfoSc
1001
1001
  declare const stackersForSignerInCycle$1_stackersForSignerInCycle: typeof stackersForSignerInCycle;
1002
1002
  declare const stackersForSignerInCycle$1_stackersForSignerInCycleResponseSchema: typeof stackersForSignerInCycleResponseSchema;
1003
1003
  declare namespace stackersForSignerInCycle$1 {
1004
- export { type Args$f as Args, type Results$2 as Results, type stackersForSignerInCycle$1_StackerInfo as StackerInfo, type stackersForSignerInCycle$1_StackersForSignerInCycleResponse as StackersForSignerInCycleResponse, resultsSchema$2 as resultsSchema, stackersForSignerInCycle$1_stackerInfoSchema as stackerInfoSchema, stackersForSignerInCycle$1_stackersForSignerInCycle as stackersForSignerInCycle, stackersForSignerInCycle$1_stackersForSignerInCycleResponseSchema as stackersForSignerInCycleResponseSchema };
1004
+ export { type Args$g as Args, type Results$2 as Results, type stackersForSignerInCycle$1_StackerInfo as StackerInfo, type stackersForSignerInCycle$1_StackersForSignerInCycleResponse as StackersForSignerInCycleResponse, resultsSchema$2 as resultsSchema, stackersForSignerInCycle$1_stackerInfoSchema as stackerInfoSchema, stackersForSignerInCycle$1_stackersForSignerInCycle as stackersForSignerInCycle, stackersForSignerInCycle$1_stackersForSignerInCycleResponseSchema as stackersForSignerInCycleResponseSchema };
1005
1005
  }
1006
1006
 
1007
- type Args$e = {
1007
+ type Args$f = {
1008
1008
  cycleNumber: number;
1009
1009
  } & ApiRequestOptions & ApiPaginationOptions;
1010
1010
  declare const signerSchema: v.ObjectSchema<{
@@ -1045,7 +1045,7 @@ declare const signersResponseSchema: v.ObjectSchema<{
1045
1045
  readonly total: v.NumberSchema<undefined>;
1046
1046
  }, undefined>;
1047
1047
  type SignersResponse = v.InferOutput<typeof signersResponseSchema>;
1048
- declare function signersInCycle(args: Args$e): Promise<Result$1<SignersResponse, SafeError<"FetchSignersError" | "ParseBodyError" | "ValidateDataError">>>;
1048
+ declare function signersInCycle(args: Args$f): Promise<Result$1<SignersResponse, SafeError<"FetchSignersError" | "ParseBodyError" | "ValidateDataError">>>;
1049
1049
 
1050
1050
  type signersInCycle$1_Signer = Signer;
1051
1051
  type signersInCycle$1_SignersResponse = SignersResponse;
@@ -1053,10 +1053,10 @@ declare const signersInCycle$1_signerSchema: typeof signerSchema;
1053
1053
  declare const signersInCycle$1_signersInCycle: typeof signersInCycle;
1054
1054
  declare const signersInCycle$1_signersResponseSchema: typeof signersResponseSchema;
1055
1055
  declare namespace signersInCycle$1 {
1056
- export { type Args$e as Args, type Results$1 as Results, type signersInCycle$1_Signer as Signer, type signersInCycle$1_SignersResponse as SignersResponse, resultsSchema$1 as resultsSchema, signersInCycle$1_signerSchema as signerSchema, signersInCycle$1_signersInCycle as signersInCycle, signersInCycle$1_signersResponseSchema as signersResponseSchema };
1056
+ export { type Args$f as Args, type Results$1 as Results, type signersInCycle$1_Signer as Signer, type signersInCycle$1_SignersResponse as SignersResponse, resultsSchema$1 as resultsSchema, signersInCycle$1_signerSchema as signerSchema, signersInCycle$1_signersInCycle as signersInCycle, signersInCycle$1_signersResponseSchema as signersResponseSchema };
1057
1057
  }
1058
1058
 
1059
- type Args$d = {
1059
+ type Args$e = {
1060
1060
  /**
1061
1061
  * The signers public key as a hex string, with or without a '0x' prefix.
1062
1062
  */
@@ -1074,16 +1074,16 @@ declare const signerInCycleResponseSchema: v.ObjectSchema<{
1074
1074
  readonly pooled_stacker_count: v.NumberSchema<undefined>;
1075
1075
  }, undefined>;
1076
1076
  type SignerInCycleResponse = v.InferOutput<typeof signerInCycleResponseSchema>;
1077
- declare function signerInCycle(args: Args$d): Promise<Result$1<SignerInCycleResponse>>;
1077
+ declare function signerInCycle(args: Args$e): Promise<Result$1<SignerInCycleResponse>>;
1078
1078
 
1079
1079
  type signerInCycle$1_SignerInCycleResponse = SignerInCycleResponse;
1080
1080
  declare const signerInCycle$1_signerInCycle: typeof signerInCycle;
1081
1081
  declare const signerInCycle$1_signerInCycleResponseSchema: typeof signerInCycleResponseSchema;
1082
1082
  declare namespace signerInCycle$1 {
1083
- export { type Args$d as Args, type signerInCycle$1_SignerInCycleResponse as SignerInCycleResponse, signerInCycle$1_signerInCycle as signerInCycle, signerInCycle$1_signerInCycleResponseSchema as signerInCycleResponseSchema };
1083
+ export { type Args$e as Args, type signerInCycle$1_SignerInCycleResponse as SignerInCycleResponse, signerInCycle$1_signerInCycle as signerInCycle, signerInCycle$1_signerInCycleResponseSchema as signerInCycleResponseSchema };
1084
1084
  }
1085
1085
 
1086
- type Args$c = ApiRequestOptions & ApiPaginationOptions;
1086
+ type Args$d = ApiRequestOptions & ApiPaginationOptions;
1087
1087
  declare const cycleInfoSchema: v.ObjectSchema<{
1088
1088
  readonly block_height: v.NumberSchema<undefined>;
1089
1089
  readonly index_block_hash: v.StringSchema<undefined>;
@@ -1116,7 +1116,7 @@ declare const cyclesResponseSchema: v.ObjectSchema<{
1116
1116
  readonly total: v.NumberSchema<undefined>;
1117
1117
  }, undefined>;
1118
1118
  type CyclesResponse = v.InferOutput<typeof cyclesResponseSchema>;
1119
- declare function cycles(args: Args$c): Promise<Result$1<CyclesResponse>>;
1119
+ declare function cycles(args: Args$d): Promise<Result$1<CyclesResponse>>;
1120
1120
 
1121
1121
  type cycles$1_CycleInfo = CycleInfo;
1122
1122
  type cycles$1_CyclesResponse = CyclesResponse;
@@ -1126,10 +1126,10 @@ declare const cycles$1_cycles: typeof cycles;
1126
1126
  declare const cycles$1_cyclesResponseSchema: typeof cyclesResponseSchema;
1127
1127
  declare const cycles$1_resultsSchema: typeof resultsSchema;
1128
1128
  declare namespace cycles$1 {
1129
- export { type Args$c as Args, type cycles$1_CycleInfo as CycleInfo, type cycles$1_CyclesResponse as CyclesResponse, type cycles$1_Results as Results, cycles$1_cycleInfoSchema as cycleInfoSchema, cycles$1_cycles as cycles, cycles$1_cyclesResponseSchema as cyclesResponseSchema, cycles$1_resultsSchema as resultsSchema };
1129
+ export { type Args$d as Args, type cycles$1_CycleInfo as CycleInfo, type cycles$1_CyclesResponse as CyclesResponse, type cycles$1_Results as Results, cycles$1_cycleInfoSchema as cycleInfoSchema, cycles$1_cycles as cycles, cycles$1_cyclesResponseSchema as cyclesResponseSchema, cycles$1_resultsSchema as resultsSchema };
1130
1130
  }
1131
1131
 
1132
- type Args$b = {
1132
+ type Args$c = {
1133
1133
  cycleNumber: number;
1134
1134
  } & ApiRequestOptions;
1135
1135
  declare const responseSchema$2: v.ObjectSchema<{
@@ -1141,11 +1141,45 @@ declare const responseSchema$2: v.ObjectSchema<{
1141
1141
  readonly total_signers: v.NumberSchema<undefined>;
1142
1142
  }, undefined>;
1143
1143
  type Response$2 = v.InferOutput<typeof responseSchema$2>;
1144
- declare function cycle(opts: Args$b): Promise<Result$1<Response$2, SafeError<"FetchCycleError" | "ParseBodyError" | "ValidateDataError">>>;
1144
+ declare function cycle(opts: Args$c): Promise<Result$1<Response$2, SafeError<"FetchCycleError" | "ParseBodyError" | "ValidateDataError">>>;
1145
1145
 
1146
1146
  declare const cycle$1_cycle: typeof cycle;
1147
1147
  declare namespace cycle$1 {
1148
- export { type Args$b as Args, type Response$2 as Response, cycle$1_cycle as cycle, responseSchema$2 as responseSchema };
1148
+ export { type Args$c as Args, type Response$2 as Response, cycle$1_cycle as cycle, responseSchema$2 as responseSchema };
1149
+ }
1150
+
1151
+ type FeePrioritiesResponse = {
1152
+ all: {
1153
+ no_priority: number;
1154
+ low_priority: number;
1155
+ medium_priority: number;
1156
+ high_priority: number;
1157
+ };
1158
+ token_transfer: {
1159
+ no_priority: number;
1160
+ low_priority: number;
1161
+ medium_priority: number;
1162
+ high_priority: number;
1163
+ };
1164
+ smart_contract: {
1165
+ no_priority: number;
1166
+ low_priority: number;
1167
+ medium_priority: number;
1168
+ high_priority: number;
1169
+ };
1170
+ contract_call: {
1171
+ no_priority: number;
1172
+ low_priority: number;
1173
+ medium_priority: number;
1174
+ high_priority: number;
1175
+ };
1176
+ };
1177
+ declare function transactionFeePriorities(opts: ApiRequestOptions): Promise<Result$1<FeePrioritiesResponse, SafeError<"FetchFeePrioritiesError" | "ParseBodyError" | "ValidateDataError">>>;
1178
+
1179
+ type transactionFeePriorities$1_FeePrioritiesResponse = FeePrioritiesResponse;
1180
+ declare const transactionFeePriorities$1_transactionFeePriorities: typeof transactionFeePriorities;
1181
+ declare namespace transactionFeePriorities$1 {
1182
+ export { type transactionFeePriorities$1_FeePrioritiesResponse as FeePrioritiesResponse, transactionFeePriorities$1_transactionFeePriorities as transactionFeePriorities };
1149
1183
  }
1150
1184
 
1151
1185
  declare const CoreApiResponseSchema: v.ObjectSchema<{
@@ -1173,18 +1207,18 @@ declare namespace coreApi$1 {
1173
1207
  export { type coreApi$1_CoreApiResponse as CoreApiResponse, coreApi$1_coreApi as coreApi };
1174
1208
  }
1175
1209
 
1176
- type Args$a = {
1210
+ type Args$b = {
1177
1211
  address: string;
1178
1212
  stacking?: boolean;
1179
1213
  } & ApiRequestOptions;
1180
- declare function stx(opts: Args$a): Promise<Result$1<any>>;
1214
+ declare function stx(opts: Args$b): Promise<Result$1<any>>;
1181
1215
 
1182
1216
  declare const stx$1_stx: typeof stx;
1183
1217
  declare namespace stx$1 {
1184
- export { type Args$a as Args, stx$1_stx as stx };
1218
+ export { type Args$b as Args, stx$1_stx as stx };
1185
1219
  }
1186
1220
 
1187
- type Args$9 = {
1221
+ type Args$a = {
1188
1222
  heightOrHash: string | number;
1189
1223
  } & ApiRequestOptions;
1190
1224
  declare const responseSchema$1: v.ObjectSchema<{
@@ -1209,14 +1243,14 @@ declare const responseSchema$1: v.ObjectSchema<{
1209
1243
  readonly execution_cost_write_length: v.NumberSchema<undefined>;
1210
1244
  }, undefined>;
1211
1245
  type Response$1 = v.InferOutput<typeof responseSchema$1>;
1212
- declare function getBlock(opts: Args$9): Promise<Result$1<Response$1, SafeError<"FetchBlockError" | "ParseBodyError" | "ValidateDataError">>>;
1246
+ declare function getBlock(opts: Args$a): Promise<Result$1<Response$1, SafeError<"FetchBlockError" | "ParseBodyError" | "ValidateDataError">>>;
1213
1247
 
1214
1248
  declare const getBlock$1_getBlock: typeof getBlock;
1215
1249
  declare namespace getBlock$1 {
1216
- export { type Args$9 as Args, type Response$1 as Response, getBlock$1_getBlock as getBlock, responseSchema$1 as responseSchema };
1250
+ export { type Args$a as Args, type Response$1 as Response, getBlock$1_getBlock as getBlock, responseSchema$1 as responseSchema };
1217
1251
  }
1218
1252
 
1219
- type Args$8 = {
1253
+ type Args$9 = {
1220
1254
  principal: string;
1221
1255
  } & ApiRequestOptions;
1222
1256
  declare const responseSchema: v.ObjectSchema<{
@@ -1227,25 +1261,25 @@ declare const responseSchema: v.ObjectSchema<{
1227
1261
  readonly detected_mempool_nonces: v.ArraySchema<v.NumberSchema<undefined>, undefined>;
1228
1262
  }, undefined>;
1229
1263
  type Response = v.InferOutput<typeof responseSchema>;
1230
- declare function latestNonce(opts: Args$8): Promise<Result$1<Response, SafeError<"FetchLatestNonceError" | "ParseBodyError" | "ValidateDataError">>>;
1264
+ declare function latestNonce(opts: Args$9): Promise<Result$1<Response, SafeError<"FetchLatestNonceError" | "ParseBodyError" | "ValidateDataError">>>;
1231
1265
 
1232
1266
  type latestNonce$1_Response = Response;
1233
1267
  declare const latestNonce$1_latestNonce: typeof latestNonce;
1234
1268
  declare const latestNonce$1_responseSchema: typeof responseSchema;
1235
1269
  declare namespace latestNonce$1 {
1236
- export { type Args$8 as Args, type latestNonce$1_Response as Response, latestNonce$1_latestNonce as latestNonce, latestNonce$1_responseSchema as responseSchema };
1270
+ export { type Args$9 as Args, type latestNonce$1_Response as Response, latestNonce$1_latestNonce as latestNonce, latestNonce$1_responseSchema as responseSchema };
1237
1271
  }
1238
1272
 
1239
- type Args$7 = {
1273
+ type Args$8 = {
1240
1274
  principal: string;
1241
1275
  unanchored?: boolean;
1242
1276
  untilBlock?: number;
1243
1277
  } & ApiRequestOptions;
1244
- declare function balances(opts: Args$7): Promise<Result$1<OperationResponse["get_account_balance"], SafeError<"FetchBalancesError" | "ParseBodyError" | "ValidateDataError">>>;
1278
+ declare function balances(opts: Args$8): Promise<Result$1<OperationResponse["get_account_balance"], SafeError<"FetchBalancesError" | "ParseBodyError" | "ValidateDataError">>>;
1245
1279
 
1246
1280
  declare const balances$1_balances: typeof balances;
1247
1281
  declare namespace balances$1 {
1248
- export { type Args$7 as Args, balances$1_balances as balances };
1282
+ export { type Args$8 as Args, balances$1_balances as balances };
1249
1283
  }
1250
1284
 
1251
1285
  declare const accounts: {
@@ -1253,36 +1287,36 @@ declare const accounts: {
1253
1287
  latestNonce: typeof latestNonce;
1254
1288
  };
1255
1289
 
1256
- declare const index$d_accounts: typeof accounts;
1257
- declare namespace index$d {
1258
- export { balances$1 as Balances, latestNonce$1 as LatestNonce, index$d_accounts as accounts };
1290
+ declare const index$e_accounts: typeof accounts;
1291
+ declare namespace index$e {
1292
+ export { balances$1 as Balances, latestNonce$1 as LatestNonce, index$e_accounts as accounts };
1259
1293
  }
1260
1294
 
1261
1295
  declare const blocks: {
1262
1296
  getBlock: typeof getBlock;
1263
1297
  };
1264
1298
 
1265
- declare const index$c_blocks: typeof blocks;
1266
- declare namespace index$c {
1267
- export { getBlock$1 as GetBlock, index$c_blocks as blocks };
1299
+ declare const index$d_blocks: typeof blocks;
1300
+ declare namespace index$d {
1301
+ export { getBlock$1 as GetBlock, index$d_blocks as blocks };
1268
1302
  }
1269
1303
 
1270
1304
  declare const faucets: {
1271
1305
  stx: typeof stx;
1272
1306
  };
1273
1307
 
1274
- declare const index$b_faucets: typeof faucets;
1275
- declare namespace index$b {
1276
- export { stx$1 as Stx, index$b_faucets as faucets };
1308
+ declare const index$c_faucets: typeof faucets;
1309
+ declare namespace index$c {
1310
+ export { stx$1 as Stx, index$c_faucets as faucets };
1277
1311
  }
1278
1312
 
1279
1313
  declare const info: {
1280
1314
  coreApi: typeof coreApi;
1281
1315
  };
1282
1316
 
1283
- declare const index$a_info: typeof info;
1284
- declare namespace index$a {
1285
- export { coreApi$1 as CoreApi, index$a_info as info };
1317
+ declare const index$b_info: typeof info;
1318
+ declare namespace index$b {
1319
+ export { coreApi$1 as CoreApi, index$b_info as info };
1286
1320
  }
1287
1321
 
1288
1322
  declare const proofOfTransfer: {
@@ -1293,18 +1327,18 @@ declare const proofOfTransfer: {
1293
1327
  stackersForSignerInCycle: typeof stackersForSignerInCycle;
1294
1328
  };
1295
1329
 
1296
- declare const index$9_proofOfTransfer: typeof proofOfTransfer;
1297
- declare namespace index$9 {
1298
- export { cycle$1 as Cycle, cycles$1 as Cycles, signerInCycle$1 as SignerInCycle, signersInCycle$1 as SignersInCycle, stackersForSignerInCycle$1 as StackersForSignerInCycle, index$9_proofOfTransfer as proofOfTransfer };
1330
+ declare const index$a_proofOfTransfer: typeof proofOfTransfer;
1331
+ declare namespace index$a {
1332
+ export { cycle$1 as Cycle, cycles$1 as Cycles, signerInCycle$1 as SignerInCycle, signersInCycle$1 as SignersInCycle, stackersForSignerInCycle$1 as StackersForSignerInCycle, index$a_proofOfTransfer as proofOfTransfer };
1299
1333
  }
1300
1334
 
1301
1335
  declare const stackingPool: {
1302
1336
  members: typeof members;
1303
1337
  };
1304
1338
 
1305
- declare const index$8_stackingPool: typeof stackingPool;
1306
- declare namespace index$8 {
1307
- export { members$1 as Members, index$8_stackingPool as stackingPool };
1339
+ declare const index$9_stackingPool: typeof stackingPool;
1340
+ declare namespace index$9 {
1341
+ export { members$1 as Members, index$9_stackingPool as stackingPool };
1308
1342
  }
1309
1343
 
1310
1344
  declare const transactions: {
@@ -1313,9 +1347,18 @@ declare const transactions: {
1313
1347
  mempoolTransactions: typeof mempoolTransactions;
1314
1348
  };
1315
1349
 
1316
- declare const index$7_transactions: typeof transactions;
1350
+ declare const index$8_transactions: typeof transactions;
1351
+ declare namespace index$8 {
1352
+ export { addressTransactions$1 as AddressTransactions, schemas as Common, getTransaction$1 as GetTransaction, mempoolTransactions$1 as MempoolTransactions, index$8_transactions as transactions };
1353
+ }
1354
+
1355
+ declare const mempool: {
1356
+ transactionFeePriorities: typeof transactionFeePriorities;
1357
+ };
1358
+
1359
+ declare const index$7_mempool: typeof mempool;
1317
1360
  declare namespace index$7 {
1318
- export { addressTransactions$1 as AddressTransactions, schemas as Common, getTransaction$1 as GetTransaction, mempoolTransactions$1 as MempoolTransactions, index$7_transactions as transactions };
1361
+ export { transactionFeePriorities$1 as TransactionFeePriorities, index$7_mempool as mempool };
1319
1362
  }
1320
1363
 
1321
1364
  declare const stacksApi: {
@@ -1332,6 +1375,9 @@ declare const stacksApi: {
1332
1375
  info: {
1333
1376
  coreApi: typeof coreApi;
1334
1377
  };
1378
+ mempool: {
1379
+ transactionFeePriorities: typeof transactionFeePriorities;
1380
+ };
1335
1381
  proofOfTransfer: {
1336
1382
  cycle: typeof cycle;
1337
1383
  cycles: typeof cycles;
@@ -1351,10 +1397,10 @@ declare const stacksApi: {
1351
1397
 
1352
1398
  declare const index$6_stacksApi: typeof stacksApi;
1353
1399
  declare namespace index$6 {
1354
- export { index$d as Accounts, index$c as Blocks, index$b as Faucets, index$a as Info, index$9 as ProofOfTransfer, index$8 as StackingPool, index$7 as Transactions, index$6_stacksApi as stacksApi };
1400
+ export { index$e as Accounts, index$d as Blocks, index$c as Faucets, index$b as Info, index$7 as Mempool, index$a as ProofOfTransfer, index$9 as StackingPool, index$8 as Transactions, index$6_stacksApi as stacksApi };
1355
1401
  }
1356
1402
 
1357
- type Args$6 = {
1403
+ type Args$7 = {
1358
1404
  sender: string;
1359
1405
  arguments: string[];
1360
1406
  contractAddress: string;
@@ -1371,15 +1417,15 @@ interface ReadOnlyContractCallFailResponse {
1371
1417
  }
1372
1418
  type ReadOnlyContractCallResponse = ReadOnlyContractCallSuccessResponse | ReadOnlyContractCallFailResponse;
1373
1419
  type ReadOnlyResponse = ReadOnlyContractCallResponse;
1374
- declare function readOnly$1(args: Args$6): Promise<Result$1<ReadOnlyResponse>>;
1420
+ declare function readOnly$1(args: Args$7): Promise<Result$1<ReadOnlyResponse>>;
1375
1421
 
1376
1422
  type readOnly$2_ReadOnlyContractCallResponse = ReadOnlyContractCallResponse;
1377
1423
  type readOnly$2_ReadOnlyResponse = ReadOnlyResponse;
1378
1424
  declare namespace readOnly$2 {
1379
- export { type Args$6 as Args, type readOnly$2_ReadOnlyContractCallResponse as ReadOnlyContractCallResponse, type readOnly$2_ReadOnlyResponse as ReadOnlyResponse, readOnly$1 as readOnly };
1425
+ export { type Args$7 as Args, type readOnly$2_ReadOnlyContractCallResponse as ReadOnlyContractCallResponse, type readOnly$2_ReadOnlyResponse as ReadOnlyResponse, readOnly$1 as readOnly };
1380
1426
  }
1381
1427
 
1382
- type Args$5 = {
1428
+ type Args$6 = {
1383
1429
  contractAddress: string;
1384
1430
  contractName: string;
1385
1431
  mapName: string;
@@ -1399,12 +1445,25 @@ declare const mapEntryResponseSchema: v.ObjectSchema<{
1399
1445
  readonly proof: v.OptionalSchema<v.StringSchema<undefined>, never>;
1400
1446
  }, undefined>;
1401
1447
  type MapEntryResponse = v.InferOutput<typeof mapEntryResponseSchema>;
1402
- declare function mapEntry(args: Args$5): Promise<Result$1<MapEntryResponse>>;
1448
+ declare function mapEntry(args: Args$6): Promise<Result$1<MapEntryResponse>>;
1403
1449
 
1404
1450
  type mapEntry$1_MapEntryResponse = MapEntryResponse;
1405
1451
  declare const mapEntry$1_mapEntry: typeof mapEntry;
1406
1452
  declare namespace mapEntry$1 {
1407
- export { type Args$5 as Args, type mapEntry$1_MapEntryResponse as MapEntryResponse, mapEntry$1_mapEntry as mapEntry };
1453
+ export { type Args$6 as Args, type mapEntry$1_MapEntryResponse as MapEntryResponse, mapEntry$1_mapEntry as mapEntry };
1454
+ }
1455
+
1456
+ type Args$5 = {
1457
+ contractAddress: string;
1458
+ contractName: string;
1459
+ } & ApiRequestOptions & ProofAndTip;
1460
+ type InterfaceResponse = ClarityAbi;
1461
+ declare function contractInterface(args: Args$5): Promise<Result$1<InterfaceResponse>>;
1462
+
1463
+ type _interface_InterfaceResponse = InterfaceResponse;
1464
+ declare const _interface_contractInterface: typeof contractInterface;
1465
+ declare namespace _interface {
1466
+ export { type Args$5 as Args, type _interface_InterfaceResponse as InterfaceResponse, _interface_contractInterface as contractInterface };
1408
1467
  }
1409
1468
 
1410
1469
  type Args$4 = ApiRequestOptions;
@@ -1562,13 +1621,14 @@ declare namespace poxDetails$1 {
1562
1621
  }
1563
1622
 
1564
1623
  declare const smartContracts: {
1624
+ contractInterface: typeof contractInterface;
1565
1625
  mapEntry: typeof mapEntry;
1566
1626
  readOnly: typeof readOnly$1;
1567
1627
  };
1568
1628
 
1569
1629
  declare const index$5_smartContracts: typeof smartContracts;
1570
1630
  declare namespace index$5 {
1571
- export { mapEntry$1 as MapEntry, readOnly$2 as ReadOnly, index$5_smartContracts as smartContracts };
1631
+ export { _interface as ContractInterface, mapEntry$1 as MapEntry, readOnly$2 as ReadOnly, index$5_smartContracts as smartContracts };
1572
1632
  }
1573
1633
 
1574
1634
  declare const pox: {
@@ -1585,6 +1645,7 @@ declare const stacksRpcApi: {
1585
1645
  poxDetails: typeof poxDetails;
1586
1646
  };
1587
1647
  smartContracts: {
1648
+ contractInterface: typeof contractInterface;
1588
1649
  mapEntry: typeof mapEntry;
1589
1650
  readOnly: typeof readOnly$1;
1590
1651
  };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { MempoolTransaction, OperationResponse } from '@stacks/blockchain-api-client';
2
2
  import * as v from 'valibot';
3
- import { OptionalCV, TupleCV, BufferCV, UIntCV, PrincipalCV, ListCV } from '@stacks/transactions';
3
+ import { ClarityAbi, OptionalCV, TupleCV, BufferCV, UIntCV, PrincipalCV, ListCV } from '@stacks/transactions';
4
4
 
5
5
  type SafeError<TName extends string = string, TData = unknown> = {
6
6
  readonly name: TName;
@@ -49,7 +49,7 @@ type ListResponse<T = unknown> = {
49
49
  results: T[];
50
50
  };
51
51
 
52
- type Args$j = {
52
+ type Args$k = {
53
53
  /**
54
54
  * Filter to only return transactions with this sender address.
55
55
  */
@@ -74,7 +74,7 @@ type Args$j = {
74
74
  order?: "asc" | "desc";
75
75
  } & ApiRequestOptions & ApiPaginationOptions;
76
76
  type MempoolTransactionsResponse = ListResponse<MempoolTransaction>;
77
- declare function mempoolTransactions(args: Args$j): Promise<Result$1<MempoolTransactionsResponse, SafeError<"FetchMempoolTransactionsError" | "ParseBodyError" | "ValidateDataError">>>;
77
+ declare function mempoolTransactions(args: Args$k): Promise<Result$1<MempoolTransactionsResponse, SafeError<"FetchMempoolTransactionsError" | "ParseBodyError" | "ValidateDataError">>>;
78
78
 
79
79
  type mempoolTransactions$1_MempoolTransactionsResponse = MempoolTransactionsResponse;
80
80
  declare const mempoolTransactions$1_mempoolTransactions: typeof mempoolTransactions;
@@ -421,17 +421,17 @@ declare namespace schemas {
421
421
  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 };
422
422
  }
423
423
 
424
- type Args$i = {
424
+ type Args$j = {
425
425
  transactionId: string;
426
426
  } & ApiRequestOptions;
427
- declare function getTransaction(args: Args$i): Promise<Result$1<Transaction>>;
427
+ declare function getTransaction(args: Args$j): Promise<Result$1<Transaction>>;
428
428
 
429
429
  declare const getTransaction$1_getTransaction: typeof getTransaction;
430
430
  declare namespace getTransaction$1 {
431
431
  export { getTransaction$1_getTransaction as getTransaction };
432
432
  }
433
433
 
434
- type Args$h = {
434
+ type Args$i = {
435
435
  address: string;
436
436
  } & ApiRequestOptions & ApiPaginationOptions;
437
437
  declare const resultSchema: v.ObjectSchema<{
@@ -913,7 +913,7 @@ declare const addressTransactionsResponseSchema: v.ObjectSchema<{
913
913
  readonly total: v.NumberSchema<undefined>;
914
914
  }, undefined>;
915
915
  type AddressTransactionsResponse = v.InferOutput<typeof addressTransactionsResponseSchema>;
916
- declare function addressTransactions(args: Args$h): Promise<Result$1<AddressTransactionsResponse, SafeError<"FetchAddressTransactionsError" | "ParseBodyError" | "ValidateDataError">>>;
916
+ declare function addressTransactions(args: Args$i): Promise<Result$1<AddressTransactionsResponse, SafeError<"FetchAddressTransactionsError" | "ParseBodyError" | "ValidateDataError">>>;
917
917
 
918
918
  type addressTransactions$1_AddressTransactionsResponse = AddressTransactionsResponse;
919
919
  type addressTransactions$1_Result = Result;
@@ -922,7 +922,7 @@ declare namespace addressTransactions$1 {
922
922
  export { type addressTransactions$1_AddressTransactionsResponse as AddressTransactionsResponse, type addressTransactions$1_Result as Result, type Results$3 as Results, addressTransactions$1_addressTransactions as addressTransactions };
923
923
  }
924
924
 
925
- type Args$g = {
925
+ type Args$h = {
926
926
  poolPrincipal: string;
927
927
  afterBlock?: number;
928
928
  unanchored?: boolean;
@@ -952,7 +952,7 @@ declare const membersResponseSchema: v.ObjectSchema<{
952
952
  }, undefined>, undefined>;
953
953
  }, undefined>;
954
954
  type MembersResponse = v.InferOutput<typeof membersResponseSchema>;
955
- declare function members(args: Args$g): Promise<Result$1<MembersResponse>>;
955
+ declare function members(args: Args$h): Promise<Result$1<MembersResponse>>;
956
956
 
957
957
  type members$1_Member = Member;
958
958
  type members$1_MembersResponse = MembersResponse;
@@ -960,10 +960,10 @@ declare const members$1_memberSchema: typeof memberSchema;
960
960
  declare const members$1_members: typeof members;
961
961
  declare const members$1_membersResponseSchema: typeof membersResponseSchema;
962
962
  declare namespace members$1 {
963
- export { type Args$g as Args, type members$1_Member as Member, type members$1_MembersResponse as MembersResponse, members$1_memberSchema as memberSchema, members$1_members as members, members$1_membersResponseSchema as membersResponseSchema };
963
+ export { type Args$h as Args, type members$1_Member as Member, type members$1_MembersResponse as MembersResponse, members$1_memberSchema as memberSchema, members$1_members as members, members$1_membersResponseSchema as membersResponseSchema };
964
964
  }
965
965
 
966
- type Args$f = {
966
+ type Args$g = {
967
967
  cycleNumber: number;
968
968
  signerPublicKey: string;
969
969
  } & ApiRequestOptions & ApiPaginationOptions;
@@ -993,7 +993,7 @@ declare const stackersForSignerInCycleResponseSchema: v.ObjectSchema<{
993
993
  readonly total: v.NumberSchema<undefined>;
994
994
  }, undefined>;
995
995
  type StackersForSignerInCycleResponse = v.InferOutput<typeof stackersForSignerInCycleResponseSchema>;
996
- declare function stackersForSignerInCycle(opts: Args$f): Promise<Result$1<StackersForSignerInCycleResponse, SafeError<"FetchStackersForSignerInCycleError" | "ParseBodyError" | "ValidateDataError">>>;
996
+ declare function stackersForSignerInCycle(opts: Args$g): Promise<Result$1<StackersForSignerInCycleResponse, SafeError<"FetchStackersForSignerInCycleError" | "ParseBodyError" | "ValidateDataError">>>;
997
997
 
998
998
  type stackersForSignerInCycle$1_StackerInfo = StackerInfo;
999
999
  type stackersForSignerInCycle$1_StackersForSignerInCycleResponse = StackersForSignerInCycleResponse;
@@ -1001,10 +1001,10 @@ declare const stackersForSignerInCycle$1_stackerInfoSchema: typeof stackerInfoSc
1001
1001
  declare const stackersForSignerInCycle$1_stackersForSignerInCycle: typeof stackersForSignerInCycle;
1002
1002
  declare const stackersForSignerInCycle$1_stackersForSignerInCycleResponseSchema: typeof stackersForSignerInCycleResponseSchema;
1003
1003
  declare namespace stackersForSignerInCycle$1 {
1004
- export { type Args$f as Args, type Results$2 as Results, type stackersForSignerInCycle$1_StackerInfo as StackerInfo, type stackersForSignerInCycle$1_StackersForSignerInCycleResponse as StackersForSignerInCycleResponse, resultsSchema$2 as resultsSchema, stackersForSignerInCycle$1_stackerInfoSchema as stackerInfoSchema, stackersForSignerInCycle$1_stackersForSignerInCycle as stackersForSignerInCycle, stackersForSignerInCycle$1_stackersForSignerInCycleResponseSchema as stackersForSignerInCycleResponseSchema };
1004
+ export { type Args$g as Args, type Results$2 as Results, type stackersForSignerInCycle$1_StackerInfo as StackerInfo, type stackersForSignerInCycle$1_StackersForSignerInCycleResponse as StackersForSignerInCycleResponse, resultsSchema$2 as resultsSchema, stackersForSignerInCycle$1_stackerInfoSchema as stackerInfoSchema, stackersForSignerInCycle$1_stackersForSignerInCycle as stackersForSignerInCycle, stackersForSignerInCycle$1_stackersForSignerInCycleResponseSchema as stackersForSignerInCycleResponseSchema };
1005
1005
  }
1006
1006
 
1007
- type Args$e = {
1007
+ type Args$f = {
1008
1008
  cycleNumber: number;
1009
1009
  } & ApiRequestOptions & ApiPaginationOptions;
1010
1010
  declare const signerSchema: v.ObjectSchema<{
@@ -1045,7 +1045,7 @@ declare const signersResponseSchema: v.ObjectSchema<{
1045
1045
  readonly total: v.NumberSchema<undefined>;
1046
1046
  }, undefined>;
1047
1047
  type SignersResponse = v.InferOutput<typeof signersResponseSchema>;
1048
- declare function signersInCycle(args: Args$e): Promise<Result$1<SignersResponse, SafeError<"FetchSignersError" | "ParseBodyError" | "ValidateDataError">>>;
1048
+ declare function signersInCycle(args: Args$f): Promise<Result$1<SignersResponse, SafeError<"FetchSignersError" | "ParseBodyError" | "ValidateDataError">>>;
1049
1049
 
1050
1050
  type signersInCycle$1_Signer = Signer;
1051
1051
  type signersInCycle$1_SignersResponse = SignersResponse;
@@ -1053,10 +1053,10 @@ declare const signersInCycle$1_signerSchema: typeof signerSchema;
1053
1053
  declare const signersInCycle$1_signersInCycle: typeof signersInCycle;
1054
1054
  declare const signersInCycle$1_signersResponseSchema: typeof signersResponseSchema;
1055
1055
  declare namespace signersInCycle$1 {
1056
- export { type Args$e as Args, type Results$1 as Results, type signersInCycle$1_Signer as Signer, type signersInCycle$1_SignersResponse as SignersResponse, resultsSchema$1 as resultsSchema, signersInCycle$1_signerSchema as signerSchema, signersInCycle$1_signersInCycle as signersInCycle, signersInCycle$1_signersResponseSchema as signersResponseSchema };
1056
+ export { type Args$f as Args, type Results$1 as Results, type signersInCycle$1_Signer as Signer, type signersInCycle$1_SignersResponse as SignersResponse, resultsSchema$1 as resultsSchema, signersInCycle$1_signerSchema as signerSchema, signersInCycle$1_signersInCycle as signersInCycle, signersInCycle$1_signersResponseSchema as signersResponseSchema };
1057
1057
  }
1058
1058
 
1059
- type Args$d = {
1059
+ type Args$e = {
1060
1060
  /**
1061
1061
  * The signers public key as a hex string, with or without a '0x' prefix.
1062
1062
  */
@@ -1074,16 +1074,16 @@ declare const signerInCycleResponseSchema: v.ObjectSchema<{
1074
1074
  readonly pooled_stacker_count: v.NumberSchema<undefined>;
1075
1075
  }, undefined>;
1076
1076
  type SignerInCycleResponse = v.InferOutput<typeof signerInCycleResponseSchema>;
1077
- declare function signerInCycle(args: Args$d): Promise<Result$1<SignerInCycleResponse>>;
1077
+ declare function signerInCycle(args: Args$e): Promise<Result$1<SignerInCycleResponse>>;
1078
1078
 
1079
1079
  type signerInCycle$1_SignerInCycleResponse = SignerInCycleResponse;
1080
1080
  declare const signerInCycle$1_signerInCycle: typeof signerInCycle;
1081
1081
  declare const signerInCycle$1_signerInCycleResponseSchema: typeof signerInCycleResponseSchema;
1082
1082
  declare namespace signerInCycle$1 {
1083
- export { type Args$d as Args, type signerInCycle$1_SignerInCycleResponse as SignerInCycleResponse, signerInCycle$1_signerInCycle as signerInCycle, signerInCycle$1_signerInCycleResponseSchema as signerInCycleResponseSchema };
1083
+ export { type Args$e as Args, type signerInCycle$1_SignerInCycleResponse as SignerInCycleResponse, signerInCycle$1_signerInCycle as signerInCycle, signerInCycle$1_signerInCycleResponseSchema as signerInCycleResponseSchema };
1084
1084
  }
1085
1085
 
1086
- type Args$c = ApiRequestOptions & ApiPaginationOptions;
1086
+ type Args$d = ApiRequestOptions & ApiPaginationOptions;
1087
1087
  declare const cycleInfoSchema: v.ObjectSchema<{
1088
1088
  readonly block_height: v.NumberSchema<undefined>;
1089
1089
  readonly index_block_hash: v.StringSchema<undefined>;
@@ -1116,7 +1116,7 @@ declare const cyclesResponseSchema: v.ObjectSchema<{
1116
1116
  readonly total: v.NumberSchema<undefined>;
1117
1117
  }, undefined>;
1118
1118
  type CyclesResponse = v.InferOutput<typeof cyclesResponseSchema>;
1119
- declare function cycles(args: Args$c): Promise<Result$1<CyclesResponse>>;
1119
+ declare function cycles(args: Args$d): Promise<Result$1<CyclesResponse>>;
1120
1120
 
1121
1121
  type cycles$1_CycleInfo = CycleInfo;
1122
1122
  type cycles$1_CyclesResponse = CyclesResponse;
@@ -1126,10 +1126,10 @@ declare const cycles$1_cycles: typeof cycles;
1126
1126
  declare const cycles$1_cyclesResponseSchema: typeof cyclesResponseSchema;
1127
1127
  declare const cycles$1_resultsSchema: typeof resultsSchema;
1128
1128
  declare namespace cycles$1 {
1129
- export { type Args$c as Args, type cycles$1_CycleInfo as CycleInfo, type cycles$1_CyclesResponse as CyclesResponse, type cycles$1_Results as Results, cycles$1_cycleInfoSchema as cycleInfoSchema, cycles$1_cycles as cycles, cycles$1_cyclesResponseSchema as cyclesResponseSchema, cycles$1_resultsSchema as resultsSchema };
1129
+ export { type Args$d as Args, type cycles$1_CycleInfo as CycleInfo, type cycles$1_CyclesResponse as CyclesResponse, type cycles$1_Results as Results, cycles$1_cycleInfoSchema as cycleInfoSchema, cycles$1_cycles as cycles, cycles$1_cyclesResponseSchema as cyclesResponseSchema, cycles$1_resultsSchema as resultsSchema };
1130
1130
  }
1131
1131
 
1132
- type Args$b = {
1132
+ type Args$c = {
1133
1133
  cycleNumber: number;
1134
1134
  } & ApiRequestOptions;
1135
1135
  declare const responseSchema$2: v.ObjectSchema<{
@@ -1141,11 +1141,45 @@ declare const responseSchema$2: v.ObjectSchema<{
1141
1141
  readonly total_signers: v.NumberSchema<undefined>;
1142
1142
  }, undefined>;
1143
1143
  type Response$2 = v.InferOutput<typeof responseSchema$2>;
1144
- declare function cycle(opts: Args$b): Promise<Result$1<Response$2, SafeError<"FetchCycleError" | "ParseBodyError" | "ValidateDataError">>>;
1144
+ declare function cycle(opts: Args$c): Promise<Result$1<Response$2, SafeError<"FetchCycleError" | "ParseBodyError" | "ValidateDataError">>>;
1145
1145
 
1146
1146
  declare const cycle$1_cycle: typeof cycle;
1147
1147
  declare namespace cycle$1 {
1148
- export { type Args$b as Args, type Response$2 as Response, cycle$1_cycle as cycle, responseSchema$2 as responseSchema };
1148
+ export { type Args$c as Args, type Response$2 as Response, cycle$1_cycle as cycle, responseSchema$2 as responseSchema };
1149
+ }
1150
+
1151
+ type FeePrioritiesResponse = {
1152
+ all: {
1153
+ no_priority: number;
1154
+ low_priority: number;
1155
+ medium_priority: number;
1156
+ high_priority: number;
1157
+ };
1158
+ token_transfer: {
1159
+ no_priority: number;
1160
+ low_priority: number;
1161
+ medium_priority: number;
1162
+ high_priority: number;
1163
+ };
1164
+ smart_contract: {
1165
+ no_priority: number;
1166
+ low_priority: number;
1167
+ medium_priority: number;
1168
+ high_priority: number;
1169
+ };
1170
+ contract_call: {
1171
+ no_priority: number;
1172
+ low_priority: number;
1173
+ medium_priority: number;
1174
+ high_priority: number;
1175
+ };
1176
+ };
1177
+ declare function transactionFeePriorities(opts: ApiRequestOptions): Promise<Result$1<FeePrioritiesResponse, SafeError<"FetchFeePrioritiesError" | "ParseBodyError" | "ValidateDataError">>>;
1178
+
1179
+ type transactionFeePriorities$1_FeePrioritiesResponse = FeePrioritiesResponse;
1180
+ declare const transactionFeePriorities$1_transactionFeePriorities: typeof transactionFeePriorities;
1181
+ declare namespace transactionFeePriorities$1 {
1182
+ export { type transactionFeePriorities$1_FeePrioritiesResponse as FeePrioritiesResponse, transactionFeePriorities$1_transactionFeePriorities as transactionFeePriorities };
1149
1183
  }
1150
1184
 
1151
1185
  declare const CoreApiResponseSchema: v.ObjectSchema<{
@@ -1173,18 +1207,18 @@ declare namespace coreApi$1 {
1173
1207
  export { type coreApi$1_CoreApiResponse as CoreApiResponse, coreApi$1_coreApi as coreApi };
1174
1208
  }
1175
1209
 
1176
- type Args$a = {
1210
+ type Args$b = {
1177
1211
  address: string;
1178
1212
  stacking?: boolean;
1179
1213
  } & ApiRequestOptions;
1180
- declare function stx(opts: Args$a): Promise<Result$1<any>>;
1214
+ declare function stx(opts: Args$b): Promise<Result$1<any>>;
1181
1215
 
1182
1216
  declare const stx$1_stx: typeof stx;
1183
1217
  declare namespace stx$1 {
1184
- export { type Args$a as Args, stx$1_stx as stx };
1218
+ export { type Args$b as Args, stx$1_stx as stx };
1185
1219
  }
1186
1220
 
1187
- type Args$9 = {
1221
+ type Args$a = {
1188
1222
  heightOrHash: string | number;
1189
1223
  } & ApiRequestOptions;
1190
1224
  declare const responseSchema$1: v.ObjectSchema<{
@@ -1209,14 +1243,14 @@ declare const responseSchema$1: v.ObjectSchema<{
1209
1243
  readonly execution_cost_write_length: v.NumberSchema<undefined>;
1210
1244
  }, undefined>;
1211
1245
  type Response$1 = v.InferOutput<typeof responseSchema$1>;
1212
- declare function getBlock(opts: Args$9): Promise<Result$1<Response$1, SafeError<"FetchBlockError" | "ParseBodyError" | "ValidateDataError">>>;
1246
+ declare function getBlock(opts: Args$a): Promise<Result$1<Response$1, SafeError<"FetchBlockError" | "ParseBodyError" | "ValidateDataError">>>;
1213
1247
 
1214
1248
  declare const getBlock$1_getBlock: typeof getBlock;
1215
1249
  declare namespace getBlock$1 {
1216
- export { type Args$9 as Args, type Response$1 as Response, getBlock$1_getBlock as getBlock, responseSchema$1 as responseSchema };
1250
+ export { type Args$a as Args, type Response$1 as Response, getBlock$1_getBlock as getBlock, responseSchema$1 as responseSchema };
1217
1251
  }
1218
1252
 
1219
- type Args$8 = {
1253
+ type Args$9 = {
1220
1254
  principal: string;
1221
1255
  } & ApiRequestOptions;
1222
1256
  declare const responseSchema: v.ObjectSchema<{
@@ -1227,25 +1261,25 @@ declare const responseSchema: v.ObjectSchema<{
1227
1261
  readonly detected_mempool_nonces: v.ArraySchema<v.NumberSchema<undefined>, undefined>;
1228
1262
  }, undefined>;
1229
1263
  type Response = v.InferOutput<typeof responseSchema>;
1230
- declare function latestNonce(opts: Args$8): Promise<Result$1<Response, SafeError<"FetchLatestNonceError" | "ParseBodyError" | "ValidateDataError">>>;
1264
+ declare function latestNonce(opts: Args$9): Promise<Result$1<Response, SafeError<"FetchLatestNonceError" | "ParseBodyError" | "ValidateDataError">>>;
1231
1265
 
1232
1266
  type latestNonce$1_Response = Response;
1233
1267
  declare const latestNonce$1_latestNonce: typeof latestNonce;
1234
1268
  declare const latestNonce$1_responseSchema: typeof responseSchema;
1235
1269
  declare namespace latestNonce$1 {
1236
- export { type Args$8 as Args, type latestNonce$1_Response as Response, latestNonce$1_latestNonce as latestNonce, latestNonce$1_responseSchema as responseSchema };
1270
+ export { type Args$9 as Args, type latestNonce$1_Response as Response, latestNonce$1_latestNonce as latestNonce, latestNonce$1_responseSchema as responseSchema };
1237
1271
  }
1238
1272
 
1239
- type Args$7 = {
1273
+ type Args$8 = {
1240
1274
  principal: string;
1241
1275
  unanchored?: boolean;
1242
1276
  untilBlock?: number;
1243
1277
  } & ApiRequestOptions;
1244
- declare function balances(opts: Args$7): Promise<Result$1<OperationResponse["get_account_balance"], SafeError<"FetchBalancesError" | "ParseBodyError" | "ValidateDataError">>>;
1278
+ declare function balances(opts: Args$8): Promise<Result$1<OperationResponse["get_account_balance"], SafeError<"FetchBalancesError" | "ParseBodyError" | "ValidateDataError">>>;
1245
1279
 
1246
1280
  declare const balances$1_balances: typeof balances;
1247
1281
  declare namespace balances$1 {
1248
- export { type Args$7 as Args, balances$1_balances as balances };
1282
+ export { type Args$8 as Args, balances$1_balances as balances };
1249
1283
  }
1250
1284
 
1251
1285
  declare const accounts: {
@@ -1253,36 +1287,36 @@ declare const accounts: {
1253
1287
  latestNonce: typeof latestNonce;
1254
1288
  };
1255
1289
 
1256
- declare const index$d_accounts: typeof accounts;
1257
- declare namespace index$d {
1258
- export { balances$1 as Balances, latestNonce$1 as LatestNonce, index$d_accounts as accounts };
1290
+ declare const index$e_accounts: typeof accounts;
1291
+ declare namespace index$e {
1292
+ export { balances$1 as Balances, latestNonce$1 as LatestNonce, index$e_accounts as accounts };
1259
1293
  }
1260
1294
 
1261
1295
  declare const blocks: {
1262
1296
  getBlock: typeof getBlock;
1263
1297
  };
1264
1298
 
1265
- declare const index$c_blocks: typeof blocks;
1266
- declare namespace index$c {
1267
- export { getBlock$1 as GetBlock, index$c_blocks as blocks };
1299
+ declare const index$d_blocks: typeof blocks;
1300
+ declare namespace index$d {
1301
+ export { getBlock$1 as GetBlock, index$d_blocks as blocks };
1268
1302
  }
1269
1303
 
1270
1304
  declare const faucets: {
1271
1305
  stx: typeof stx;
1272
1306
  };
1273
1307
 
1274
- declare const index$b_faucets: typeof faucets;
1275
- declare namespace index$b {
1276
- export { stx$1 as Stx, index$b_faucets as faucets };
1308
+ declare const index$c_faucets: typeof faucets;
1309
+ declare namespace index$c {
1310
+ export { stx$1 as Stx, index$c_faucets as faucets };
1277
1311
  }
1278
1312
 
1279
1313
  declare const info: {
1280
1314
  coreApi: typeof coreApi;
1281
1315
  };
1282
1316
 
1283
- declare const index$a_info: typeof info;
1284
- declare namespace index$a {
1285
- export { coreApi$1 as CoreApi, index$a_info as info };
1317
+ declare const index$b_info: typeof info;
1318
+ declare namespace index$b {
1319
+ export { coreApi$1 as CoreApi, index$b_info as info };
1286
1320
  }
1287
1321
 
1288
1322
  declare const proofOfTransfer: {
@@ -1293,18 +1327,18 @@ declare const proofOfTransfer: {
1293
1327
  stackersForSignerInCycle: typeof stackersForSignerInCycle;
1294
1328
  };
1295
1329
 
1296
- declare const index$9_proofOfTransfer: typeof proofOfTransfer;
1297
- declare namespace index$9 {
1298
- export { cycle$1 as Cycle, cycles$1 as Cycles, signerInCycle$1 as SignerInCycle, signersInCycle$1 as SignersInCycle, stackersForSignerInCycle$1 as StackersForSignerInCycle, index$9_proofOfTransfer as proofOfTransfer };
1330
+ declare const index$a_proofOfTransfer: typeof proofOfTransfer;
1331
+ declare namespace index$a {
1332
+ export { cycle$1 as Cycle, cycles$1 as Cycles, signerInCycle$1 as SignerInCycle, signersInCycle$1 as SignersInCycle, stackersForSignerInCycle$1 as StackersForSignerInCycle, index$a_proofOfTransfer as proofOfTransfer };
1299
1333
  }
1300
1334
 
1301
1335
  declare const stackingPool: {
1302
1336
  members: typeof members;
1303
1337
  };
1304
1338
 
1305
- declare const index$8_stackingPool: typeof stackingPool;
1306
- declare namespace index$8 {
1307
- export { members$1 as Members, index$8_stackingPool as stackingPool };
1339
+ declare const index$9_stackingPool: typeof stackingPool;
1340
+ declare namespace index$9 {
1341
+ export { members$1 as Members, index$9_stackingPool as stackingPool };
1308
1342
  }
1309
1343
 
1310
1344
  declare const transactions: {
@@ -1313,9 +1347,18 @@ declare const transactions: {
1313
1347
  mempoolTransactions: typeof mempoolTransactions;
1314
1348
  };
1315
1349
 
1316
- declare const index$7_transactions: typeof transactions;
1350
+ declare const index$8_transactions: typeof transactions;
1351
+ declare namespace index$8 {
1352
+ export { addressTransactions$1 as AddressTransactions, schemas as Common, getTransaction$1 as GetTransaction, mempoolTransactions$1 as MempoolTransactions, index$8_transactions as transactions };
1353
+ }
1354
+
1355
+ declare const mempool: {
1356
+ transactionFeePriorities: typeof transactionFeePriorities;
1357
+ };
1358
+
1359
+ declare const index$7_mempool: typeof mempool;
1317
1360
  declare namespace index$7 {
1318
- export { addressTransactions$1 as AddressTransactions, schemas as Common, getTransaction$1 as GetTransaction, mempoolTransactions$1 as MempoolTransactions, index$7_transactions as transactions };
1361
+ export { transactionFeePriorities$1 as TransactionFeePriorities, index$7_mempool as mempool };
1319
1362
  }
1320
1363
 
1321
1364
  declare const stacksApi: {
@@ -1332,6 +1375,9 @@ declare const stacksApi: {
1332
1375
  info: {
1333
1376
  coreApi: typeof coreApi;
1334
1377
  };
1378
+ mempool: {
1379
+ transactionFeePriorities: typeof transactionFeePriorities;
1380
+ };
1335
1381
  proofOfTransfer: {
1336
1382
  cycle: typeof cycle;
1337
1383
  cycles: typeof cycles;
@@ -1351,10 +1397,10 @@ declare const stacksApi: {
1351
1397
 
1352
1398
  declare const index$6_stacksApi: typeof stacksApi;
1353
1399
  declare namespace index$6 {
1354
- export { index$d as Accounts, index$c as Blocks, index$b as Faucets, index$a as Info, index$9 as ProofOfTransfer, index$8 as StackingPool, index$7 as Transactions, index$6_stacksApi as stacksApi };
1400
+ export { index$e as Accounts, index$d as Blocks, index$c as Faucets, index$b as Info, index$7 as Mempool, index$a as ProofOfTransfer, index$9 as StackingPool, index$8 as Transactions, index$6_stacksApi as stacksApi };
1355
1401
  }
1356
1402
 
1357
- type Args$6 = {
1403
+ type Args$7 = {
1358
1404
  sender: string;
1359
1405
  arguments: string[];
1360
1406
  contractAddress: string;
@@ -1371,15 +1417,15 @@ interface ReadOnlyContractCallFailResponse {
1371
1417
  }
1372
1418
  type ReadOnlyContractCallResponse = ReadOnlyContractCallSuccessResponse | ReadOnlyContractCallFailResponse;
1373
1419
  type ReadOnlyResponse = ReadOnlyContractCallResponse;
1374
- declare function readOnly$1(args: Args$6): Promise<Result$1<ReadOnlyResponse>>;
1420
+ declare function readOnly$1(args: Args$7): Promise<Result$1<ReadOnlyResponse>>;
1375
1421
 
1376
1422
  type readOnly$2_ReadOnlyContractCallResponse = ReadOnlyContractCallResponse;
1377
1423
  type readOnly$2_ReadOnlyResponse = ReadOnlyResponse;
1378
1424
  declare namespace readOnly$2 {
1379
- export { type Args$6 as Args, type readOnly$2_ReadOnlyContractCallResponse as ReadOnlyContractCallResponse, type readOnly$2_ReadOnlyResponse as ReadOnlyResponse, readOnly$1 as readOnly };
1425
+ export { type Args$7 as Args, type readOnly$2_ReadOnlyContractCallResponse as ReadOnlyContractCallResponse, type readOnly$2_ReadOnlyResponse as ReadOnlyResponse, readOnly$1 as readOnly };
1380
1426
  }
1381
1427
 
1382
- type Args$5 = {
1428
+ type Args$6 = {
1383
1429
  contractAddress: string;
1384
1430
  contractName: string;
1385
1431
  mapName: string;
@@ -1399,12 +1445,25 @@ declare const mapEntryResponseSchema: v.ObjectSchema<{
1399
1445
  readonly proof: v.OptionalSchema<v.StringSchema<undefined>, never>;
1400
1446
  }, undefined>;
1401
1447
  type MapEntryResponse = v.InferOutput<typeof mapEntryResponseSchema>;
1402
- declare function mapEntry(args: Args$5): Promise<Result$1<MapEntryResponse>>;
1448
+ declare function mapEntry(args: Args$6): Promise<Result$1<MapEntryResponse>>;
1403
1449
 
1404
1450
  type mapEntry$1_MapEntryResponse = MapEntryResponse;
1405
1451
  declare const mapEntry$1_mapEntry: typeof mapEntry;
1406
1452
  declare namespace mapEntry$1 {
1407
- export { type Args$5 as Args, type mapEntry$1_MapEntryResponse as MapEntryResponse, mapEntry$1_mapEntry as mapEntry };
1453
+ export { type Args$6 as Args, type mapEntry$1_MapEntryResponse as MapEntryResponse, mapEntry$1_mapEntry as mapEntry };
1454
+ }
1455
+
1456
+ type Args$5 = {
1457
+ contractAddress: string;
1458
+ contractName: string;
1459
+ } & ApiRequestOptions & ProofAndTip;
1460
+ type InterfaceResponse = ClarityAbi;
1461
+ declare function contractInterface(args: Args$5): Promise<Result$1<InterfaceResponse>>;
1462
+
1463
+ type _interface_InterfaceResponse = InterfaceResponse;
1464
+ declare const _interface_contractInterface: typeof contractInterface;
1465
+ declare namespace _interface {
1466
+ export { type Args$5 as Args, type _interface_InterfaceResponse as InterfaceResponse, _interface_contractInterface as contractInterface };
1408
1467
  }
1409
1468
 
1410
1469
  type Args$4 = ApiRequestOptions;
@@ -1562,13 +1621,14 @@ declare namespace poxDetails$1 {
1562
1621
  }
1563
1622
 
1564
1623
  declare const smartContracts: {
1624
+ contractInterface: typeof contractInterface;
1565
1625
  mapEntry: typeof mapEntry;
1566
1626
  readOnly: typeof readOnly$1;
1567
1627
  };
1568
1628
 
1569
1629
  declare const index$5_smartContracts: typeof smartContracts;
1570
1630
  declare namespace index$5 {
1571
- export { mapEntry$1 as MapEntry, readOnly$2 as ReadOnly, index$5_smartContracts as smartContracts };
1631
+ export { _interface as ContractInterface, mapEntry$1 as MapEntry, readOnly$2 as ReadOnly, index$5_smartContracts as smartContracts };
1572
1632
  }
1573
1633
 
1574
1634
  declare const pox: {
@@ -1585,6 +1645,7 @@ declare const stacksRpcApi: {
1585
1645
  poxDetails: typeof poxDetails;
1586
1646
  };
1587
1647
  smartContracts: {
1648
+ contractInterface: typeof contractInterface;
1588
1649
  mapEntry: typeof mapEntry;
1589
1650
  readOnly: typeof readOnly$1;
1590
1651
  };
package/dist/index.js CHANGED
@@ -913,12 +913,50 @@ var transactions = {
913
913
  mempoolTransactions
914
914
  };
915
915
 
916
+ // src/stacks-api/mempool/transaction-fee-priorities.ts
917
+ async function transactionFeePriorities(opts) {
918
+ const init = {};
919
+ if (opts.apiKeyConfig) {
920
+ init.headers = {
921
+ [opts.apiKeyConfig.header]: opts.apiKeyConfig.key
922
+ };
923
+ }
924
+ const endpoint = `${opts.baseUrl}/extended/v2/mempool/fees`;
925
+ const res = await fetch(endpoint, init);
926
+ if (!res.ok) {
927
+ return error({
928
+ name: "FetchFeePrioritiesError",
929
+ message: "Failed to fetch transaction fee priorities.",
930
+ data: {
931
+ status: res.status,
932
+ statusText: res.statusText,
933
+ bodyParseResult: await safePromise(res.text())
934
+ }
935
+ });
936
+ }
937
+ const [jsonError, data] = await safePromise(res.json());
938
+ if (jsonError) {
939
+ return error({
940
+ name: "ParseBodyError",
941
+ message: "Failed to parse response body as JSON.",
942
+ data: jsonError
943
+ });
944
+ }
945
+ return success(data);
946
+ }
947
+
948
+ // src/stacks-api/mempool/index.ts
949
+ var mempool = {
950
+ transactionFeePriorities
951
+ };
952
+
916
953
  // src/stacks-api/index.ts
917
954
  var stacksApi = {
918
955
  accounts,
919
956
  blocks,
920
957
  faucets,
921
958
  info,
959
+ mempool,
922
960
  proofOfTransfer,
923
961
  stackingPool,
924
962
  transactions
@@ -1025,8 +1063,46 @@ async function readOnly(args) {
1025
1063
  return success(data);
1026
1064
  }
1027
1065
 
1066
+ // src/stacks-rpc-api/smart-contracts/interface.ts
1067
+ async function contractInterface(args) {
1068
+ const search = new URLSearchParams();
1069
+ if (args.proof === 0) search.append("proof", "0");
1070
+ if (args.tip) search.append("tip", args.tip);
1071
+ const init = {};
1072
+ if (args.apiKeyConfig) {
1073
+ init.headers = {
1074
+ [args.apiKeyConfig.header]: args.apiKeyConfig.key
1075
+ };
1076
+ }
1077
+ const endpoint = `${args.baseUrl}/v2/contracts/interface/${args.contractAddress}/${args.contractName}`;
1078
+ const res = await fetch(endpoint, init);
1079
+ if (!res.ok) {
1080
+ return error({
1081
+ name: "FetcContractInterfaceError",
1082
+ message: "Failed to fetch contract interface.",
1083
+ data: {
1084
+ init,
1085
+ status: res.status,
1086
+ statusText: res.statusText,
1087
+ endpoint,
1088
+ bodyText: await safePromise(res.text())
1089
+ }
1090
+ });
1091
+ }
1092
+ const [jsonError, data] = await safePromise(res.json());
1093
+ if (jsonError) {
1094
+ return error({
1095
+ name: "ParseBodyError",
1096
+ message: "Failed to parse response body as JSON.",
1097
+ data: jsonError
1098
+ });
1099
+ }
1100
+ return success(data);
1101
+ }
1102
+
1028
1103
  // src/stacks-rpc-api/smart-contracts/index.ts
1029
1104
  var smartContracts = {
1105
+ contractInterface,
1030
1106
  mapEntry,
1031
1107
  readOnly
1032
1108
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secretkeylabs/stacks-tools",
3
- "version": "0.5.0-eb736d6",
3
+ "version": "0.6.0-1af566a",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"