@helium/blockchain-api 0.3.13 → 0.11.11

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.
Files changed (50) hide show
  1. package/dist/chunk-2SBYC2AH.js +466 -0
  2. package/dist/chunk-4CY5D37F.js +176 -0
  3. package/dist/chunk-4RVSLJOU.js +9 -0
  4. package/dist/chunk-5ZPW3MRC.js +53 -0
  5. package/dist/chunk-6EPXJJY5.js +60 -0
  6. package/dist/chunk-6LMSAIIW.js +230 -0
  7. package/dist/chunk-7CTJX35S.js +16 -0
  8. package/dist/chunk-7R4XQ5SN.js +116 -0
  9. package/dist/chunk-KTADG6LO.js +1 -0
  10. package/dist/chunk-LHKDTWB2.js +177 -0
  11. package/dist/chunk-MSIA3ZUI.js +36 -0
  12. package/dist/chunk-NBOSJXWK.js +50 -0
  13. package/dist/chunk-RD5LUTM5.js +97 -0
  14. package/dist/chunk-T7OKPHTD.js +68 -0
  15. package/dist/chunk-TEWZC6CW.js +1 -0
  16. package/dist/chunk-YVB4ENKX.js +119 -0
  17. package/dist/contracts.d.ts +8671 -0
  18. package/dist/contracts.js +14 -0
  19. package/dist/errors.d.ts +69 -0
  20. package/dist/errors.js +2 -0
  21. package/dist/index.d.ts +16 -8128
  22. package/dist/index.js +16 -1597
  23. package/dist/schemas/common.d.ts +219 -0
  24. package/dist/schemas/common.js +1 -0
  25. package/dist/schemas/fiat.d.ts +175 -0
  26. package/dist/schemas/fiat.js +3 -0
  27. package/dist/schemas/governance.d.ts +470 -0
  28. package/dist/schemas/governance.js +2 -0
  29. package/dist/schemas/health.d.ts +9 -0
  30. package/dist/schemas/health.js +1 -0
  31. package/dist/schemas/hotspots.d.ts +540 -0
  32. package/dist/schemas/hotspots.js +2 -0
  33. package/dist/schemas/migration.d.ts +145 -0
  34. package/dist/schemas/migration.js +3 -0
  35. package/dist/schemas/reward-contract.d.ts +209 -0
  36. package/dist/schemas/reward-contract.js +2 -0
  37. package/dist/schemas/swap.d.ts +95 -0
  38. package/dist/schemas/swap.js +2 -0
  39. package/dist/schemas/tokens.d.ts +94 -0
  40. package/dist/schemas/tokens.js +2 -0
  41. package/dist/schemas/transactions.d.ts +200 -0
  42. package/dist/schemas/transactions.js +2 -0
  43. package/dist/schemas/webhooks.d.ts +17 -0
  44. package/dist/schemas/webhooks.js +1 -0
  45. package/dist/schemas/welcome-packs.d.ts +305 -0
  46. package/dist/schemas/welcome-packs.js +3 -0
  47. package/dist/schemas.d.ts +12 -0
  48. package/dist/schemas.js +12 -0
  49. package/package.json +31 -9
  50. package/README.md +0 -78
