@polygonlabs/staker-pool-allocations-schemas 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/MIGRATION.md +5 -0
- package/dist/allocation-history.d.ts +30 -0
- package/dist/allocation-history.d.ts.map +1 -0
- package/dist/allocation-history.js +29 -0
- package/dist/allocation-history.js.map +1 -0
- package/dist/allocation.d.ts +31 -0
- package/dist/allocation.d.ts.map +1 -0
- package/dist/allocation.js +40 -0
- package/dist/allocation.js.map +1 -0
- package/dist/codegen.d.ts +6 -0
- package/dist/codegen.d.ts.map +1 -0
- package/dist/codegen.js +32 -0
- package/dist/codegen.js.map +1 -0
- package/dist/common.d.ts +19 -0
- package/dist/common.d.ts.map +1 -0
- package/dist/common.js +63 -0
- package/dist/common.js.map +1 -0
- package/dist/distribution.d.ts +60 -0
- package/dist/distribution.d.ts.map +1 -0
- package/dist/distribution.js +43 -0
- package/dist/distribution.js.map +1 -0
- package/dist/error.d.ts +10 -0
- package/dist/error.d.ts.map +1 -0
- package/dist/error.js +15 -0
- package/dist/error.js.map +1 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +17 -0
- package/dist/index.js.map +1 -0
- package/dist/management.d.ts +80 -0
- package/dist/management.d.ts.map +1 -0
- package/dist/management.js +126 -0
- package/dist/management.js.map +1 -0
- package/dist/proof.d.ts +10 -0
- package/dist/proof.d.ts.map +1 -0
- package/dist/proof.js +25 -0
- package/dist/proof.js.map +1 -0
- package/dist/registry-management.d.ts +525 -0
- package/dist/registry-management.d.ts.map +1 -0
- package/dist/registry-management.js +33 -0
- package/dist/registry-management.js.map +1 -0
- package/dist/registry-public.d.ts +1323 -0
- package/dist/registry-public.d.ts.map +1 -0
- package/dist/registry-public.js +31 -0
- package/dist/registry-public.js.map +1 -0
- package/dist/routes-management/distributions.d.ts +137 -0
- package/dist/routes-management/distributions.d.ts.map +1 -0
- package/dist/routes-management/distributions.js +72 -0
- package/dist/routes-management/distributions.js.map +1 -0
- package/dist/routes-management/excluded-addresses.d.ts +132 -0
- package/dist/routes-management/excluded-addresses.d.ts.map +1 -0
- package/dist/routes-management/excluded-addresses.js +84 -0
- package/dist/routes-management/excluded-addresses.js.map +1 -0
- package/dist/routes-management/operational.d.ts +48 -0
- package/dist/routes-management/operational.d.ts.map +1 -0
- package/dist/routes-management/operational.js +47 -0
- package/dist/routes-management/operational.js.map +1 -0
- package/dist/routes-public/addresses.d.ts +79 -0
- package/dist/routes-public/addresses.d.ts.map +1 -0
- package/dist/routes-public/addresses.js +45 -0
- package/dist/routes-public/addresses.js.map +1 -0
- package/dist/routes-public/allocations.d.ts +155 -0
- package/dist/routes-public/allocations.d.ts.map +1 -0
- package/dist/routes-public/allocations.js +81 -0
- package/dist/routes-public/allocations.js.map +1 -0
- package/dist/routes-public/distributions.d.ts +123 -0
- package/dist/routes-public/distributions.d.ts.map +1 -0
- package/dist/routes-public/distributions.js +55 -0
- package/dist/routes-public/distributions.js.map +1 -0
- package/dist/routes-public/operational.d.ts +46 -0
- package/dist/routes-public/operational.d.ts.map +1 -0
- package/dist/routes-public/operational.js +36 -0
- package/dist/routes-public/operational.js.map +1 -0
- package/dist/routes-public/proofs.d.ts +50 -0
- package/dist/routes-public/proofs.d.ts.map +1 -0
- package/dist/routes-public/proofs.js +34 -0
- package/dist/routes-public/proofs.js.map +1 -0
- package/dist/routes-public/wire.d.ts +60 -0
- package/dist/routes-public/wire.d.ts.map +1 -0
- package/dist/routes-public/wire.js +62 -0
- package/dist/routes-public/wire.js.map +1 -0
- package/dist/tsconfig.lib.tsbuildinfo +1 -0
- package/dist/unclaimed-proofs.d.ts +20 -0
- package/dist/unclaimed-proofs.d.ts.map +1 -0
- package/dist/unclaimed-proofs.js +22 -0
- package/dist/unclaimed-proofs.js.map +1 -0
- package/dist/zod.d.ts +3 -0
- package/dist/zod.d.ts.map +1 -0
- package/dist/zod.js +8 -0
- package/dist/zod.js.map +1 -0
- package/openapi.json +1215 -0
- package/package.json +49 -0
- package/src/allocation-history.ts +35 -0
- package/src/allocation.ts +51 -0
- package/src/codegen.ts +50 -0
- package/src/common.ts +76 -0
- package/src/distribution.ts +52 -0
- package/src/error.ts +17 -0
- package/src/index.ts +16 -0
- package/src/management.ts +158 -0
- package/src/proof.ts +27 -0
- package/src/registry-management.ts +36 -0
- package/src/registry-public.ts +33 -0
- package/src/routes-management/distributions.ts +87 -0
- package/src/routes-management/excluded-addresses.ts +103 -0
- package/src/routes-management/operational.ts +60 -0
- package/src/routes-public/addresses.ts +58 -0
- package/src/routes-public/allocations.ts +104 -0
- package/src/routes-public/distributions.ts +69 -0
- package/src/routes-public/operational.ts +55 -0
- package/src/routes-public/proofs.ts +46 -0
- package/src/routes-public/wire.ts +74 -0
- package/src/unclaimed-proofs.ts +27 -0
- package/src/zod.ts +9 -0
|
@@ -0,0 +1,1323 @@
|
|
|
1
|
+
import { TypedRegistry } from '@polygonlabs/openapi-registry';
|
|
2
|
+
export declare const buildPublicRegistry: () => TypedRegistry<{}, {}> & TypedRegistry<{
|
|
3
|
+
getHealthCheck: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
4
|
+
readonly operationId: "getHealthCheck";
|
|
5
|
+
readonly method: "get";
|
|
6
|
+
readonly path: "/health-check";
|
|
7
|
+
readonly summary: "Liveness check (K8s probe)";
|
|
8
|
+
readonly responses: {
|
|
9
|
+
readonly 200: {
|
|
10
|
+
readonly description: "Service is alive.";
|
|
11
|
+
readonly content: {
|
|
12
|
+
readonly 'application/json': {
|
|
13
|
+
readonly schema: import("zod").ZodObject<{
|
|
14
|
+
status: import("zod").ZodLiteral<"ok">;
|
|
15
|
+
}, import("zod/v4/core").$strip>;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
}>;
|
|
21
|
+
} & {
|
|
22
|
+
getReadiness: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
23
|
+
readonly operationId: "getReadiness";
|
|
24
|
+
readonly method: "get";
|
|
25
|
+
readonly path: "/readiness";
|
|
26
|
+
readonly summary: "Readiness check";
|
|
27
|
+
readonly description: string;
|
|
28
|
+
readonly responses: {
|
|
29
|
+
readonly 200: {
|
|
30
|
+
readonly description: "Service is ready.";
|
|
31
|
+
readonly content: {
|
|
32
|
+
readonly 'application/json': {
|
|
33
|
+
readonly schema: import("zod").ZodObject<{
|
|
34
|
+
status: import("zod").ZodLiteral<"ok">;
|
|
35
|
+
}, import("zod/v4/core").$strip>;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
}>;
|
|
41
|
+
}, {}> & TypedRegistry<{
|
|
42
|
+
getHealthCheck: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
43
|
+
readonly operationId: "getHealthCheck";
|
|
44
|
+
readonly method: "get";
|
|
45
|
+
readonly path: "/health-check";
|
|
46
|
+
readonly summary: "Liveness check (K8s probe)";
|
|
47
|
+
readonly responses: {
|
|
48
|
+
readonly 200: {
|
|
49
|
+
readonly description: "Service is alive.";
|
|
50
|
+
readonly content: {
|
|
51
|
+
readonly 'application/json': {
|
|
52
|
+
readonly schema: import("zod").ZodObject<{
|
|
53
|
+
status: import("zod").ZodLiteral<"ok">;
|
|
54
|
+
}, import("zod/v4/core").$strip>;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
}>;
|
|
60
|
+
} & {
|
|
61
|
+
getReadiness: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
62
|
+
readonly operationId: "getReadiness";
|
|
63
|
+
readonly method: "get";
|
|
64
|
+
readonly path: "/readiness";
|
|
65
|
+
readonly summary: "Readiness check";
|
|
66
|
+
readonly description: string;
|
|
67
|
+
readonly responses: {
|
|
68
|
+
readonly 200: {
|
|
69
|
+
readonly description: "Service is ready.";
|
|
70
|
+
readonly content: {
|
|
71
|
+
readonly 'application/json': {
|
|
72
|
+
readonly schema: import("zod").ZodObject<{
|
|
73
|
+
status: import("zod").ZodLiteral<"ok">;
|
|
74
|
+
}, import("zod/v4/core").$strip>;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
}>;
|
|
80
|
+
} & {
|
|
81
|
+
listDistributions: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
82
|
+
readonly operationId: "listDistributions";
|
|
83
|
+
readonly method: "get";
|
|
84
|
+
readonly path: "/v1/{network}/distributions";
|
|
85
|
+
readonly summary: "List completed distributions";
|
|
86
|
+
readonly description: string;
|
|
87
|
+
readonly request: {
|
|
88
|
+
readonly params: import("zod").ZodObject<{
|
|
89
|
+
network: import("zod").ZodEnum<{
|
|
90
|
+
mainnet: "mainnet";
|
|
91
|
+
amoy: "amoy";
|
|
92
|
+
}>;
|
|
93
|
+
}, import("zod/v4/core").$strip>;
|
|
94
|
+
readonly query: import("zod").ZodObject<{
|
|
95
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
96
|
+
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
97
|
+
}, import("zod/v4/core").$strip>;
|
|
98
|
+
};
|
|
99
|
+
readonly responses: {
|
|
100
|
+
readonly 200: {
|
|
101
|
+
readonly description: "Page of distribution summaries.";
|
|
102
|
+
readonly content: {
|
|
103
|
+
readonly 'application/json': {
|
|
104
|
+
readonly schema: import("zod").ZodObject<{
|
|
105
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
106
|
+
distributionId: import("zod").ZodString;
|
|
107
|
+
status: import("zod").ZodEnum<{
|
|
108
|
+
pending: "pending";
|
|
109
|
+
running: "running";
|
|
110
|
+
completed: "completed";
|
|
111
|
+
failed: "failed";
|
|
112
|
+
}>;
|
|
113
|
+
startPoSBlock: import("zod").ZodString;
|
|
114
|
+
endPoSBlock: import("zod").ZodString;
|
|
115
|
+
merkleRoot: import("zod").ZodNullable<import("zod").ZodString>;
|
|
116
|
+
totalAllocated: import("zod").ZodNullable<import("zod").ZodString>;
|
|
117
|
+
completedAt: import("zod").ZodNullable<import("zod").ZodISODateTime>;
|
|
118
|
+
}, import("zod/v4/core").$strip>>;
|
|
119
|
+
nextCursor: import("zod").ZodNullable<import("zod").ZodString>;
|
|
120
|
+
}, import("zod/v4/core").$strip>;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
readonly 400: {
|
|
125
|
+
readonly description: string;
|
|
126
|
+
readonly content: {
|
|
127
|
+
readonly 'application/json': {
|
|
128
|
+
readonly schema: import("zod").ZodObject<{
|
|
129
|
+
error: import("zod").ZodLiteral<true>;
|
|
130
|
+
message: import("zod").ZodString;
|
|
131
|
+
info: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
132
|
+
}, import("zod/v4/core").$strip>;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
}>;
|
|
138
|
+
} & {
|
|
139
|
+
getDistribution: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
140
|
+
readonly operationId: "getDistribution";
|
|
141
|
+
readonly method: "get";
|
|
142
|
+
readonly path: "/v1/{network}/distributions/{distributionId}";
|
|
143
|
+
readonly summary: "Get a single completed distribution";
|
|
144
|
+
readonly request: {
|
|
145
|
+
readonly params: import("zod").ZodObject<{
|
|
146
|
+
network: import("zod").ZodEnum<{
|
|
147
|
+
mainnet: "mainnet";
|
|
148
|
+
amoy: "amoy";
|
|
149
|
+
}>;
|
|
150
|
+
distributionId: import("zod").ZodString;
|
|
151
|
+
}, import("zod/v4/core").$strip>;
|
|
152
|
+
};
|
|
153
|
+
readonly responses: {
|
|
154
|
+
readonly 200: {
|
|
155
|
+
readonly description: "Distribution detail.";
|
|
156
|
+
readonly content: {
|
|
157
|
+
readonly 'application/json': {
|
|
158
|
+
readonly schema: import("zod").ZodObject<{
|
|
159
|
+
distributionId: import("zod").ZodString;
|
|
160
|
+
status: import("zod").ZodEnum<{
|
|
161
|
+
pending: "pending";
|
|
162
|
+
running: "running";
|
|
163
|
+
completed: "completed";
|
|
164
|
+
failed: "failed";
|
|
165
|
+
}>;
|
|
166
|
+
startPoSBlock: import("zod").ZodString;
|
|
167
|
+
endPoSBlock: import("zod").ZodString;
|
|
168
|
+
merkleRoot: import("zod").ZodNullable<import("zod").ZodString>;
|
|
169
|
+
totalAllocated: import("zod").ZodNullable<import("zod").ZodString>;
|
|
170
|
+
completedAt: import("zod").ZodNullable<import("zod").ZodISODateTime>;
|
|
171
|
+
checkpointCount: import("zod").ZodNumber;
|
|
172
|
+
polUsdPrice: import("zod").ZodNullable<import("zod").ZodString>;
|
|
173
|
+
maxClaimableUsdThreshold: import("zod").ZodNullable<import("zod").ZodString>;
|
|
174
|
+
inputsHash: import("zod").ZodNullable<import("zod").ZodString>;
|
|
175
|
+
posStakingSubgraphBlock: import("zod").ZodNullable<import("zod").ZodString>;
|
|
176
|
+
posStakingSubgraphHash: import("zod").ZodNullable<import("zod").ZodString>;
|
|
177
|
+
posCheckpointsSubgraphBlock: import("zod").ZodNullable<import("zod").ZodString>;
|
|
178
|
+
posCheckpointsSubgraphHash: import("zod").ZodNullable<import("zod").ZodString>;
|
|
179
|
+
posPriorityFeesSubgraphBlock: import("zod").ZodNullable<import("zod").ZodString>;
|
|
180
|
+
posPriorityFeesSubgraphHash: import("zod").ZodNullable<import("zod").ZodString>;
|
|
181
|
+
}, import("zod/v4/core").$strip>;
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
readonly 404: {
|
|
186
|
+
readonly description: "Distribution not found or not yet completed.";
|
|
187
|
+
readonly content: {
|
|
188
|
+
readonly 'application/json': {
|
|
189
|
+
readonly schema: import("zod").ZodObject<{
|
|
190
|
+
error: import("zod").ZodLiteral<true>;
|
|
191
|
+
message: import("zod").ZodString;
|
|
192
|
+
info: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
193
|
+
}, import("zod/v4/core").$strip>;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
}>;
|
|
199
|
+
}, {}> & TypedRegistry<{
|
|
200
|
+
getHealthCheck: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
201
|
+
readonly operationId: "getHealthCheck";
|
|
202
|
+
readonly method: "get";
|
|
203
|
+
readonly path: "/health-check";
|
|
204
|
+
readonly summary: "Liveness check (K8s probe)";
|
|
205
|
+
readonly responses: {
|
|
206
|
+
readonly 200: {
|
|
207
|
+
readonly description: "Service is alive.";
|
|
208
|
+
readonly content: {
|
|
209
|
+
readonly 'application/json': {
|
|
210
|
+
readonly schema: import("zod").ZodObject<{
|
|
211
|
+
status: import("zod").ZodLiteral<"ok">;
|
|
212
|
+
}, import("zod/v4/core").$strip>;
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
}>;
|
|
218
|
+
} & {
|
|
219
|
+
getReadiness: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
220
|
+
readonly operationId: "getReadiness";
|
|
221
|
+
readonly method: "get";
|
|
222
|
+
readonly path: "/readiness";
|
|
223
|
+
readonly summary: "Readiness check";
|
|
224
|
+
readonly description: string;
|
|
225
|
+
readonly responses: {
|
|
226
|
+
readonly 200: {
|
|
227
|
+
readonly description: "Service is ready.";
|
|
228
|
+
readonly content: {
|
|
229
|
+
readonly 'application/json': {
|
|
230
|
+
readonly schema: import("zod").ZodObject<{
|
|
231
|
+
status: import("zod").ZodLiteral<"ok">;
|
|
232
|
+
}, import("zod/v4/core").$strip>;
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
}>;
|
|
238
|
+
} & {
|
|
239
|
+
listDistributions: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
240
|
+
readonly operationId: "listDistributions";
|
|
241
|
+
readonly method: "get";
|
|
242
|
+
readonly path: "/v1/{network}/distributions";
|
|
243
|
+
readonly summary: "List completed distributions";
|
|
244
|
+
readonly description: string;
|
|
245
|
+
readonly request: {
|
|
246
|
+
readonly params: import("zod").ZodObject<{
|
|
247
|
+
network: import("zod").ZodEnum<{
|
|
248
|
+
mainnet: "mainnet";
|
|
249
|
+
amoy: "amoy";
|
|
250
|
+
}>;
|
|
251
|
+
}, import("zod/v4/core").$strip>;
|
|
252
|
+
readonly query: import("zod").ZodObject<{
|
|
253
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
254
|
+
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
255
|
+
}, import("zod/v4/core").$strip>;
|
|
256
|
+
};
|
|
257
|
+
readonly responses: {
|
|
258
|
+
readonly 200: {
|
|
259
|
+
readonly description: "Page of distribution summaries.";
|
|
260
|
+
readonly content: {
|
|
261
|
+
readonly 'application/json': {
|
|
262
|
+
readonly schema: import("zod").ZodObject<{
|
|
263
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
264
|
+
distributionId: import("zod").ZodString;
|
|
265
|
+
status: import("zod").ZodEnum<{
|
|
266
|
+
pending: "pending";
|
|
267
|
+
running: "running";
|
|
268
|
+
completed: "completed";
|
|
269
|
+
failed: "failed";
|
|
270
|
+
}>;
|
|
271
|
+
startPoSBlock: import("zod").ZodString;
|
|
272
|
+
endPoSBlock: import("zod").ZodString;
|
|
273
|
+
merkleRoot: import("zod").ZodNullable<import("zod").ZodString>;
|
|
274
|
+
totalAllocated: import("zod").ZodNullable<import("zod").ZodString>;
|
|
275
|
+
completedAt: import("zod").ZodNullable<import("zod").ZodISODateTime>;
|
|
276
|
+
}, import("zod/v4/core").$strip>>;
|
|
277
|
+
nextCursor: import("zod").ZodNullable<import("zod").ZodString>;
|
|
278
|
+
}, import("zod/v4/core").$strip>;
|
|
279
|
+
};
|
|
280
|
+
};
|
|
281
|
+
};
|
|
282
|
+
readonly 400: {
|
|
283
|
+
readonly description: string;
|
|
284
|
+
readonly content: {
|
|
285
|
+
readonly 'application/json': {
|
|
286
|
+
readonly schema: import("zod").ZodObject<{
|
|
287
|
+
error: import("zod").ZodLiteral<true>;
|
|
288
|
+
message: import("zod").ZodString;
|
|
289
|
+
info: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
290
|
+
}, import("zod/v4/core").$strip>;
|
|
291
|
+
};
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
}>;
|
|
296
|
+
} & {
|
|
297
|
+
getDistribution: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
298
|
+
readonly operationId: "getDistribution";
|
|
299
|
+
readonly method: "get";
|
|
300
|
+
readonly path: "/v1/{network}/distributions/{distributionId}";
|
|
301
|
+
readonly summary: "Get a single completed distribution";
|
|
302
|
+
readonly request: {
|
|
303
|
+
readonly params: import("zod").ZodObject<{
|
|
304
|
+
network: import("zod").ZodEnum<{
|
|
305
|
+
mainnet: "mainnet";
|
|
306
|
+
amoy: "amoy";
|
|
307
|
+
}>;
|
|
308
|
+
distributionId: import("zod").ZodString;
|
|
309
|
+
}, import("zod/v4/core").$strip>;
|
|
310
|
+
};
|
|
311
|
+
readonly responses: {
|
|
312
|
+
readonly 200: {
|
|
313
|
+
readonly description: "Distribution detail.";
|
|
314
|
+
readonly content: {
|
|
315
|
+
readonly 'application/json': {
|
|
316
|
+
readonly schema: import("zod").ZodObject<{
|
|
317
|
+
distributionId: import("zod").ZodString;
|
|
318
|
+
status: import("zod").ZodEnum<{
|
|
319
|
+
pending: "pending";
|
|
320
|
+
running: "running";
|
|
321
|
+
completed: "completed";
|
|
322
|
+
failed: "failed";
|
|
323
|
+
}>;
|
|
324
|
+
startPoSBlock: import("zod").ZodString;
|
|
325
|
+
endPoSBlock: import("zod").ZodString;
|
|
326
|
+
merkleRoot: import("zod").ZodNullable<import("zod").ZodString>;
|
|
327
|
+
totalAllocated: import("zod").ZodNullable<import("zod").ZodString>;
|
|
328
|
+
completedAt: import("zod").ZodNullable<import("zod").ZodISODateTime>;
|
|
329
|
+
checkpointCount: import("zod").ZodNumber;
|
|
330
|
+
polUsdPrice: import("zod").ZodNullable<import("zod").ZodString>;
|
|
331
|
+
maxClaimableUsdThreshold: import("zod").ZodNullable<import("zod").ZodString>;
|
|
332
|
+
inputsHash: import("zod").ZodNullable<import("zod").ZodString>;
|
|
333
|
+
posStakingSubgraphBlock: import("zod").ZodNullable<import("zod").ZodString>;
|
|
334
|
+
posStakingSubgraphHash: import("zod").ZodNullable<import("zod").ZodString>;
|
|
335
|
+
posCheckpointsSubgraphBlock: import("zod").ZodNullable<import("zod").ZodString>;
|
|
336
|
+
posCheckpointsSubgraphHash: import("zod").ZodNullable<import("zod").ZodString>;
|
|
337
|
+
posPriorityFeesSubgraphBlock: import("zod").ZodNullable<import("zod").ZodString>;
|
|
338
|
+
posPriorityFeesSubgraphHash: import("zod").ZodNullable<import("zod").ZodString>;
|
|
339
|
+
}, import("zod/v4/core").$strip>;
|
|
340
|
+
};
|
|
341
|
+
};
|
|
342
|
+
};
|
|
343
|
+
readonly 404: {
|
|
344
|
+
readonly description: "Distribution not found or not yet completed.";
|
|
345
|
+
readonly content: {
|
|
346
|
+
readonly 'application/json': {
|
|
347
|
+
readonly schema: import("zod").ZodObject<{
|
|
348
|
+
error: import("zod").ZodLiteral<true>;
|
|
349
|
+
message: import("zod").ZodString;
|
|
350
|
+
info: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
351
|
+
}, import("zod/v4/core").$strip>;
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
};
|
|
355
|
+
};
|
|
356
|
+
}>;
|
|
357
|
+
} & {
|
|
358
|
+
listAllocations: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
359
|
+
readonly operationId: "listAllocations";
|
|
360
|
+
readonly method: "get";
|
|
361
|
+
readonly path: "/v1/{network}/distributions/{distributionId}/allocations";
|
|
362
|
+
readonly summary: "List allocations for a completed distribution";
|
|
363
|
+
readonly description: "Paginated by `leafIndex` ascending.";
|
|
364
|
+
readonly request: {
|
|
365
|
+
readonly params: import("zod").ZodObject<{
|
|
366
|
+
network: import("zod").ZodEnum<{
|
|
367
|
+
mainnet: "mainnet";
|
|
368
|
+
amoy: "amoy";
|
|
369
|
+
}>;
|
|
370
|
+
distributionId: import("zod").ZodString;
|
|
371
|
+
}, import("zod/v4/core").$strip>;
|
|
372
|
+
readonly query: import("zod").ZodObject<{
|
|
373
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
374
|
+
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
375
|
+
}, import("zod/v4/core").$strip>;
|
|
376
|
+
};
|
|
377
|
+
readonly responses: {
|
|
378
|
+
readonly 200: {
|
|
379
|
+
readonly description: "Page of allocation rows.";
|
|
380
|
+
readonly content: {
|
|
381
|
+
readonly 'application/json': {
|
|
382
|
+
readonly schema: import("zod").ZodObject<{
|
|
383
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
384
|
+
address: import("zod").ZodString;
|
|
385
|
+
amount: import("zod").ZodString;
|
|
386
|
+
leafIndex: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
387
|
+
}, import("zod/v4/core").$strip>>;
|
|
388
|
+
nextCursor: import("zod").ZodNullable<import("zod").ZodString>;
|
|
389
|
+
}, import("zod/v4/core").$strip>;
|
|
390
|
+
};
|
|
391
|
+
};
|
|
392
|
+
};
|
|
393
|
+
readonly 400: {
|
|
394
|
+
readonly description: string;
|
|
395
|
+
readonly content: {
|
|
396
|
+
readonly 'application/json': {
|
|
397
|
+
readonly schema: import("zod").ZodObject<{
|
|
398
|
+
error: import("zod").ZodLiteral<true>;
|
|
399
|
+
message: import("zod").ZodString;
|
|
400
|
+
info: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
401
|
+
}, import("zod/v4/core").$strip>;
|
|
402
|
+
};
|
|
403
|
+
};
|
|
404
|
+
};
|
|
405
|
+
readonly 404: {
|
|
406
|
+
readonly description: "Distribution not found or not yet completed.";
|
|
407
|
+
readonly content: {
|
|
408
|
+
readonly 'application/json': {
|
|
409
|
+
readonly schema: import("zod").ZodObject<{
|
|
410
|
+
error: import("zod").ZodLiteral<true>;
|
|
411
|
+
message: import("zod").ZodString;
|
|
412
|
+
info: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
413
|
+
}, import("zod/v4/core").$strip>;
|
|
414
|
+
};
|
|
415
|
+
};
|
|
416
|
+
};
|
|
417
|
+
};
|
|
418
|
+
}>;
|
|
419
|
+
} & {
|
|
420
|
+
listExcludedAllocations: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
421
|
+
readonly operationId: "listExcludedAllocations";
|
|
422
|
+
readonly method: "get";
|
|
423
|
+
readonly path: "/v1/{network}/distributions/{distributionId}/excluded-allocations";
|
|
424
|
+
readonly summary: "List off-chain (merkle-excluded) allocations for a distribution";
|
|
425
|
+
readonly description: string;
|
|
426
|
+
readonly request: {
|
|
427
|
+
readonly params: import("zod").ZodObject<{
|
|
428
|
+
network: import("zod").ZodEnum<{
|
|
429
|
+
mainnet: "mainnet";
|
|
430
|
+
amoy: "amoy";
|
|
431
|
+
}>;
|
|
432
|
+
distributionId: import("zod").ZodString;
|
|
433
|
+
}, import("zod/v4/core").$strip>;
|
|
434
|
+
};
|
|
435
|
+
readonly responses: {
|
|
436
|
+
readonly 200: {
|
|
437
|
+
readonly description: "The off-chain allocation set.";
|
|
438
|
+
readonly content: {
|
|
439
|
+
readonly 'application/json': {
|
|
440
|
+
readonly schema: import("zod").ZodObject<{
|
|
441
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
442
|
+
address: import("zod").ZodString;
|
|
443
|
+
amount: import("zod").ZodString;
|
|
444
|
+
}, import("zod/v4/core").$strip>>;
|
|
445
|
+
total: import("zod").ZodNumber;
|
|
446
|
+
totalAmount: import("zod").ZodString;
|
|
447
|
+
}, import("zod/v4/core").$strip>;
|
|
448
|
+
};
|
|
449
|
+
};
|
|
450
|
+
};
|
|
451
|
+
readonly 404: {
|
|
452
|
+
readonly description: "Distribution not found or not yet completed.";
|
|
453
|
+
readonly content: {
|
|
454
|
+
readonly 'application/json': {
|
|
455
|
+
readonly schema: import("zod").ZodObject<{
|
|
456
|
+
error: import("zod").ZodLiteral<true>;
|
|
457
|
+
message: import("zod").ZodString;
|
|
458
|
+
info: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
459
|
+
}, import("zod/v4/core").$strip>;
|
|
460
|
+
};
|
|
461
|
+
};
|
|
462
|
+
};
|
|
463
|
+
};
|
|
464
|
+
}>;
|
|
465
|
+
} & {
|
|
466
|
+
getAllocation: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
467
|
+
readonly operationId: "getAllocation";
|
|
468
|
+
readonly method: "get";
|
|
469
|
+
readonly path: "/v1/{network}/distributions/{distributionId}/allocations/{address}";
|
|
470
|
+
readonly summary: "Get a single address allocation in a distribution";
|
|
471
|
+
readonly request: {
|
|
472
|
+
readonly params: import("zod").ZodObject<{
|
|
473
|
+
network: import("zod").ZodEnum<{
|
|
474
|
+
mainnet: "mainnet";
|
|
475
|
+
amoy: "amoy";
|
|
476
|
+
}>;
|
|
477
|
+
distributionId: import("zod").ZodString;
|
|
478
|
+
address: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
|
|
479
|
+
}, import("zod/v4/core").$strip>;
|
|
480
|
+
};
|
|
481
|
+
readonly responses: {
|
|
482
|
+
readonly 200: {
|
|
483
|
+
readonly description: "Allocation row.";
|
|
484
|
+
readonly content: {
|
|
485
|
+
readonly 'application/json': {
|
|
486
|
+
readonly schema: import("zod").ZodObject<{
|
|
487
|
+
address: import("zod").ZodString;
|
|
488
|
+
amount: import("zod").ZodString;
|
|
489
|
+
leafIndex: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
490
|
+
}, import("zod/v4/core").$strip>;
|
|
491
|
+
};
|
|
492
|
+
};
|
|
493
|
+
};
|
|
494
|
+
readonly 404: {
|
|
495
|
+
readonly description: "Distribution or allocation not found.";
|
|
496
|
+
readonly content: {
|
|
497
|
+
readonly 'application/json': {
|
|
498
|
+
readonly schema: import("zod").ZodObject<{
|
|
499
|
+
error: import("zod").ZodLiteral<true>;
|
|
500
|
+
message: import("zod").ZodString;
|
|
501
|
+
info: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
502
|
+
}, import("zod/v4/core").$strip>;
|
|
503
|
+
};
|
|
504
|
+
};
|
|
505
|
+
};
|
|
506
|
+
};
|
|
507
|
+
}>;
|
|
508
|
+
}, {}> & TypedRegistry<{
|
|
509
|
+
getHealthCheck: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
510
|
+
readonly operationId: "getHealthCheck";
|
|
511
|
+
readonly method: "get";
|
|
512
|
+
readonly path: "/health-check";
|
|
513
|
+
readonly summary: "Liveness check (K8s probe)";
|
|
514
|
+
readonly responses: {
|
|
515
|
+
readonly 200: {
|
|
516
|
+
readonly description: "Service is alive.";
|
|
517
|
+
readonly content: {
|
|
518
|
+
readonly 'application/json': {
|
|
519
|
+
readonly schema: import("zod").ZodObject<{
|
|
520
|
+
status: import("zod").ZodLiteral<"ok">;
|
|
521
|
+
}, import("zod/v4/core").$strip>;
|
|
522
|
+
};
|
|
523
|
+
};
|
|
524
|
+
};
|
|
525
|
+
};
|
|
526
|
+
}>;
|
|
527
|
+
} & {
|
|
528
|
+
getReadiness: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
529
|
+
readonly operationId: "getReadiness";
|
|
530
|
+
readonly method: "get";
|
|
531
|
+
readonly path: "/readiness";
|
|
532
|
+
readonly summary: "Readiness check";
|
|
533
|
+
readonly description: string;
|
|
534
|
+
readonly responses: {
|
|
535
|
+
readonly 200: {
|
|
536
|
+
readonly description: "Service is ready.";
|
|
537
|
+
readonly content: {
|
|
538
|
+
readonly 'application/json': {
|
|
539
|
+
readonly schema: import("zod").ZodObject<{
|
|
540
|
+
status: import("zod").ZodLiteral<"ok">;
|
|
541
|
+
}, import("zod/v4/core").$strip>;
|
|
542
|
+
};
|
|
543
|
+
};
|
|
544
|
+
};
|
|
545
|
+
};
|
|
546
|
+
}>;
|
|
547
|
+
} & {
|
|
548
|
+
listDistributions: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
549
|
+
readonly operationId: "listDistributions";
|
|
550
|
+
readonly method: "get";
|
|
551
|
+
readonly path: "/v1/{network}/distributions";
|
|
552
|
+
readonly summary: "List completed distributions";
|
|
553
|
+
readonly description: string;
|
|
554
|
+
readonly request: {
|
|
555
|
+
readonly params: import("zod").ZodObject<{
|
|
556
|
+
network: import("zod").ZodEnum<{
|
|
557
|
+
mainnet: "mainnet";
|
|
558
|
+
amoy: "amoy";
|
|
559
|
+
}>;
|
|
560
|
+
}, import("zod/v4/core").$strip>;
|
|
561
|
+
readonly query: import("zod").ZodObject<{
|
|
562
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
563
|
+
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
564
|
+
}, import("zod/v4/core").$strip>;
|
|
565
|
+
};
|
|
566
|
+
readonly responses: {
|
|
567
|
+
readonly 200: {
|
|
568
|
+
readonly description: "Page of distribution summaries.";
|
|
569
|
+
readonly content: {
|
|
570
|
+
readonly 'application/json': {
|
|
571
|
+
readonly schema: import("zod").ZodObject<{
|
|
572
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
573
|
+
distributionId: import("zod").ZodString;
|
|
574
|
+
status: import("zod").ZodEnum<{
|
|
575
|
+
pending: "pending";
|
|
576
|
+
running: "running";
|
|
577
|
+
completed: "completed";
|
|
578
|
+
failed: "failed";
|
|
579
|
+
}>;
|
|
580
|
+
startPoSBlock: import("zod").ZodString;
|
|
581
|
+
endPoSBlock: import("zod").ZodString;
|
|
582
|
+
merkleRoot: import("zod").ZodNullable<import("zod").ZodString>;
|
|
583
|
+
totalAllocated: import("zod").ZodNullable<import("zod").ZodString>;
|
|
584
|
+
completedAt: import("zod").ZodNullable<import("zod").ZodISODateTime>;
|
|
585
|
+
}, import("zod/v4/core").$strip>>;
|
|
586
|
+
nextCursor: import("zod").ZodNullable<import("zod").ZodString>;
|
|
587
|
+
}, import("zod/v4/core").$strip>;
|
|
588
|
+
};
|
|
589
|
+
};
|
|
590
|
+
};
|
|
591
|
+
readonly 400: {
|
|
592
|
+
readonly description: string;
|
|
593
|
+
readonly content: {
|
|
594
|
+
readonly 'application/json': {
|
|
595
|
+
readonly schema: import("zod").ZodObject<{
|
|
596
|
+
error: import("zod").ZodLiteral<true>;
|
|
597
|
+
message: import("zod").ZodString;
|
|
598
|
+
info: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
599
|
+
}, import("zod/v4/core").$strip>;
|
|
600
|
+
};
|
|
601
|
+
};
|
|
602
|
+
};
|
|
603
|
+
};
|
|
604
|
+
}>;
|
|
605
|
+
} & {
|
|
606
|
+
getDistribution: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
607
|
+
readonly operationId: "getDistribution";
|
|
608
|
+
readonly method: "get";
|
|
609
|
+
readonly path: "/v1/{network}/distributions/{distributionId}";
|
|
610
|
+
readonly summary: "Get a single completed distribution";
|
|
611
|
+
readonly request: {
|
|
612
|
+
readonly params: import("zod").ZodObject<{
|
|
613
|
+
network: import("zod").ZodEnum<{
|
|
614
|
+
mainnet: "mainnet";
|
|
615
|
+
amoy: "amoy";
|
|
616
|
+
}>;
|
|
617
|
+
distributionId: import("zod").ZodString;
|
|
618
|
+
}, import("zod/v4/core").$strip>;
|
|
619
|
+
};
|
|
620
|
+
readonly responses: {
|
|
621
|
+
readonly 200: {
|
|
622
|
+
readonly description: "Distribution detail.";
|
|
623
|
+
readonly content: {
|
|
624
|
+
readonly 'application/json': {
|
|
625
|
+
readonly schema: import("zod").ZodObject<{
|
|
626
|
+
distributionId: import("zod").ZodString;
|
|
627
|
+
status: import("zod").ZodEnum<{
|
|
628
|
+
pending: "pending";
|
|
629
|
+
running: "running";
|
|
630
|
+
completed: "completed";
|
|
631
|
+
failed: "failed";
|
|
632
|
+
}>;
|
|
633
|
+
startPoSBlock: import("zod").ZodString;
|
|
634
|
+
endPoSBlock: import("zod").ZodString;
|
|
635
|
+
merkleRoot: import("zod").ZodNullable<import("zod").ZodString>;
|
|
636
|
+
totalAllocated: import("zod").ZodNullable<import("zod").ZodString>;
|
|
637
|
+
completedAt: import("zod").ZodNullable<import("zod").ZodISODateTime>;
|
|
638
|
+
checkpointCount: import("zod").ZodNumber;
|
|
639
|
+
polUsdPrice: import("zod").ZodNullable<import("zod").ZodString>;
|
|
640
|
+
maxClaimableUsdThreshold: import("zod").ZodNullable<import("zod").ZodString>;
|
|
641
|
+
inputsHash: import("zod").ZodNullable<import("zod").ZodString>;
|
|
642
|
+
posStakingSubgraphBlock: import("zod").ZodNullable<import("zod").ZodString>;
|
|
643
|
+
posStakingSubgraphHash: import("zod").ZodNullable<import("zod").ZodString>;
|
|
644
|
+
posCheckpointsSubgraphBlock: import("zod").ZodNullable<import("zod").ZodString>;
|
|
645
|
+
posCheckpointsSubgraphHash: import("zod").ZodNullable<import("zod").ZodString>;
|
|
646
|
+
posPriorityFeesSubgraphBlock: import("zod").ZodNullable<import("zod").ZodString>;
|
|
647
|
+
posPriorityFeesSubgraphHash: import("zod").ZodNullable<import("zod").ZodString>;
|
|
648
|
+
}, import("zod/v4/core").$strip>;
|
|
649
|
+
};
|
|
650
|
+
};
|
|
651
|
+
};
|
|
652
|
+
readonly 404: {
|
|
653
|
+
readonly description: "Distribution not found or not yet completed.";
|
|
654
|
+
readonly content: {
|
|
655
|
+
readonly 'application/json': {
|
|
656
|
+
readonly schema: import("zod").ZodObject<{
|
|
657
|
+
error: import("zod").ZodLiteral<true>;
|
|
658
|
+
message: import("zod").ZodString;
|
|
659
|
+
info: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
660
|
+
}, import("zod/v4/core").$strip>;
|
|
661
|
+
};
|
|
662
|
+
};
|
|
663
|
+
};
|
|
664
|
+
};
|
|
665
|
+
}>;
|
|
666
|
+
} & {
|
|
667
|
+
listAllocations: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
668
|
+
readonly operationId: "listAllocations";
|
|
669
|
+
readonly method: "get";
|
|
670
|
+
readonly path: "/v1/{network}/distributions/{distributionId}/allocations";
|
|
671
|
+
readonly summary: "List allocations for a completed distribution";
|
|
672
|
+
readonly description: "Paginated by `leafIndex` ascending.";
|
|
673
|
+
readonly request: {
|
|
674
|
+
readonly params: import("zod").ZodObject<{
|
|
675
|
+
network: import("zod").ZodEnum<{
|
|
676
|
+
mainnet: "mainnet";
|
|
677
|
+
amoy: "amoy";
|
|
678
|
+
}>;
|
|
679
|
+
distributionId: import("zod").ZodString;
|
|
680
|
+
}, import("zod/v4/core").$strip>;
|
|
681
|
+
readonly query: import("zod").ZodObject<{
|
|
682
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
683
|
+
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
684
|
+
}, import("zod/v4/core").$strip>;
|
|
685
|
+
};
|
|
686
|
+
readonly responses: {
|
|
687
|
+
readonly 200: {
|
|
688
|
+
readonly description: "Page of allocation rows.";
|
|
689
|
+
readonly content: {
|
|
690
|
+
readonly 'application/json': {
|
|
691
|
+
readonly schema: import("zod").ZodObject<{
|
|
692
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
693
|
+
address: import("zod").ZodString;
|
|
694
|
+
amount: import("zod").ZodString;
|
|
695
|
+
leafIndex: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
696
|
+
}, import("zod/v4/core").$strip>>;
|
|
697
|
+
nextCursor: import("zod").ZodNullable<import("zod").ZodString>;
|
|
698
|
+
}, import("zod/v4/core").$strip>;
|
|
699
|
+
};
|
|
700
|
+
};
|
|
701
|
+
};
|
|
702
|
+
readonly 400: {
|
|
703
|
+
readonly description: string;
|
|
704
|
+
readonly content: {
|
|
705
|
+
readonly 'application/json': {
|
|
706
|
+
readonly schema: import("zod").ZodObject<{
|
|
707
|
+
error: import("zod").ZodLiteral<true>;
|
|
708
|
+
message: import("zod").ZodString;
|
|
709
|
+
info: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
710
|
+
}, import("zod/v4/core").$strip>;
|
|
711
|
+
};
|
|
712
|
+
};
|
|
713
|
+
};
|
|
714
|
+
readonly 404: {
|
|
715
|
+
readonly description: "Distribution not found or not yet completed.";
|
|
716
|
+
readonly content: {
|
|
717
|
+
readonly 'application/json': {
|
|
718
|
+
readonly schema: import("zod").ZodObject<{
|
|
719
|
+
error: import("zod").ZodLiteral<true>;
|
|
720
|
+
message: import("zod").ZodString;
|
|
721
|
+
info: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
722
|
+
}, import("zod/v4/core").$strip>;
|
|
723
|
+
};
|
|
724
|
+
};
|
|
725
|
+
};
|
|
726
|
+
};
|
|
727
|
+
}>;
|
|
728
|
+
} & {
|
|
729
|
+
listExcludedAllocations: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
730
|
+
readonly operationId: "listExcludedAllocations";
|
|
731
|
+
readonly method: "get";
|
|
732
|
+
readonly path: "/v1/{network}/distributions/{distributionId}/excluded-allocations";
|
|
733
|
+
readonly summary: "List off-chain (merkle-excluded) allocations for a distribution";
|
|
734
|
+
readonly description: string;
|
|
735
|
+
readonly request: {
|
|
736
|
+
readonly params: import("zod").ZodObject<{
|
|
737
|
+
network: import("zod").ZodEnum<{
|
|
738
|
+
mainnet: "mainnet";
|
|
739
|
+
amoy: "amoy";
|
|
740
|
+
}>;
|
|
741
|
+
distributionId: import("zod").ZodString;
|
|
742
|
+
}, import("zod/v4/core").$strip>;
|
|
743
|
+
};
|
|
744
|
+
readonly responses: {
|
|
745
|
+
readonly 200: {
|
|
746
|
+
readonly description: "The off-chain allocation set.";
|
|
747
|
+
readonly content: {
|
|
748
|
+
readonly 'application/json': {
|
|
749
|
+
readonly schema: import("zod").ZodObject<{
|
|
750
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
751
|
+
address: import("zod").ZodString;
|
|
752
|
+
amount: import("zod").ZodString;
|
|
753
|
+
}, import("zod/v4/core").$strip>>;
|
|
754
|
+
total: import("zod").ZodNumber;
|
|
755
|
+
totalAmount: import("zod").ZodString;
|
|
756
|
+
}, import("zod/v4/core").$strip>;
|
|
757
|
+
};
|
|
758
|
+
};
|
|
759
|
+
};
|
|
760
|
+
readonly 404: {
|
|
761
|
+
readonly description: "Distribution not found or not yet completed.";
|
|
762
|
+
readonly content: {
|
|
763
|
+
readonly 'application/json': {
|
|
764
|
+
readonly schema: import("zod").ZodObject<{
|
|
765
|
+
error: import("zod").ZodLiteral<true>;
|
|
766
|
+
message: import("zod").ZodString;
|
|
767
|
+
info: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
768
|
+
}, import("zod/v4/core").$strip>;
|
|
769
|
+
};
|
|
770
|
+
};
|
|
771
|
+
};
|
|
772
|
+
};
|
|
773
|
+
}>;
|
|
774
|
+
} & {
|
|
775
|
+
getAllocation: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
776
|
+
readonly operationId: "getAllocation";
|
|
777
|
+
readonly method: "get";
|
|
778
|
+
readonly path: "/v1/{network}/distributions/{distributionId}/allocations/{address}";
|
|
779
|
+
readonly summary: "Get a single address allocation in a distribution";
|
|
780
|
+
readonly request: {
|
|
781
|
+
readonly params: import("zod").ZodObject<{
|
|
782
|
+
network: import("zod").ZodEnum<{
|
|
783
|
+
mainnet: "mainnet";
|
|
784
|
+
amoy: "amoy";
|
|
785
|
+
}>;
|
|
786
|
+
distributionId: import("zod").ZodString;
|
|
787
|
+
address: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
|
|
788
|
+
}, import("zod/v4/core").$strip>;
|
|
789
|
+
};
|
|
790
|
+
readonly responses: {
|
|
791
|
+
readonly 200: {
|
|
792
|
+
readonly description: "Allocation row.";
|
|
793
|
+
readonly content: {
|
|
794
|
+
readonly 'application/json': {
|
|
795
|
+
readonly schema: import("zod").ZodObject<{
|
|
796
|
+
address: import("zod").ZodString;
|
|
797
|
+
amount: import("zod").ZodString;
|
|
798
|
+
leafIndex: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
799
|
+
}, import("zod/v4/core").$strip>;
|
|
800
|
+
};
|
|
801
|
+
};
|
|
802
|
+
};
|
|
803
|
+
readonly 404: {
|
|
804
|
+
readonly description: "Distribution or allocation not found.";
|
|
805
|
+
readonly content: {
|
|
806
|
+
readonly 'application/json': {
|
|
807
|
+
readonly schema: import("zod").ZodObject<{
|
|
808
|
+
error: import("zod").ZodLiteral<true>;
|
|
809
|
+
message: import("zod").ZodString;
|
|
810
|
+
info: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
811
|
+
}, import("zod/v4/core").$strip>;
|
|
812
|
+
};
|
|
813
|
+
};
|
|
814
|
+
};
|
|
815
|
+
};
|
|
816
|
+
}>;
|
|
817
|
+
} & {
|
|
818
|
+
getAddressAllocationHistory: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
819
|
+
readonly operationId: "getAddressAllocationHistory";
|
|
820
|
+
readonly method: "get";
|
|
821
|
+
readonly path: "/v1/{network}/addresses/{address}/allocations";
|
|
822
|
+
readonly summary: "Per-address cross-distribution allocation history with live claim status";
|
|
823
|
+
readonly description: string;
|
|
824
|
+
readonly request: {
|
|
825
|
+
readonly params: import("zod").ZodObject<{
|
|
826
|
+
network: import("zod").ZodEnum<{
|
|
827
|
+
mainnet: "mainnet";
|
|
828
|
+
amoy: "amoy";
|
|
829
|
+
}>;
|
|
830
|
+
address: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
|
|
831
|
+
}, import("zod/v4/core").$strip>;
|
|
832
|
+
};
|
|
833
|
+
readonly responses: {
|
|
834
|
+
readonly 200: {
|
|
835
|
+
readonly description: "History rows ordered most-recently-completed first.";
|
|
836
|
+
readonly content: {
|
|
837
|
+
readonly 'application/json': {
|
|
838
|
+
readonly schema: import("zod").ZodObject<{
|
|
839
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
840
|
+
address: import("zod").ZodString;
|
|
841
|
+
distributionId: import("zod").ZodString;
|
|
842
|
+
amount: import("zod").ZodString;
|
|
843
|
+
leafIndex: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
844
|
+
merkleRoot: import("zod").ZodString;
|
|
845
|
+
completedAt: import("zod").ZodISODateTime;
|
|
846
|
+
status: import("zod").ZodEnum<{
|
|
847
|
+
claimed: "claimed";
|
|
848
|
+
unclaimed: "unclaimed";
|
|
849
|
+
}>;
|
|
850
|
+
}, import("zod/v4/core").$strip>>;
|
|
851
|
+
}, import("zod/v4/core").$strip>;
|
|
852
|
+
};
|
|
853
|
+
};
|
|
854
|
+
};
|
|
855
|
+
};
|
|
856
|
+
}>;
|
|
857
|
+
} & {
|
|
858
|
+
getUnclaimedProofs: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
859
|
+
readonly operationId: "getUnclaimedProofs";
|
|
860
|
+
readonly method: "get";
|
|
861
|
+
readonly path: "/v1/{network}/addresses/{address}/unclaimed-proofs";
|
|
862
|
+
readonly summary: "Per-address unclaimed-proofs array — the primary claim-flow UI endpoint";
|
|
863
|
+
readonly description: string;
|
|
864
|
+
readonly request: {
|
|
865
|
+
readonly params: import("zod").ZodObject<{
|
|
866
|
+
network: import("zod").ZodEnum<{
|
|
867
|
+
mainnet: "mainnet";
|
|
868
|
+
amoy: "amoy";
|
|
869
|
+
}>;
|
|
870
|
+
address: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
|
|
871
|
+
}, import("zod/v4/core").$strip>;
|
|
872
|
+
};
|
|
873
|
+
readonly responses: {
|
|
874
|
+
readonly 200: {
|
|
875
|
+
readonly description: "Batch of unclaimed-proof entries ordered oldest-distribution first.";
|
|
876
|
+
readonly content: {
|
|
877
|
+
readonly 'application/json': {
|
|
878
|
+
readonly schema: import("zod").ZodObject<{
|
|
879
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
880
|
+
distributionId: import("zod").ZodString;
|
|
881
|
+
merkleRoot: import("zod").ZodString;
|
|
882
|
+
amount: import("zod").ZodString;
|
|
883
|
+
leafIndex: import("zod").ZodNumber;
|
|
884
|
+
proof: import("zod").ZodArray<import("zod").ZodString>;
|
|
885
|
+
}, import("zod/v4/core").$strip>>;
|
|
886
|
+
}, import("zod/v4/core").$strip>;
|
|
887
|
+
};
|
|
888
|
+
};
|
|
889
|
+
};
|
|
890
|
+
};
|
|
891
|
+
}>;
|
|
892
|
+
}, {}> & TypedRegistry<{
|
|
893
|
+
getHealthCheck: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
894
|
+
readonly operationId: "getHealthCheck";
|
|
895
|
+
readonly method: "get";
|
|
896
|
+
readonly path: "/health-check";
|
|
897
|
+
readonly summary: "Liveness check (K8s probe)";
|
|
898
|
+
readonly responses: {
|
|
899
|
+
readonly 200: {
|
|
900
|
+
readonly description: "Service is alive.";
|
|
901
|
+
readonly content: {
|
|
902
|
+
readonly 'application/json': {
|
|
903
|
+
readonly schema: import("zod").ZodObject<{
|
|
904
|
+
status: import("zod").ZodLiteral<"ok">;
|
|
905
|
+
}, import("zod/v4/core").$strip>;
|
|
906
|
+
};
|
|
907
|
+
};
|
|
908
|
+
};
|
|
909
|
+
};
|
|
910
|
+
}>;
|
|
911
|
+
} & {
|
|
912
|
+
getReadiness: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
913
|
+
readonly operationId: "getReadiness";
|
|
914
|
+
readonly method: "get";
|
|
915
|
+
readonly path: "/readiness";
|
|
916
|
+
readonly summary: "Readiness check";
|
|
917
|
+
readonly description: string;
|
|
918
|
+
readonly responses: {
|
|
919
|
+
readonly 200: {
|
|
920
|
+
readonly description: "Service is ready.";
|
|
921
|
+
readonly content: {
|
|
922
|
+
readonly 'application/json': {
|
|
923
|
+
readonly schema: import("zod").ZodObject<{
|
|
924
|
+
status: import("zod").ZodLiteral<"ok">;
|
|
925
|
+
}, import("zod/v4/core").$strip>;
|
|
926
|
+
};
|
|
927
|
+
};
|
|
928
|
+
};
|
|
929
|
+
};
|
|
930
|
+
}>;
|
|
931
|
+
} & {
|
|
932
|
+
listDistributions: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
933
|
+
readonly operationId: "listDistributions";
|
|
934
|
+
readonly method: "get";
|
|
935
|
+
readonly path: "/v1/{network}/distributions";
|
|
936
|
+
readonly summary: "List completed distributions";
|
|
937
|
+
readonly description: string;
|
|
938
|
+
readonly request: {
|
|
939
|
+
readonly params: import("zod").ZodObject<{
|
|
940
|
+
network: import("zod").ZodEnum<{
|
|
941
|
+
mainnet: "mainnet";
|
|
942
|
+
amoy: "amoy";
|
|
943
|
+
}>;
|
|
944
|
+
}, import("zod/v4/core").$strip>;
|
|
945
|
+
readonly query: import("zod").ZodObject<{
|
|
946
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
947
|
+
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
948
|
+
}, import("zod/v4/core").$strip>;
|
|
949
|
+
};
|
|
950
|
+
readonly responses: {
|
|
951
|
+
readonly 200: {
|
|
952
|
+
readonly description: "Page of distribution summaries.";
|
|
953
|
+
readonly content: {
|
|
954
|
+
readonly 'application/json': {
|
|
955
|
+
readonly schema: import("zod").ZodObject<{
|
|
956
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
957
|
+
distributionId: import("zod").ZodString;
|
|
958
|
+
status: import("zod").ZodEnum<{
|
|
959
|
+
pending: "pending";
|
|
960
|
+
running: "running";
|
|
961
|
+
completed: "completed";
|
|
962
|
+
failed: "failed";
|
|
963
|
+
}>;
|
|
964
|
+
startPoSBlock: import("zod").ZodString;
|
|
965
|
+
endPoSBlock: import("zod").ZodString;
|
|
966
|
+
merkleRoot: import("zod").ZodNullable<import("zod").ZodString>;
|
|
967
|
+
totalAllocated: import("zod").ZodNullable<import("zod").ZodString>;
|
|
968
|
+
completedAt: import("zod").ZodNullable<import("zod").ZodISODateTime>;
|
|
969
|
+
}, import("zod/v4/core").$strip>>;
|
|
970
|
+
nextCursor: import("zod").ZodNullable<import("zod").ZodString>;
|
|
971
|
+
}, import("zod/v4/core").$strip>;
|
|
972
|
+
};
|
|
973
|
+
};
|
|
974
|
+
};
|
|
975
|
+
readonly 400: {
|
|
976
|
+
readonly description: string;
|
|
977
|
+
readonly content: {
|
|
978
|
+
readonly 'application/json': {
|
|
979
|
+
readonly schema: import("zod").ZodObject<{
|
|
980
|
+
error: import("zod").ZodLiteral<true>;
|
|
981
|
+
message: import("zod").ZodString;
|
|
982
|
+
info: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
983
|
+
}, import("zod/v4/core").$strip>;
|
|
984
|
+
};
|
|
985
|
+
};
|
|
986
|
+
};
|
|
987
|
+
};
|
|
988
|
+
}>;
|
|
989
|
+
} & {
|
|
990
|
+
getDistribution: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
991
|
+
readonly operationId: "getDistribution";
|
|
992
|
+
readonly method: "get";
|
|
993
|
+
readonly path: "/v1/{network}/distributions/{distributionId}";
|
|
994
|
+
readonly summary: "Get a single completed distribution";
|
|
995
|
+
readonly request: {
|
|
996
|
+
readonly params: import("zod").ZodObject<{
|
|
997
|
+
network: import("zod").ZodEnum<{
|
|
998
|
+
mainnet: "mainnet";
|
|
999
|
+
amoy: "amoy";
|
|
1000
|
+
}>;
|
|
1001
|
+
distributionId: import("zod").ZodString;
|
|
1002
|
+
}, import("zod/v4/core").$strip>;
|
|
1003
|
+
};
|
|
1004
|
+
readonly responses: {
|
|
1005
|
+
readonly 200: {
|
|
1006
|
+
readonly description: "Distribution detail.";
|
|
1007
|
+
readonly content: {
|
|
1008
|
+
readonly 'application/json': {
|
|
1009
|
+
readonly schema: import("zod").ZodObject<{
|
|
1010
|
+
distributionId: import("zod").ZodString;
|
|
1011
|
+
status: import("zod").ZodEnum<{
|
|
1012
|
+
pending: "pending";
|
|
1013
|
+
running: "running";
|
|
1014
|
+
completed: "completed";
|
|
1015
|
+
failed: "failed";
|
|
1016
|
+
}>;
|
|
1017
|
+
startPoSBlock: import("zod").ZodString;
|
|
1018
|
+
endPoSBlock: import("zod").ZodString;
|
|
1019
|
+
merkleRoot: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1020
|
+
totalAllocated: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1021
|
+
completedAt: import("zod").ZodNullable<import("zod").ZodISODateTime>;
|
|
1022
|
+
checkpointCount: import("zod").ZodNumber;
|
|
1023
|
+
polUsdPrice: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1024
|
+
maxClaimableUsdThreshold: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1025
|
+
inputsHash: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1026
|
+
posStakingSubgraphBlock: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1027
|
+
posStakingSubgraphHash: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1028
|
+
posCheckpointsSubgraphBlock: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1029
|
+
posCheckpointsSubgraphHash: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1030
|
+
posPriorityFeesSubgraphBlock: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1031
|
+
posPriorityFeesSubgraphHash: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1032
|
+
}, import("zod/v4/core").$strip>;
|
|
1033
|
+
};
|
|
1034
|
+
};
|
|
1035
|
+
};
|
|
1036
|
+
readonly 404: {
|
|
1037
|
+
readonly description: "Distribution not found or not yet completed.";
|
|
1038
|
+
readonly content: {
|
|
1039
|
+
readonly 'application/json': {
|
|
1040
|
+
readonly schema: import("zod").ZodObject<{
|
|
1041
|
+
error: import("zod").ZodLiteral<true>;
|
|
1042
|
+
message: import("zod").ZodString;
|
|
1043
|
+
info: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
1044
|
+
}, import("zod/v4/core").$strip>;
|
|
1045
|
+
};
|
|
1046
|
+
};
|
|
1047
|
+
};
|
|
1048
|
+
};
|
|
1049
|
+
}>;
|
|
1050
|
+
} & {
|
|
1051
|
+
listAllocations: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
1052
|
+
readonly operationId: "listAllocations";
|
|
1053
|
+
readonly method: "get";
|
|
1054
|
+
readonly path: "/v1/{network}/distributions/{distributionId}/allocations";
|
|
1055
|
+
readonly summary: "List allocations for a completed distribution";
|
|
1056
|
+
readonly description: "Paginated by `leafIndex` ascending.";
|
|
1057
|
+
readonly request: {
|
|
1058
|
+
readonly params: import("zod").ZodObject<{
|
|
1059
|
+
network: import("zod").ZodEnum<{
|
|
1060
|
+
mainnet: "mainnet";
|
|
1061
|
+
amoy: "amoy";
|
|
1062
|
+
}>;
|
|
1063
|
+
distributionId: import("zod").ZodString;
|
|
1064
|
+
}, import("zod/v4/core").$strip>;
|
|
1065
|
+
readonly query: import("zod").ZodObject<{
|
|
1066
|
+
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1067
|
+
limit: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
1068
|
+
}, import("zod/v4/core").$strip>;
|
|
1069
|
+
};
|
|
1070
|
+
readonly responses: {
|
|
1071
|
+
readonly 200: {
|
|
1072
|
+
readonly description: "Page of allocation rows.";
|
|
1073
|
+
readonly content: {
|
|
1074
|
+
readonly 'application/json': {
|
|
1075
|
+
readonly schema: import("zod").ZodObject<{
|
|
1076
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1077
|
+
address: import("zod").ZodString;
|
|
1078
|
+
amount: import("zod").ZodString;
|
|
1079
|
+
leafIndex: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
1080
|
+
}, import("zod/v4/core").$strip>>;
|
|
1081
|
+
nextCursor: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1082
|
+
}, import("zod/v4/core").$strip>;
|
|
1083
|
+
};
|
|
1084
|
+
};
|
|
1085
|
+
};
|
|
1086
|
+
readonly 400: {
|
|
1087
|
+
readonly description: string;
|
|
1088
|
+
readonly content: {
|
|
1089
|
+
readonly 'application/json': {
|
|
1090
|
+
readonly schema: import("zod").ZodObject<{
|
|
1091
|
+
error: import("zod").ZodLiteral<true>;
|
|
1092
|
+
message: import("zod").ZodString;
|
|
1093
|
+
info: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
1094
|
+
}, import("zod/v4/core").$strip>;
|
|
1095
|
+
};
|
|
1096
|
+
};
|
|
1097
|
+
};
|
|
1098
|
+
readonly 404: {
|
|
1099
|
+
readonly description: "Distribution not found or not yet completed.";
|
|
1100
|
+
readonly content: {
|
|
1101
|
+
readonly 'application/json': {
|
|
1102
|
+
readonly schema: import("zod").ZodObject<{
|
|
1103
|
+
error: import("zod").ZodLiteral<true>;
|
|
1104
|
+
message: import("zod").ZodString;
|
|
1105
|
+
info: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
1106
|
+
}, import("zod/v4/core").$strip>;
|
|
1107
|
+
};
|
|
1108
|
+
};
|
|
1109
|
+
};
|
|
1110
|
+
};
|
|
1111
|
+
}>;
|
|
1112
|
+
} & {
|
|
1113
|
+
listExcludedAllocations: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
1114
|
+
readonly operationId: "listExcludedAllocations";
|
|
1115
|
+
readonly method: "get";
|
|
1116
|
+
readonly path: "/v1/{network}/distributions/{distributionId}/excluded-allocations";
|
|
1117
|
+
readonly summary: "List off-chain (merkle-excluded) allocations for a distribution";
|
|
1118
|
+
readonly description: string;
|
|
1119
|
+
readonly request: {
|
|
1120
|
+
readonly params: import("zod").ZodObject<{
|
|
1121
|
+
network: import("zod").ZodEnum<{
|
|
1122
|
+
mainnet: "mainnet";
|
|
1123
|
+
amoy: "amoy";
|
|
1124
|
+
}>;
|
|
1125
|
+
distributionId: import("zod").ZodString;
|
|
1126
|
+
}, import("zod/v4/core").$strip>;
|
|
1127
|
+
};
|
|
1128
|
+
readonly responses: {
|
|
1129
|
+
readonly 200: {
|
|
1130
|
+
readonly description: "The off-chain allocation set.";
|
|
1131
|
+
readonly content: {
|
|
1132
|
+
readonly 'application/json': {
|
|
1133
|
+
readonly schema: import("zod").ZodObject<{
|
|
1134
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1135
|
+
address: import("zod").ZodString;
|
|
1136
|
+
amount: import("zod").ZodString;
|
|
1137
|
+
}, import("zod/v4/core").$strip>>;
|
|
1138
|
+
total: import("zod").ZodNumber;
|
|
1139
|
+
totalAmount: import("zod").ZodString;
|
|
1140
|
+
}, import("zod/v4/core").$strip>;
|
|
1141
|
+
};
|
|
1142
|
+
};
|
|
1143
|
+
};
|
|
1144
|
+
readonly 404: {
|
|
1145
|
+
readonly description: "Distribution not found or not yet completed.";
|
|
1146
|
+
readonly content: {
|
|
1147
|
+
readonly 'application/json': {
|
|
1148
|
+
readonly schema: import("zod").ZodObject<{
|
|
1149
|
+
error: import("zod").ZodLiteral<true>;
|
|
1150
|
+
message: import("zod").ZodString;
|
|
1151
|
+
info: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
1152
|
+
}, import("zod/v4/core").$strip>;
|
|
1153
|
+
};
|
|
1154
|
+
};
|
|
1155
|
+
};
|
|
1156
|
+
};
|
|
1157
|
+
}>;
|
|
1158
|
+
} & {
|
|
1159
|
+
getAllocation: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
1160
|
+
readonly operationId: "getAllocation";
|
|
1161
|
+
readonly method: "get";
|
|
1162
|
+
readonly path: "/v1/{network}/distributions/{distributionId}/allocations/{address}";
|
|
1163
|
+
readonly summary: "Get a single address allocation in a distribution";
|
|
1164
|
+
readonly request: {
|
|
1165
|
+
readonly params: import("zod").ZodObject<{
|
|
1166
|
+
network: import("zod").ZodEnum<{
|
|
1167
|
+
mainnet: "mainnet";
|
|
1168
|
+
amoy: "amoy";
|
|
1169
|
+
}>;
|
|
1170
|
+
distributionId: import("zod").ZodString;
|
|
1171
|
+
address: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
|
|
1172
|
+
}, import("zod/v4/core").$strip>;
|
|
1173
|
+
};
|
|
1174
|
+
readonly responses: {
|
|
1175
|
+
readonly 200: {
|
|
1176
|
+
readonly description: "Allocation row.";
|
|
1177
|
+
readonly content: {
|
|
1178
|
+
readonly 'application/json': {
|
|
1179
|
+
readonly schema: import("zod").ZodObject<{
|
|
1180
|
+
address: import("zod").ZodString;
|
|
1181
|
+
amount: import("zod").ZodString;
|
|
1182
|
+
leafIndex: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
1183
|
+
}, import("zod/v4/core").$strip>;
|
|
1184
|
+
};
|
|
1185
|
+
};
|
|
1186
|
+
};
|
|
1187
|
+
readonly 404: {
|
|
1188
|
+
readonly description: "Distribution or allocation not found.";
|
|
1189
|
+
readonly content: {
|
|
1190
|
+
readonly 'application/json': {
|
|
1191
|
+
readonly schema: import("zod").ZodObject<{
|
|
1192
|
+
error: import("zod").ZodLiteral<true>;
|
|
1193
|
+
message: import("zod").ZodString;
|
|
1194
|
+
info: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
1195
|
+
}, import("zod/v4/core").$strip>;
|
|
1196
|
+
};
|
|
1197
|
+
};
|
|
1198
|
+
};
|
|
1199
|
+
};
|
|
1200
|
+
}>;
|
|
1201
|
+
} & {
|
|
1202
|
+
getAddressAllocationHistory: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
1203
|
+
readonly operationId: "getAddressAllocationHistory";
|
|
1204
|
+
readonly method: "get";
|
|
1205
|
+
readonly path: "/v1/{network}/addresses/{address}/allocations";
|
|
1206
|
+
readonly summary: "Per-address cross-distribution allocation history with live claim status";
|
|
1207
|
+
readonly description: string;
|
|
1208
|
+
readonly request: {
|
|
1209
|
+
readonly params: import("zod").ZodObject<{
|
|
1210
|
+
network: import("zod").ZodEnum<{
|
|
1211
|
+
mainnet: "mainnet";
|
|
1212
|
+
amoy: "amoy";
|
|
1213
|
+
}>;
|
|
1214
|
+
address: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
|
|
1215
|
+
}, import("zod/v4/core").$strip>;
|
|
1216
|
+
};
|
|
1217
|
+
readonly responses: {
|
|
1218
|
+
readonly 200: {
|
|
1219
|
+
readonly description: "History rows ordered most-recently-completed first.";
|
|
1220
|
+
readonly content: {
|
|
1221
|
+
readonly 'application/json': {
|
|
1222
|
+
readonly schema: import("zod").ZodObject<{
|
|
1223
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1224
|
+
address: import("zod").ZodString;
|
|
1225
|
+
distributionId: import("zod").ZodString;
|
|
1226
|
+
amount: import("zod").ZodString;
|
|
1227
|
+
leafIndex: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
1228
|
+
merkleRoot: import("zod").ZodString;
|
|
1229
|
+
completedAt: import("zod").ZodISODateTime;
|
|
1230
|
+
status: import("zod").ZodEnum<{
|
|
1231
|
+
claimed: "claimed";
|
|
1232
|
+
unclaimed: "unclaimed";
|
|
1233
|
+
}>;
|
|
1234
|
+
}, import("zod/v4/core").$strip>>;
|
|
1235
|
+
}, import("zod/v4/core").$strip>;
|
|
1236
|
+
};
|
|
1237
|
+
};
|
|
1238
|
+
};
|
|
1239
|
+
};
|
|
1240
|
+
}>;
|
|
1241
|
+
} & {
|
|
1242
|
+
getUnclaimedProofs: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
1243
|
+
readonly operationId: "getUnclaimedProofs";
|
|
1244
|
+
readonly method: "get";
|
|
1245
|
+
readonly path: "/v1/{network}/addresses/{address}/unclaimed-proofs";
|
|
1246
|
+
readonly summary: "Per-address unclaimed-proofs array — the primary claim-flow UI endpoint";
|
|
1247
|
+
readonly description: string;
|
|
1248
|
+
readonly request: {
|
|
1249
|
+
readonly params: import("zod").ZodObject<{
|
|
1250
|
+
network: import("zod").ZodEnum<{
|
|
1251
|
+
mainnet: "mainnet";
|
|
1252
|
+
amoy: "amoy";
|
|
1253
|
+
}>;
|
|
1254
|
+
address: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
|
|
1255
|
+
}, import("zod/v4/core").$strip>;
|
|
1256
|
+
};
|
|
1257
|
+
readonly responses: {
|
|
1258
|
+
readonly 200: {
|
|
1259
|
+
readonly description: "Batch of unclaimed-proof entries ordered oldest-distribution first.";
|
|
1260
|
+
readonly content: {
|
|
1261
|
+
readonly 'application/json': {
|
|
1262
|
+
readonly schema: import("zod").ZodObject<{
|
|
1263
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1264
|
+
distributionId: import("zod").ZodString;
|
|
1265
|
+
merkleRoot: import("zod").ZodString;
|
|
1266
|
+
amount: import("zod").ZodString;
|
|
1267
|
+
leafIndex: import("zod").ZodNumber;
|
|
1268
|
+
proof: import("zod").ZodArray<import("zod").ZodString>;
|
|
1269
|
+
}, import("zod/v4/core").$strip>>;
|
|
1270
|
+
}, import("zod/v4/core").$strip>;
|
|
1271
|
+
};
|
|
1272
|
+
};
|
|
1273
|
+
};
|
|
1274
|
+
};
|
|
1275
|
+
}>;
|
|
1276
|
+
} & {
|
|
1277
|
+
getProof: import("@polygonlabs/openapi-registry").MergedRoute<{
|
|
1278
|
+
readonly operationId: "getProof";
|
|
1279
|
+
readonly method: "get";
|
|
1280
|
+
readonly path: "/v1/{network}/distributions/{distributionId}/allocations/{address}/proof";
|
|
1281
|
+
readonly summary: "Get the merkle proof for a single allocation";
|
|
1282
|
+
readonly description: string;
|
|
1283
|
+
readonly request: {
|
|
1284
|
+
readonly params: import("zod").ZodObject<{
|
|
1285
|
+
network: import("zod").ZodEnum<{
|
|
1286
|
+
mainnet: "mainnet";
|
|
1287
|
+
amoy: "amoy";
|
|
1288
|
+
}>;
|
|
1289
|
+
distributionId: import("zod").ZodString;
|
|
1290
|
+
address: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
|
|
1291
|
+
}, import("zod/v4/core").$strip>;
|
|
1292
|
+
};
|
|
1293
|
+
readonly responses: {
|
|
1294
|
+
readonly 200: {
|
|
1295
|
+
readonly description: "Proof bundle ready to submit to the claimer contract.";
|
|
1296
|
+
readonly content: {
|
|
1297
|
+
readonly 'application/json': {
|
|
1298
|
+
readonly schema: import("zod").ZodObject<{
|
|
1299
|
+
address: import("zod").ZodString;
|
|
1300
|
+
merkleRoot: import("zod").ZodString;
|
|
1301
|
+
amount: import("zod").ZodString;
|
|
1302
|
+
leafIndex: import("zod").ZodNumber;
|
|
1303
|
+
proof: import("zod").ZodArray<import("zod").ZodString>;
|
|
1304
|
+
}, import("zod/v4/core").$strip>;
|
|
1305
|
+
};
|
|
1306
|
+
};
|
|
1307
|
+
};
|
|
1308
|
+
readonly 404: {
|
|
1309
|
+
readonly description: string;
|
|
1310
|
+
readonly content: {
|
|
1311
|
+
readonly 'application/json': {
|
|
1312
|
+
readonly schema: import("zod").ZodObject<{
|
|
1313
|
+
error: import("zod").ZodLiteral<true>;
|
|
1314
|
+
message: import("zod").ZodString;
|
|
1315
|
+
info: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
1316
|
+
}, import("zod/v4/core").$strip>;
|
|
1317
|
+
};
|
|
1318
|
+
};
|
|
1319
|
+
};
|
|
1320
|
+
};
|
|
1321
|
+
}>;
|
|
1322
|
+
}, {}>;
|
|
1323
|
+
//# sourceMappingURL=registry-public.d.ts.map
|