@@ -0,0 +1,209 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const FindRewardContractResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4
+ status: z.ZodLiteral<"PENDING">;
5
+ contract: z.ZodObject<{
6
+ delegateWalletAddress: z.ZodString;
7
+ recipients: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
8
+ type: z.ZodLiteral<"PRESET">;
9
+ walletAddress: z.ZodString;
10
+ receives: z.ZodDiscriminatedUnion<[z.ZodObject<{
11
+ type: z.ZodLiteral<"FIXED">;
12
+ tokenAmount: z.ZodObject<{
13
+ amount: z.ZodString;
14
+ decimals: z.ZodNumber;
15
+ uiAmount: z.ZodNullable<z.ZodNumber>;
16
+ uiAmountString: z.ZodString;
17
+ mint: z.ZodString;
18
+ }, z.core.$strip>;
19
+ }, z.core.$strip>, z.ZodObject<{
20
+ type: z.ZodLiteral<"SHARES">;
21
+ shares: z.ZodNumber;
22
+ }, z.core.$strip>], "type">;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ type: z.ZodLiteral<"CLAIMABLE">;
25
+ giftedCurrency: z.ZodObject<{
26
+ amount: z.ZodString;
27
+ decimals: z.ZodNumber;
28
+ uiAmount: z.ZodNullable<z.ZodNumber>;
29
+ uiAmountString: z.ZodString;
30
+ mint: z.ZodString;
31
+ }, z.core.$strip>;
32
+ receives: z.ZodDiscriminatedUnion<[z.ZodObject<{
33
+ type: z.ZodLiteral<"FIXED">;
34
+ tokenAmount: z.ZodObject<{
35
+ amount: z.ZodString;
36
+ decimals: z.ZodNumber;
37
+ uiAmount: z.ZodNullable<z.ZodNumber>;
38
+ uiAmountString: z.ZodString;
39
+ mint: z.ZodString;
40
+ }, z.core.$strip>;
41
+ }, z.core.$strip>, z.ZodObject<{
42
+ type: z.ZodLiteral<"SHARES">;
43
+ shares: z.ZodNumber;
44
+ }, z.core.$strip>], "type">;
45
+ }, z.core.$strip>], "type">>;
46
+ rewardSchedule: z.ZodString;
47
+ }, z.core.$strip>;
48
+ }, z.core.$strip>, z.ZodObject<{
49
+ status: z.ZodLiteral<"ACTIVE">;
50
+ contract: z.ZodObject<{
51
+ delegateWalletAddress: z.ZodString;
52
+ entityOwnerAddress: z.ZodString;
53
+ recipients: z.ZodArray<z.ZodObject<{
54
+ walletAddress: z.ZodString;
55
+ receives: z.ZodDiscriminatedUnion<[z.ZodObject<{
56
+ type: z.ZodLiteral<"FIXED">;
57
+ tokenAmount: z.ZodObject<{
58
+ amount: z.ZodString;
59
+ decimals: z.ZodNumber;
60
+ uiAmount: z.ZodNullable<z.ZodNumber>;
61
+ uiAmountString: z.ZodString;
62
+ mint: z.ZodString;
63
+ }, z.core.$strip>;
64
+ }, z.core.$strip>, z.ZodObject<{
65
+ type: z.ZodLiteral<"SHARES">;
66
+ shares: z.ZodNumber;
67
+ }, z.core.$strip>], "type">;
68
+ }, z.core.$strip>>;
69
+ rewardSchedule: z.ZodString;
70
+ }, z.core.$strip>;
71
+ }, z.core.$strip>, z.ZodObject<{
72
+ status: z.ZodLiteral<"NONE">;
73
+ }, z.core.$strip>], "status">;
74
+ declare const CreateRewardContractTransactionInputSchema: z.ZodObject<{
75
+ delegateWalletAddress: z.ZodString;
76
+ recipients: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
77
+ type: z.ZodLiteral<"PRESET">;
78
+ walletAddress: z.ZodString;
79
+ receives: z.ZodDiscriminatedUnion<[z.ZodObject<{
80
+ type: z.ZodLiteral<"FIXED">;
81
+ tokenAmount: z.ZodObject<{
82
+ amount: z.ZodString;
83
+ mint: z.ZodString;
84
+ }, z.core.$strip>;
85
+ }, z.core.$strip>, z.ZodObject<{
86
+ type: z.ZodLiteral<"SHARES">;
87
+ shares: z.ZodNumber;
88
+ }, z.core.$strip>], "type">;
89
+ }, z.core.$strip>, z.ZodObject<{
90
+ type: z.ZodLiteral<"CLAIMABLE">;
91
+ giftedCurrency: z.ZodObject<{
92
+ amount: z.ZodString;
93
+ mint: z.ZodString;
94
+ }, z.core.$strip>;
95
+ receives: z.ZodDiscriminatedUnion<[z.ZodObject<{
96
+ type: z.ZodLiteral<"FIXED">;
97
+ tokenAmount: z.ZodObject<{
98
+ amount: z.ZodString;
99
+ mint: z.ZodString;
100
+ }, z.core.$strip>;
101
+ }, z.core.$strip>, z.ZodObject<{
102
+ type: z.ZodLiteral<"SHARES">;
103
+ shares: z.ZodNumber;
104
+ }, z.core.$strip>], "type">;
105
+ }, z.core.$strip>], "type">>;
106
+ rewardSchedule: z.ZodString;
107
+ }, z.core.$strip>;
108
+ declare const EstimateCostToCreateRewardContractResponseSchema: z.ZodObject<{
109
+ total: z.ZodObject<{
110
+ amount: z.ZodString;
111
+ decimals: z.ZodNumber;
112
+ uiAmount: z.ZodNullable<z.ZodNumber>;
113
+ uiAmountString: z.ZodString;
114
+ mint: z.ZodString;
115
+ }, z.core.$strip>;
116
+ lineItems: z.ZodObject<{
117
+ transactionFees: z.ZodObject<{
118
+ amount: z.ZodString;
119
+ decimals: z.ZodNumber;
120
+ uiAmount: z.ZodNullable<z.ZodNumber>;
121
+ uiAmountString: z.ZodString;
122
+ mint: z.ZodString;
123
+ }, z.core.$strip>;
124
+ rentFee: z.ZodObject<{
125
+ amount: z.ZodString;
126
+ decimals: z.ZodNumber;
127
+ uiAmount: z.ZodNullable<z.ZodNumber>;
128
+ uiAmountString: z.ZodString;
129
+ mint: z.ZodString;
130
+ }, z.core.$strip>;
131
+ recipientGift: z.ZodObject<{
132
+ amount: z.ZodString;
133
+ decimals: z.ZodNumber;
134
+ uiAmount: z.ZodNullable<z.ZodNumber>;
135
+ uiAmountString: z.ZodString;
136
+ mint: z.ZodString;
137
+ }, z.core.$strip>;
138
+ }, z.core.$strip>;
139
+ }, z.core.$strip>;
140
+ declare const CreateRewardContractTransactionResponseSchema: z.ZodObject<{
141
+ unsignedTransactionData: z.ZodObject<{
142
+ transactions: z.ZodArray<z.ZodObject<{
143
+ serializedTransaction: z.ZodString;
144
+ metadata: z.ZodOptional<z.ZodObject<{
145
+ type: z.ZodString;
146
+ description: z.ZodString;
147
+ }, z.core.$catchall<z.ZodUnknown>>>;
148
+ }, z.core.$strip>>;
149
+ parallel: z.ZodBoolean;
150
+ tag: z.ZodOptional<z.ZodString>;
151
+ }, z.core.$strip>;
152
+ estimatedSolFee: z.ZodObject<{
153
+ amount: z.ZodString;
154
+ decimals: z.ZodNumber;
155
+ uiAmount: z.ZodNullable<z.ZodNumber>;
156
+ uiAmountString: z.ZodString;
157
+ mint: z.ZodString;
158
+ }, z.core.$strip>;
159
+ }, z.core.$strip>;
160
+ declare const DeleteRewardContractTransactionResponseSchema: z.ZodObject<{
161
+ unsignedTransactionData: z.ZodObject<{
162
+ transactions: z.ZodArray<z.ZodObject<{
163
+ serializedTransaction: z.ZodString;
164
+ metadata: z.ZodOptional<z.ZodObject<{
165
+ type: z.ZodString;
166
+ description: z.ZodString;
167
+ }, z.core.$catchall<z.ZodUnknown>>>;
168
+ }, z.core.$strip>>;
169
+ parallel: z.ZodBoolean;
170
+ tag: z.ZodOptional<z.ZodString>;
171
+ }, z.core.$strip>;
172
+ estimatedSolFee: z.ZodObject<{
173
+ amount: z.ZodString;
174
+ decimals: z.ZodNumber;
175
+ uiAmount: z.ZodNullable<z.ZodNumber>;
176
+ uiAmountString: z.ZodString;
177
+ mint: z.ZodString;
178
+ }, z.core.$strip>;
179
+ }, z.core.$strip>;
180
+ declare const CreateInviteResponseSchema: z.ZodObject<{
181
+ unsignedMessage: z.ZodString;
182
+ expiration: z.ZodISODateTime;
183
+ }, z.core.$strip>;
184
+ declare const ClaimInviteRequestSchema: z.ZodObject<{
185
+ delegateSignature: z.ZodString;
186
+ expiration: z.ZodISODateTime;
187
+ }, z.core.$strip>;
188
+ declare const ClaimInviteResponseSchema: z.ZodObject<{
189
+ unsignedTransactionData: z.ZodObject<{
190
+ transactions: z.ZodArray<z.ZodObject<{
191
+ serializedTransaction: z.ZodString;
192
+ metadata: z.ZodOptional<z.ZodObject<{
193
+ type: z.ZodString;
194
+ description: z.ZodString;
195
+ }, z.core.$catchall<z.ZodUnknown>>>;
196
+ }, z.core.$strip>>;
197
+ parallel: z.ZodBoolean;
198
+ tag: z.ZodOptional<z.ZodString>;
199
+ }, z.core.$strip>;
200
+ estimatedSolFee: z.ZodObject<{
201
+ amount: z.ZodString;
202
+ decimals: z.ZodNumber;
203
+ uiAmount: z.ZodNullable<z.ZodNumber>;
204
+ uiAmountString: z.ZodString;
205
+ mint: z.ZodString;
206
+ }, z.core.$strip>;
207
+ }, z.core.$strip>;
208
+
209
+ export { ClaimInviteRequestSchema, ClaimInviteResponseSchema, CreateInviteResponseSchema, CreateRewardContractTransactionInputSchema, CreateRewardContractTransactionResponseSchema, DeleteRewardContractTransactionResponseSchema, EstimateCostToCreateRewardContractResponseSchema, FindRewardContractResponseSchema };
@@ -0,0 +1,2 @@
1
+ export { ClaimInviteRequestSchema, ClaimInviteResponseSchema, CreateInviteResponseSchema, CreateRewardContractTransactionInputSchema, CreateRewardContractTransactionResponseSchema, DeleteRewardContractTransactionResponseSchema, EstimateCostToCreateRewardContractResponseSchema, FindRewardContractResponseSchema } from '../chunk-4CY5D37F.js';
2
+ import '../chunk-YVB4ENKX.js';
@@ -0,0 +1,95 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const GetTokensInputSchema: z.ZodObject<{
4
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
5
+ }, z.core.$strip>;
6
+ declare const GetQuoteInputSchema: z.ZodObject<{
7
+ inputMint: z.ZodString;
8
+ outputMint: z.ZodString;
9
+ amount: z.ZodString;
10
+ swapMode: z.ZodDefault<z.ZodEnum<{
11
+ ExactIn: "ExactIn";
12
+ ExactOut: "ExactOut";
13
+ }>>;
14
+ slippageBps: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
15
+ }, z.core.$strip>;
16
+ declare const QuoteResponseSchema: z.ZodObject<{
17
+ inputMint: z.ZodString;
18
+ inAmount: z.ZodString;
19
+ outputMint: z.ZodString;
20
+ outAmount: z.ZodString;
21
+ otherAmountThreshold: z.ZodString;
22
+ swapMode: z.ZodString;
23
+ slippageBps: z.ZodNumber;
24
+ platformFee: z.ZodOptional<z.ZodUnknown>;
25
+ priceImpactPct: z.ZodString;
26
+ routePlan: z.ZodArray<z.ZodUnknown>;
27
+ contextSlot: z.ZodOptional<z.ZodNumber>;
28
+ timeTaken: z.ZodOptional<z.ZodNumber>;
29
+ }, z.core.$loose>;
30
+ declare const GetInstructionsInputSchema: z.ZodObject<{
31
+ quoteResponse: z.ZodObject<{
32
+ inputMint: z.ZodString;
33
+ inAmount: z.ZodString;
34
+ outputMint: z.ZodString;
35
+ outAmount: z.ZodString;
36
+ otherAmountThreshold: z.ZodString;
37
+ swapMode: z.ZodString;
38
+ slippageBps: z.ZodNumber;
39
+ platformFee: z.ZodOptional<z.ZodUnknown>;
40
+ priceImpactPct: z.ZodString;
41
+ routePlan: z.ZodArray<z.ZodUnknown>;
42
+ contextSlot: z.ZodOptional<z.ZodNumber>;
43
+ timeTaken: z.ZodOptional<z.ZodNumber>;
44
+ }, z.core.$loose>;
45
+ userPublicKey: z.ZodString;
46
+ destinationTokenAccount: z.ZodOptional<z.ZodString>;
47
+ dynamicComputeUnitLimit: z.ZodDefault<z.ZodBoolean>;
48
+ prioritizationFeeLamports: z.ZodOptional<z.ZodObject<{
49
+ priorityLevelWithMaxLamports: z.ZodObject<{
50
+ maxLamports: z.ZodDefault<z.ZodNumber>;
51
+ priorityLevel: z.ZodDefault<z.ZodEnum<{
52
+ low: "low";
53
+ medium: "medium";
54
+ high: "high";
55
+ }>>;
56
+ }, z.core.$strip>;
57
+ }, z.core.$strip>>;
58
+ }, z.core.$strip>;
59
+ declare const TokenSchema: z.ZodObject<{
60
+ address: z.ZodString;
61
+ symbol: z.ZodString;
62
+ name: z.ZodString;
63
+ decimals: z.ZodNumber;
64
+ logoURI: z.ZodOptional<z.ZodString>;
65
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
66
+ }, z.core.$strip>;
67
+ declare const TokenListOutputSchema: z.ZodObject<{
68
+ tokens: z.ZodArray<z.ZodObject<{
69
+ address: z.ZodString;
70
+ symbol: z.ZodString;
71
+ name: z.ZodString;
72
+ decimals: z.ZodNumber;
73
+ logoURI: z.ZodOptional<z.ZodString>;
74
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
75
+ }, z.core.$strip>>;
76
+ }, z.core.$strip>;
77
+ declare const SwapTransactionDataSchema: z.ZodObject<{
78
+ transactions: z.ZodArray<z.ZodObject<{
79
+ serializedTransaction: z.ZodString;
80
+ metadata: z.ZodOptional<z.ZodObject<{
81
+ type: z.ZodString;
82
+ description: z.ZodString;
83
+ }, z.core.$catchall<z.ZodUnknown>>>;
84
+ }, z.core.$strip>>;
85
+ parallel: z.ZodBoolean;
86
+ tag: z.ZodOptional<z.ZodString>;
87
+ }, z.core.$strip>;
88
+ type GetTokensInput = z.infer<typeof GetTokensInputSchema>;
89
+ type GetQuoteInput = z.infer<typeof GetQuoteInputSchema>;
90
+ type GetInstructionsInput = z.infer<typeof GetInstructionsInputSchema>;
91
+ type QuoteResponse = z.infer<typeof QuoteResponseSchema>;
92
+ type Token = z.infer<typeof TokenSchema>;
93
+ type TokenListOutput = z.infer<typeof TokenListOutputSchema>;
94
+
95
+ export { type GetInstructionsInput, GetInstructionsInputSchema, type GetQuoteInput, GetQuoteInputSchema, type GetTokensInput, GetTokensInputSchema, type QuoteResponse, QuoteResponseSchema, SwapTransactionDataSchema, type Token, type TokenListOutput, TokenListOutputSchema, TokenSchema };
@@ -0,0 +1,2 @@
1
+ export { GetInstructionsInputSchema, GetQuoteInputSchema, GetTokensInputSchema, QuoteResponseSchema, SwapTransactionDataSchema, TokenListOutputSchema, TokenSchema } from '../chunk-5ZPW3MRC.js';
2
+ import '../chunk-YVB4ENKX.js';
@@ -0,0 +1,94 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const GetBalancesInputSchema: z.ZodObject<{
4
+ walletAddress: z.ZodString;
5
+ }, z.core.$strip>;
6
+ declare const TransferInputSchema: z.ZodObject<{
7
+ walletAddress: z.ZodString;
8
+ destination: z.ZodString;
9
+ tokenAmount: z.ZodObject<{
10
+ amount: z.ZodString;
11
+ mint: z.ZodString;
12
+ }, z.core.$strip>;
13
+ }, z.core.$strip>;
14
+ declare const CreateHntAccountInputSchema: z.ZodObject<{
15
+ walletAddress: z.ZodString;
16
+ }, z.core.$strip>;
17
+ declare const TokenAccountSchema: z.ZodObject<{
18
+ mint: z.ZodString;
19
+ address: z.ZodString;
20
+ balance: z.ZodString;
21
+ decimals: z.ZodNumber;
22
+ uiAmount: z.ZodNumber;
23
+ symbol: z.ZodOptional<z.ZodString>;
24
+ name: z.ZodOptional<z.ZodString>;
25
+ logoURI: z.ZodOptional<z.ZodString>;
26
+ priceUsd: z.ZodOptional<z.ZodNumber>;
27
+ balanceUsd: z.ZodOptional<z.ZodNumber>;
28
+ }, z.core.$strip>;
29
+ declare const TokenBalanceDataSchema: z.ZodObject<{
30
+ totalBalanceUsd: z.ZodNumber;
31
+ solBalance: z.ZodNumber;
32
+ solBalanceUsd: z.ZodNumber;
33
+ tokens: z.ZodArray<z.ZodObject<{
34
+ mint: z.ZodString;
35
+ address: z.ZodString;
36
+ balance: z.ZodString;
37
+ decimals: z.ZodNumber;
38
+ uiAmount: z.ZodNumber;
39
+ symbol: z.ZodOptional<z.ZodString>;
40
+ name: z.ZodOptional<z.ZodString>;
41
+ logoURI: z.ZodOptional<z.ZodString>;
42
+ priceUsd: z.ZodOptional<z.ZodNumber>;
43
+ balanceUsd: z.ZodOptional<z.ZodNumber>;
44
+ }, z.core.$strip>>;
45
+ }, z.core.$strip>;
46
+ declare const TransferOutputSchema: z.ZodObject<{
47
+ transactionData: z.ZodObject<{
48
+ transactions: z.ZodArray<z.ZodObject<{
49
+ serializedTransaction: z.ZodString;
50
+ metadata: z.ZodOptional<z.ZodObject<{
51
+ type: z.ZodString;
52
+ description: z.ZodString;
53
+ }, z.core.$catchall<z.ZodUnknown>>>;
54
+ }, z.core.$strip>>;
55
+ parallel: z.ZodBoolean;
56
+ tag: z.ZodOptional<z.ZodString>;
57
+ }, z.core.$strip>;
58
+ estimatedSolFee: z.ZodObject<{
59
+ amount: z.ZodString;
60
+ decimals: z.ZodNumber;
61
+ uiAmount: z.ZodNullable<z.ZodNumber>;
62
+ uiAmountString: z.ZodString;
63
+ mint: z.ZodString;
64
+ }, z.core.$strip>;
65
+ }, z.core.$strip>;
66
+ declare const CreateHntAccountOutputSchema: z.ZodObject<{
67
+ transactionData: z.ZodObject<{
68
+ transactions: z.ZodArray<z.ZodObject<{
69
+ serializedTransaction: z.ZodString;
70
+ metadata: z.ZodOptional<z.ZodObject<{
71
+ type: z.ZodString;
72
+ description: z.ZodString;
73
+ }, z.core.$catchall<z.ZodUnknown>>>;
74
+ }, z.core.$strip>>;
75
+ parallel: z.ZodBoolean;
76
+ tag: z.ZodOptional<z.ZodString>;
77
+ }, z.core.$strip>;
78
+ estimatedSolFee: z.ZodObject<{
79
+ amount: z.ZodString;
80
+ decimals: z.ZodNumber;
81
+ uiAmount: z.ZodNullable<z.ZodNumber>;
82
+ uiAmountString: z.ZodString;
83
+ mint: z.ZodString;
84
+ }, z.core.$strip>;
85
+ }, z.core.$strip>;
86
+ type GetBalancesInput = z.infer<typeof GetBalancesInputSchema>;
87
+ type TransferInput = z.infer<typeof TransferInputSchema>;
88
+ type CreateHntAccountInput = z.infer<typeof CreateHntAccountInputSchema>;
89
+ type TokenAccount = z.infer<typeof TokenAccountSchema>;
90
+ type TokenBalanceData = z.infer<typeof TokenBalanceDataSchema>;
91
+ type TransferOutput = z.infer<typeof TransferOutputSchema>;
92
+ type CreateHntAccountOutput = z.infer<typeof CreateHntAccountOutputSchema>;
93
+
94
+ export { type CreateHntAccountInput, CreateHntAccountInputSchema, type CreateHntAccountOutput, CreateHntAccountOutputSchema, type GetBalancesInput, GetBalancesInputSchema, type TokenAccount, TokenAccountSchema, type TokenBalanceData, TokenBalanceDataSchema, type TransferInput, TransferInputSchema, type TransferOutput, TransferOutputSchema };
@@ -0,0 +1,2 @@
1
+ export { CreateHntAccountInputSchema, CreateHntAccountOutputSchema, GetBalancesInputSchema, TokenAccountSchema, TokenBalanceDataSchema, TransferInputSchema, TransferOutputSchema } from '../chunk-MSIA3ZUI.js';
2
+ import '../chunk-YVB4ENKX.js';
@@ -0,0 +1,200 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const SubmitInputSchema: z.ZodObject<{
4
+ transactions: z.ZodArray<z.ZodObject<{
5
+ serializedTransaction: z.ZodString;
6
+ metadata: z.ZodOptional<z.ZodObject<{
7
+ type: z.ZodString;
8
+ description: z.ZodString;
9
+ }, z.core.$catchall<z.ZodUnknown>>>;
10
+ }, z.core.$strip>>;
11
+ parallel: z.ZodBoolean;
12
+ tag: z.ZodOptional<z.ZodString>;
13
+ simulationCommitment: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
14
+ confirmed: "confirmed";
15
+ finalized: "finalized";
16
+ }>>>;
17
+ simulate: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18
+ }, z.core.$strip>;
19
+ declare const GetInputSchema: z.ZodObject<{
20
+ id: z.ZodString;
21
+ commitment: z.ZodEnum<{
22
+ confirmed: "confirmed";
23
+ finalized: "finalized";
24
+ }>;
25
+ }, z.core.$strip>;
26
+ declare const ResubmitInputSchema: z.ZodObject<{
27
+ id: z.ZodString;
28
+ }, z.core.$strip>;
29
+ declare const GetByPayerInputSchema: z.ZodObject<{
30
+ payer: z.ZodString;
31
+ page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
32
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
33
+ status: z.ZodDefault<z.ZodOptional<z.ZodString>>;
34
+ }, z.core.$strip>;
35
+ declare const GetByPayerAndTagInputSchema: z.ZodObject<{
36
+ payer: z.ZodString;
37
+ tag: z.ZodString;
38
+ page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
39
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
40
+ status: z.ZodDefault<z.ZodOptional<z.ZodString>>;
41
+ }, z.core.$strip>;
42
+ declare const SubmitOutputSchema: z.ZodObject<{
43
+ batchId: z.ZodString;
44
+ message: z.ZodOptional<z.ZodString>;
45
+ }, z.core.$strip>;
46
+ declare const TransactionStatusSchema: z.ZodObject<{
47
+ signature: z.ZodString;
48
+ status: z.ZodUnion<readonly [z.ZodLiteral<"pending">, z.ZodLiteral<"confirmed">, z.ZodLiteral<"failed">, z.ZodLiteral<"expired">, z.ZodLiteral<"partial">]>;
49
+ transaction: z.ZodOptional<z.ZodUnknown>;
50
+ }, z.core.$strip>;
51
+ declare const BatchStatusOutputSchema: z.ZodObject<{
52
+ batchId: z.ZodString;
53
+ status: z.ZodUnion<readonly [z.ZodLiteral<"pending">, z.ZodLiteral<"confirmed">, z.ZodLiteral<"failed">, z.ZodLiteral<"expired">, z.ZodLiteral<"partial">]>;
54
+ submissionType: z.ZodUnion<readonly [z.ZodLiteral<"single">, z.ZodLiteral<"parallel">, z.ZodLiteral<"sequential">, z.ZodLiteral<"jito_bundle">]>;
55
+ parallel: z.ZodBoolean;
56
+ transactions: z.ZodArray<z.ZodObject<{
57
+ signature: z.ZodString;
58
+ status: z.ZodUnion<readonly [z.ZodLiteral<"pending">, z.ZodLiteral<"confirmed">, z.ZodLiteral<"failed">, z.ZodLiteral<"expired">, z.ZodLiteral<"partial">]>;
59
+ transaction: z.ZodOptional<z.ZodUnknown>;
60
+ }, z.core.$strip>>;
61
+ jitoBundleId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
62
+ jitoBundleStatus: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
63
+ }, z.core.$strip>;
64
+ declare const ResubmitOutputSchema: z.ZodObject<{
65
+ success: z.ZodBoolean;
66
+ message: z.ZodString;
67
+ error: z.ZodOptional<z.ZodString>;
68
+ newSignatures: z.ZodOptional<z.ZodArray<z.ZodString>>;
69
+ }, z.core.$strip>;
70
+ declare const PayerBatchSummarySchema: z.ZodObject<{
71
+ batchId: z.ZodString;
72
+ tag: z.ZodOptional<z.ZodString>;
73
+ status: z.ZodString;
74
+ submissionType: z.ZodString;
75
+ parallel: z.ZodBoolean;
76
+ createdAt: z.ZodString;
77
+ updatedAt: z.ZodString;
78
+ transactions: z.ZodArray<z.ZodObject<{
79
+ metadata: z.ZodOptional<z.ZodObject<{
80
+ type: z.ZodString;
81
+ description: z.ZodString;
82
+ }, z.core.$catchall<z.ZodUnknown>>>;
83
+ }, z.core.$strip>>;
84
+ }, z.core.$strip>;
85
+ declare const PayerBatchesOutputSchema: z.ZodObject<{
86
+ payer: z.ZodString;
87
+ batches: z.ZodArray<z.ZodObject<{
88
+ batchId: z.ZodString;
89
+ tag: z.ZodOptional<z.ZodString>;
90
+ status: z.ZodString;
91
+ submissionType: z.ZodString;
92
+ parallel: z.ZodBoolean;
93
+ createdAt: z.ZodString;
94
+ updatedAt: z.ZodString;
95
+ transactions: z.ZodArray<z.ZodObject<{
96
+ metadata: z.ZodOptional<z.ZodObject<{
97
+ type: z.ZodString;
98
+ description: z.ZodString;
99
+ }, z.core.$catchall<z.ZodUnknown>>>;
100
+ }, z.core.$strip>>;
101
+ }, z.core.$strip>>;
102
+ pagination: z.ZodObject<{
103
+ page: z.ZodNumber;
104
+ limit: z.ZodNumber;
105
+ total: z.ZodNumber;
106
+ totalPages: z.ZodNumber;
107
+ }, z.core.$strip>;
108
+ }, z.core.$strip>;
109
+ type SubmitInput = z.infer<typeof SubmitInputSchema>;
110
+ type GetInput = z.infer<typeof GetInputSchema>;
111
+ type ResubmitInput = z.infer<typeof ResubmitInputSchema>;
112
+ type GetByPayerInput = z.infer<typeof GetByPayerInputSchema>;
113
+ type GetByPayerAndTagInput = z.infer<typeof GetByPayerAndTagInputSchema>;
114
+ type SubmitOutput = z.infer<typeof SubmitOutputSchema>;
115
+ type BatchStatusOutput = z.infer<typeof BatchStatusOutputSchema>;
116
+ type ResubmitOutput = z.infer<typeof ResubmitOutputSchema>;
117
+ type PayerBatchesOutput = z.infer<typeof PayerBatchesOutputSchema>;
118
+ type TransactionStatus = z.infer<typeof TransactionStatusSchema>;
119
+ type PayerBatchSummary = z.infer<typeof PayerBatchSummarySchema>;
120
+ declare const EstimateInputSchema: z.ZodObject<{
121
+ transactions: z.ZodArray<z.ZodObject<{
122
+ serializedTransaction: z.ZodString;
123
+ metadata: z.ZodOptional<z.ZodObject<{
124
+ type: z.ZodString;
125
+ description: z.ZodString;
126
+ }, z.core.$catchall<z.ZodUnknown>>>;
127
+ }, z.core.$strip>>;
128
+ parallel: z.ZodBoolean;
129
+ tag: z.ZodOptional<z.ZodString>;
130
+ simulationCommitment: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
131
+ confirmed: "confirmed";
132
+ finalized: "finalized";
133
+ }>>>;
134
+ }, z.core.$strip>;
135
+ declare const EstimateOutputSchema: z.ZodObject<{
136
+ totalSol: z.ZodObject<{
137
+ amount: z.ZodString;
138
+ decimals: z.ZodNumber;
139
+ uiAmount: z.ZodNullable<z.ZodNumber>;
140
+ uiAmountString: z.ZodString;
141
+ mint: z.ZodString;
142
+ }, z.core.$strip>;
143
+ breakdown: z.ZodObject<{
144
+ transactionFees: z.ZodObject<{
145
+ amount: z.ZodString;
146
+ decimals: z.ZodNumber;
147
+ uiAmount: z.ZodNullable<z.ZodNumber>;
148
+ uiAmountString: z.ZodString;
149
+ mint: z.ZodString;
150
+ }, z.core.$strip>;
151
+ rent: z.ZodObject<{
152
+ amount: z.ZodString;
153
+ decimals: z.ZodNumber;
154
+ uiAmount: z.ZodNullable<z.ZodNumber>;
155
+ uiAmountString: z.ZodString;
156
+ mint: z.ZodString;
157
+ }, z.core.$strip>;
158
+ tokenTransfers: z.ZodArray<z.ZodObject<{
159
+ amount: z.ZodString;
160
+ decimals: z.ZodNumber;
161
+ uiAmount: z.ZodNullable<z.ZodNumber>;
162
+ uiAmountString: z.ZodString;
163
+ mint: z.ZodString;
164
+ }, z.core.$strip>>;
165
+ }, z.core.$strip>;
166
+ transactions: z.ZodArray<z.ZodObject<{
167
+ index: z.ZodNumber;
168
+ computeUnits: z.ZodNumber;
169
+ success: z.ZodBoolean;
170
+ error: z.ZodOptional<z.ZodString>;
171
+ logs: z.ZodOptional<z.ZodArray<z.ZodString>>;
172
+ costs: z.ZodObject<{
173
+ transactionFees: z.ZodObject<{
174
+ amount: z.ZodString;
175
+ decimals: z.ZodNumber;
176
+ uiAmount: z.ZodNullable<z.ZodNumber>;
177
+ uiAmountString: z.ZodString;
178
+ mint: z.ZodString;
179
+ }, z.core.$strip>;
180
+ rent: z.ZodObject<{
181
+ amount: z.ZodString;
182
+ decimals: z.ZodNumber;
183
+ uiAmount: z.ZodNullable<z.ZodNumber>;
184
+ uiAmountString: z.ZodString;
185
+ mint: z.ZodString;
186
+ }, z.core.$strip>;
187
+ tokenTransfers: z.ZodArray<z.ZodObject<{
188
+ amount: z.ZodString;
189
+ decimals: z.ZodNumber;
190
+ uiAmount: z.ZodNullable<z.ZodNumber>;
191
+ uiAmountString: z.ZodString;
192
+ mint: z.ZodString;
193
+ }, z.core.$strip>>;
194
+ }, z.core.$strip>;
195
+ }, z.core.$strip>>;
196
+ }, z.core.$strip>;
197
+ type EstimateInput = z.infer<typeof EstimateInputSchema>;
198
+ type EstimateOutput = z.infer<typeof EstimateOutputSchema>;
199
+
200
+ export { type BatchStatusOutput, BatchStatusOutputSchema, type EstimateInput, EstimateInputSchema, type EstimateOutput, EstimateOutputSchema, type GetByPayerAndTagInput, GetByPayerAndTagInputSchema, type GetByPayerInput, GetByPayerInputSchema, type GetInput, GetInputSchema, type PayerBatchSummary, PayerBatchSummarySchema, type PayerBatchesOutput, PayerBatchesOutputSchema, type ResubmitInput, ResubmitInputSchema, type ResubmitOutput, ResubmitOutputSchema, type SubmitInput, SubmitInputSchema, type SubmitOutput, SubmitOutputSchema, type TransactionStatus, TransactionStatusSchema };
@@ -0,0 +1,2 @@
1
+ export { BatchStatusOutputSchema, EstimateInputSchema, EstimateOutputSchema, GetByPayerAndTagInputSchema, GetByPayerInputSchema, GetInputSchema, PayerBatchSummarySchema, PayerBatchesOutputSchema, ResubmitInputSchema, ResubmitOutputSchema, SubmitInputSchema, SubmitOutputSchema, TransactionStatusSchema } from '../chunk-7R4XQ5SN.js';
2
+ import '../chunk-YVB4ENKX.js';
@@ -0,0 +1,17 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const BridgeWebhookInputSchema: z.ZodObject<{
4
+ type: z.ZodString;
5
+ kyc_link_id: z.ZodOptional<z.ZodString>;
6
+ kyc_status: z.ZodOptional<z.ZodString>;
7
+ tos_status: z.ZodOptional<z.ZodString>;
8
+ customer_id: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const BridgeWebhookOutputSchema: z.ZodObject<{
11
+ success: z.ZodBoolean;
12
+ error: z.ZodOptional<z.ZodString>;
13
+ }, z.core.$strip>;
14
+ type BridgeWebhookInput = z.infer<typeof BridgeWebhookInputSchema>;
15
+ type BridgeWebhookOutput = z.infer<typeof BridgeWebhookOutputSchema>;
16
+
17
+ export { type BridgeWebhookInput, BridgeWebhookInputSchema, type BridgeWebhookOutput, BridgeWebhookOutputSchema };
@@ -0,0 +1 @@
1
+ export { BridgeWebhookInputSchema, BridgeWebhookOutputSchema } from '../chunk-7CTJX35S.js';