@dfinity/ledger-icrc 6.0.1 → 7.0.0-next-2025-12-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 (48) hide show
  1. package/dist/index.d.ts +23 -17
  2. package/dist/index.js +1 -1
  3. package/dist/index.js.map +4 -4
  4. package/dist/index.mjs +1 -1
  5. package/dist/index.mjs.map +4 -4
  6. package/package.json +4 -5
  7. package/dist/candid/icrc_index-ng.certified.idl.d.ts +0 -2
  8. package/dist/candid/icrc_index-ng.certified.idl.js +0 -151
  9. package/dist/candid/icrc_index-ng.d.ts +0 -154
  10. package/dist/candid/icrc_index-ng.did +0 -156
  11. package/dist/candid/icrc_index-ng.idl.d.ts +0 -2
  12. package/dist/candid/icrc_index-ng.idl.js +0 -151
  13. package/dist/candid/icrc_index.certified.idl.d.ts +0 -2
  14. package/dist/candid/icrc_index.certified.idl.js +0 -99
  15. package/dist/candid/icrc_index.d.ts +0 -108
  16. package/dist/candid/icrc_index.did +0 -98
  17. package/dist/candid/icrc_index.idl.d.ts +0 -2
  18. package/dist/candid/icrc_index.idl.js +0 -99
  19. package/dist/candid/icrc_ledger.certified.idl.d.ts +0 -2
  20. package/dist/candid/icrc_ledger.certified.idl.js +0 -525
  21. package/dist/candid/icrc_ledger.d.ts +0 -590
  22. package/dist/candid/icrc_ledger.did +0 -579
  23. package/dist/candid/icrc_ledger.idl.d.ts +0 -2
  24. package/dist/candid/icrc_ledger.idl.js +0 -545
  25. package/dist/candid/icrc_nft-ledger.certified.idl.d.ts +0 -2
  26. package/dist/candid/icrc_nft-ledger.certified.idl.js +0 -102
  27. package/dist/candid/icrc_nft-ledger.d.ts +0 -80
  28. package/dist/candid/icrc_nft-ledger.did +0 -67
  29. package/dist/candid/icrc_nft-ledger.idl.d.ts +0 -2
  30. package/dist/candid/icrc_nft-ledger.idl.js +0 -106
  31. package/dist/canister.d.ts +0 -13
  32. package/dist/converters/converters.d.ts +0 -16
  33. package/dist/converters/index.converters.d.ts +0 -6
  34. package/dist/converters/ledger.converters.d.ts +0 -6
  35. package/dist/errors/index.errors.d.ts +0 -2
  36. package/dist/errors/ledger.errors.d.ts +0 -25
  37. package/dist/index-ng.canister.d.ts +0 -43
  38. package/dist/index.canister.d.ts +0 -21
  39. package/dist/ledger.canister.d.ts +0 -127
  40. package/dist/types/canister.options.d.ts +0 -5
  41. package/dist/types/index-ng.params.d.ts +0 -12
  42. package/dist/types/index-ng.types.d.ts +0 -1
  43. package/dist/types/index.params.d.ts +0 -7
  44. package/dist/types/index.types.d.ts +0 -1
  45. package/dist/types/ledger.params.d.ts +0 -109
  46. package/dist/types/ledger.responses.d.ts +0 -24
  47. package/dist/utils/ledger.utils.d.ts +0 -31
  48. package/dist/utils/payment.utils.d.ts +0 -28
@@ -1,590 +0,0 @@
1
- /* eslint-disable */
2
-
3
- // @ts-nocheck
4
-
5
- // This file was automatically generated by @icp-sdk/bindgen@0.2.0.
6
- // You should NOT make any changes in this file as it will be overwritten.
7
- // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
8
-
9
- import type { ActorMethod } from "@icp-sdk/core/agent";
10
- import type { IDL } from "@icp-sdk/core/candid";
11
- import type { Principal } from "@icp-sdk/core/principal";
12
-
13
- export interface Account {
14
- owner: Principal;
15
- subaccount: [] | [Subaccount];
16
- }
17
- export interface Allowance {
18
- allowance: bigint;
19
- expires_at: [] | [Timestamp];
20
- }
21
- export interface Allowance103 {
22
- from_account: Account;
23
- to_spender: Account;
24
- allowance: bigint;
25
- expires_at: [] | [bigint];
26
- }
27
- export interface AllowanceArgs {
28
- account: Account;
29
- spender: Account;
30
- }
31
- export interface Approve {
32
- fee: [] | [bigint];
33
- from: Account;
34
- memo: [] | [Uint8Array];
35
- created_at_time: [] | [Timestamp];
36
- amount: bigint;
37
- expected_allowance: [] | [bigint];
38
- expires_at: [] | [Timestamp];
39
- spender: Account;
40
- }
41
- export interface ApproveArgs {
42
- fee: [] | [bigint];
43
- memo: [] | [Uint8Array];
44
- from_subaccount: [] | [Uint8Array];
45
- created_at_time: [] | [Timestamp];
46
- amount: bigint;
47
- expected_allowance: [] | [bigint];
48
- expires_at: [] | [Timestamp];
49
- spender: Account;
50
- }
51
- export type ApproveError =
52
- | {
53
- GenericError: { message: string; error_code: bigint };
54
- }
55
- | { TemporarilyUnavailable: null }
56
- | { Duplicate: { duplicate_of: BlockIndex } }
57
- | { BadFee: { expected_fee: bigint } }
58
- | { AllowanceChanged: { current_allowance: bigint } }
59
- | { CreatedInFuture: { ledger_time: Timestamp } }
60
- | { TooOld: null }
61
- | { Expired: { ledger_time: Timestamp } }
62
- | { InsufficientFunds: { balance: bigint } };
63
- export type ApproveResult = { Ok: BlockIndex } | { Err: ApproveError };
64
- export interface ArchiveInfo {
65
- block_range_end: BlockIndex;
66
- canister_id: Principal;
67
- block_range_start: BlockIndex;
68
- }
69
- export type Block = Value;
70
- export type BlockIndex = bigint;
71
- /**
72
- * A prefix of the block range specified in the [GetBlocksArgs] request.
73
- */
74
- export interface BlockRange {
75
- /**
76
- * A prefix of the requested block range.
77
- * The index of the first block is equal to [GetBlocksArgs.start].
78
- *
79
- * Note that the number of blocks might be less than the requested
80
- * [GetBlocksArgs.length] for various reasons, for example:
81
- *
82
- * 1. The query might have hit the replica with an outdated state
83
- * that doesn't have the whole range yet.
84
- * 2. The requested range is too large to fit into a single reply.
85
- *
86
- * NOTE: the list of blocks can be empty if:
87
- *
88
- * 1. [GetBlocksArgs.length] was zero.
89
- * 2. [GetBlocksArgs.start] was larger than the last block known to
90
- * the canister.
91
- */
92
- blocks: Array<Block>;
93
- }
94
- export interface Burn {
95
- fee: [] | [bigint];
96
- from: Account;
97
- memo: [] | [Uint8Array];
98
- created_at_time: [] | [Timestamp];
99
- amount: bigint;
100
- spender: [] | [Account];
101
- }
102
- export interface ChangeArchiveOptions {
103
- num_blocks_to_archive: [] | [bigint];
104
- max_transactions_per_response: [] | [bigint];
105
- trigger_threshold: [] | [bigint];
106
- more_controller_ids: [] | [Array<Principal>];
107
- max_message_size_bytes: [] | [bigint];
108
- cycles_for_archive_creation: [] | [bigint];
109
- node_max_memory_size_bytes: [] | [bigint];
110
- controller_id: [] | [Principal];
111
- }
112
- export type ChangeFeeCollector = { SetTo: Account } | { Unset: null };
113
- /**
114
- * Certificate for the block at `block_index`.
115
- */
116
- export interface DataCertificate {
117
- certificate: [] | [Uint8Array];
118
- hash_tree: Uint8Array;
119
- }
120
- /**
121
- * Number of nanoseconds between two [Timestamp]s.
122
- */
123
- export type Duration = bigint;
124
- export interface FeatureFlags {
125
- icrc2: boolean;
126
- }
127
- export interface FieldsDisplay {
128
- fields: Array<[string, Icrc21Value]>;
129
- intent: string;
130
- }
131
- export interface GetAllowancesArgs {
132
- take: [] | [bigint];
133
- prev_spender: [] | [Account];
134
- from_account: [] | [Account];
135
- }
136
- export type GetAllowancesError =
137
- | {
138
- GenericError: { message: string; error_code: bigint };
139
- }
140
- | { AccessDenied: { reason: string } };
141
- export interface GetArchivesArgs {
142
- /**
143
- * The last archive seen by the client.
144
- * The Ledger will return archives coming
145
- * after this one if set, otherwise it
146
- * will return the first archives.
147
- */
148
- from: [] | [Principal];
149
- }
150
- export type GetArchivesResult = Array<{
151
- /**
152
- * The last block in the archive
153
- */
154
- end: bigint;
155
- /**
156
- * The id of the archive
157
- */
158
- canister_id: Principal;
159
- /**
160
- * The first block in the archive
161
- */
162
- start: bigint;
163
- }>;
164
- export interface GetBlocksArgs {
165
- /**
166
- * The index of the first block to fetch.
167
- */
168
- start: BlockIndex;
169
- /**
170
- * Max number of blocks to fetch.
171
- */
172
- length: bigint;
173
- }
174
- /**
175
- * The result of a "get_blocks" call.
176
- */
177
- export interface GetBlocksResponse {
178
- /**
179
- * System certificate for the hash of the latest block in the chain.
180
- * Only present if `get_blocks` is called in a non-replicated query context.
181
- */
182
- certificate: [] | [Uint8Array];
183
- /**
184
- * The index of the first block in "blocks".
185
- * If the blocks vector is empty, the exact value of this field is not specified.
186
- */
187
- first_index: BlockIndex;
188
- /**
189
- * List of blocks that were available in the ledger when it processed the call.
190
- *
191
- * The blocks form a contiguous range, with the first block having index
192
- * [first_block_index] (see below), and the last block having index
193
- * [first_block_index] + len(blocks) - 1.
194
- *
195
- * The block range can be an arbitrary sub-range of the originally requested range.
196
- */
197
- blocks: Array<Block>;
198
- /**
199
- * The total number of blocks in the chain.
200
- * If the chain length is positive, the index of the last block is `chain_len - 1`.
201
- */
202
- chain_length: bigint;
203
- /**
204
- * Encoding of instructions for fetching archived blocks.
205
- */
206
- archived_blocks: Array<{
207
- /**
208
- * Callback to fetch the archived blocks.
209
- */
210
- callback: [Principal, string];
211
- /**
212
- * The index of the first archived block.
213
- */
214
- start: BlockIndex;
215
- /**
216
- * The number of blocks that can be fetched.
217
- */
218
- length: bigint;
219
- }>;
220
- }
221
- export interface GetBlocksResult {
222
- /**
223
- * Total number of blocks in the
224
- * block log
225
- */
226
- log_length: bigint;
227
- blocks: Array<{ id: bigint; block: ICRC3Value }>;
228
- archived_blocks: Array<{
229
- args: Array<GetBlocksArgs>;
230
- callback: [Principal, string];
231
- }>;
232
- }
233
- export type GetIndexPrincipalError =
234
- | {
235
- /**
236
- * Any error not covered by the above variants.
237
- */
238
- GenericError: { description: string; error_code: bigint };
239
- }
240
- | { IndexPrincipalNotSet: null };
241
- export type GetIndexPrincipalResult =
242
- | { Ok: Principal }
243
- | { Err: GetIndexPrincipalError };
244
- export interface GetTransactionsRequest {
245
- /**
246
- * The index of the first tx to fetch.
247
- */
248
- start: TxIndex;
249
- /**
250
- * The number of transactions to fetch.
251
- */
252
- length: bigint;
253
- }
254
- export interface GetTransactionsResponse {
255
- /**
256
- * The index of the first transaction in [transactions].
257
- * If the transaction vector is empty, the exact value of this field is not specified.
258
- */
259
- first_index: TxIndex;
260
- /**
261
- * The total number of transactions in the log.
262
- */
263
- log_length: bigint;
264
- /**
265
- * List of transaction that were available in the ledger when it processed the call.
266
- *
267
- * The transactions form a contiguous range, with the first transaction having index
268
- * [first_index] (see below), and the last transaction having index
269
- * [first_index] + len(transactions) - 1.
270
- *
271
- * The transaction range can be an arbitrary sub-range of the originally requested range.
272
- */
273
- transactions: Array<Transaction>;
274
- /**
275
- * Encoding of instructions for fetching archived transactions whose indices fall into the
276
- * requested range.
277
- *
278
- * For each entry `e` in [archived_transactions], `[e.from, e.from + len)` is a sub-range
279
- * of the originally requested transaction range.
280
- */
281
- archived_transactions: Array<{
282
- /**
283
- * The function you should call to fetch the archived transactions.
284
- * The range of the transaction accessible using this function is given by [from]
285
- * and [len] fields above.
286
- */
287
- callback: [Principal, string];
288
- /**
289
- * The index of the first archived transaction you can fetch using the [callback].
290
- */
291
- start: TxIndex;
292
- /**
293
- * The number of transactions you can fetch using the callback.
294
- */
295
- length: bigint;
296
- }>;
297
- }
298
- export interface HttpRequest {
299
- url: string;
300
- method: string;
301
- body: Uint8Array;
302
- headers: Array<[string, string]>;
303
- }
304
- export interface HttpResponse {
305
- body: Uint8Array;
306
- headers: Array<[string, string]>;
307
- status_code: number;
308
- }
309
- export interface ICRC3DataCertificate {
310
- /**
311
- * See https://internetcomputer.org/docs/current/references/ic-interface-spec#certification
312
- */
313
- certificate: Uint8Array;
314
- /**
315
- * CBOR encoded hash_tree
316
- */
317
- hash_tree: Uint8Array;
318
- }
319
- export type ICRC3Value =
320
- | { Int: bigint }
321
- | { Map: Array<[string, ICRC3Value]> }
322
- | { Nat: bigint }
323
- | { Blob: Uint8Array }
324
- | { Text: string }
325
- | { Array: Array<ICRC3Value> };
326
- export type Icrc21Value =
327
- | { Text: { content: string } }
328
- | {
329
- TokenAmount: {
330
- decimals: number;
331
- amount: bigint;
332
- symbol: string;
333
- };
334
- }
335
- | { TimestampSeconds: { amount: bigint } }
336
- | { DurationSeconds: { amount: bigint } };
337
- /**
338
- * The initialization parameters of the Ledger
339
- */
340
- export interface InitArgs {
341
- decimals: [] | [number];
342
- token_symbol: string;
343
- transfer_fee: bigint;
344
- metadata: Array<[string, MetadataValue]>;
345
- minting_account: Account;
346
- initial_balances: Array<[Account, bigint]>;
347
- fee_collector_account: [] | [Account];
348
- archive_options: {
349
- num_blocks_to_archive: bigint;
350
- max_transactions_per_response: [] | [bigint];
351
- trigger_threshold: bigint;
352
- more_controller_ids: [] | [Array<Principal>];
353
- max_message_size_bytes: [] | [bigint];
354
- cycles_for_archive_creation: [] | [bigint];
355
- node_max_memory_size_bytes: [] | [bigint];
356
- controller_id: Principal;
357
- };
358
- max_memo_length: [] | [number];
359
- index_principal: [] | [Principal];
360
- token_name: string;
361
- feature_flags: [] | [FeatureFlags];
362
- }
363
- export type LedgerArg = { Upgrade: [] | [UpgradeArgs] } | { Init: InitArgs };
364
- export type Map = Array<[string, Value]>;
365
- /**
366
- * The value returned from the [icrc1_metadata] endpoint.
367
- */
368
- export type MetadataValue =
369
- | { Int: bigint }
370
- | { Nat: bigint }
371
- | { Blob: Uint8Array }
372
- | { Text: string };
373
- export interface Mint {
374
- to: Account;
375
- fee: [] | [bigint];
376
- memo: [] | [Uint8Array];
377
- created_at_time: [] | [Timestamp];
378
- amount: bigint;
379
- }
380
- /**
381
- * A function for fetching archived transaction.
382
- */
383
- export type QueryArchiveFn = ActorMethod<
384
- [GetTransactionsRequest],
385
- TransactionRange
386
- >;
387
- /**
388
- * A function for fetching archived blocks.
389
- */
390
- export type QueryBlockArchiveFn = ActorMethod<[GetBlocksArgs], BlockRange>;
391
- export interface StandardRecord {
392
- url: string;
393
- name: string;
394
- }
395
- export type Subaccount = Uint8Array;
396
- /**
397
- * Number of nanoseconds since the UNIX epoch in UTC timezone.
398
- */
399
- export type Timestamp = bigint;
400
- export type Tokens = bigint;
401
- export interface Transaction {
402
- burn: [] | [Burn];
403
- kind: string;
404
- mint: [] | [Mint];
405
- approve: [] | [Approve];
406
- timestamp: Timestamp;
407
- transfer: [] | [Transfer];
408
- }
409
- /**
410
- * A prefix of the transaction range specified in the [GetTransactionsRequest] request.
411
- */
412
- export interface TransactionRange {
413
- /**
414
- * A prefix of the requested transaction range.
415
- * The index of the first transaction is equal to [GetTransactionsRequest.from].
416
- *
417
- * Note that the number of transactions might be less than the requested
418
- * [GetTransactionsRequest.length] for various reasons, for example:
419
- *
420
- * 1. The query might have hit the replica with an outdated state
421
- * that doesn't have the whole range yet.
422
- * 2. The requested range is too large to fit into a single reply.
423
- *
424
- * NOTE: the list of transactions can be empty if:
425
- *
426
- * 1. [GetTransactionsRequest.length] was zero.
427
- * 2. [GetTransactionsRequest.from] was larger than the last transaction known to
428
- * the canister.
429
- */
430
- transactions: Array<Transaction>;
431
- }
432
- export interface Transfer {
433
- to: Account;
434
- fee: [] | [bigint];
435
- from: Account;
436
- memo: [] | [Uint8Array];
437
- created_at_time: [] | [Timestamp];
438
- amount: bigint;
439
- spender: [] | [Account];
440
- }
441
- export interface TransferArg {
442
- to: Account;
443
- fee: [] | [Tokens];
444
- memo: [] | [Uint8Array];
445
- from_subaccount: [] | [Subaccount];
446
- created_at_time: [] | [Timestamp];
447
- amount: Tokens;
448
- }
449
- export type TransferError =
450
- | {
451
- GenericError: { message: string; error_code: bigint };
452
- }
453
- | { TemporarilyUnavailable: null }
454
- | { BadBurn: { min_burn_amount: Tokens } }
455
- | { Duplicate: { duplicate_of: BlockIndex } }
456
- | { BadFee: { expected_fee: Tokens } }
457
- | { CreatedInFuture: { ledger_time: Timestamp } }
458
- | { TooOld: null }
459
- | { InsufficientFunds: { balance: Tokens } };
460
- export interface TransferFromArgs {
461
- to: Account;
462
- fee: [] | [Tokens];
463
- spender_subaccount: [] | [Subaccount];
464
- from: Account;
465
- memo: [] | [Uint8Array];
466
- created_at_time: [] | [Timestamp];
467
- amount: Tokens;
468
- }
469
- export type TransferFromError =
470
- | {
471
- GenericError: { message: string; error_code: bigint };
472
- }
473
- | { TemporarilyUnavailable: null }
474
- | { InsufficientAllowance: { allowance: Tokens } }
475
- | { BadBurn: { min_burn_amount: Tokens } }
476
- | { Duplicate: { duplicate_of: BlockIndex } }
477
- | { BadFee: { expected_fee: Tokens } }
478
- | { CreatedInFuture: { ledger_time: Timestamp } }
479
- | { TooOld: null }
480
- | { InsufficientFunds: { balance: Tokens } };
481
- export type TransferFromResult =
482
- | { Ok: BlockIndex }
483
- | { Err: TransferFromError };
484
- export type TransferResult = { Ok: BlockIndex } | { Err: TransferError };
485
- export type TxIndex = bigint;
486
- export interface UpgradeArgs {
487
- change_archive_options: [] | [ChangeArchiveOptions];
488
- token_symbol: [] | [string];
489
- transfer_fee: [] | [bigint];
490
- metadata: [] | [Array<[string, MetadataValue]>];
491
- change_fee_collector: [] | [ChangeFeeCollector];
492
- max_memo_length: [] | [number];
493
- index_principal: [] | [Principal];
494
- token_name: [] | [string];
495
- feature_flags: [] | [FeatureFlags];
496
- }
497
- export type Value =
498
- | { Int: bigint }
499
- | { Map: Map }
500
- | { Nat: bigint }
501
- | { Nat64: bigint }
502
- | { Blob: Uint8Array }
503
- | { Text: string }
504
- | { Array: Array<Value> };
505
- export type icrc103_get_allowances_response =
506
- | { Ok: Array<Allowance103> }
507
- | { Err: GetAllowancesError };
508
- export interface icrc21_consent_info {
509
- metadata: icrc21_consent_message_metadata;
510
- consent_message: icrc21_consent_message;
511
- }
512
- export type icrc21_consent_message =
513
- | {
514
- FieldsDisplayMessage: FieldsDisplay;
515
- }
516
- | { GenericDisplayMessage: string };
517
- export interface icrc21_consent_message_metadata {
518
- utc_offset_minutes: [] | [number];
519
- language: string;
520
- }
521
- export interface icrc21_consent_message_request {
522
- arg: Uint8Array;
523
- method: string;
524
- user_preferences: icrc21_consent_message_spec;
525
- }
526
- export type icrc21_consent_message_response =
527
- | { Ok: icrc21_consent_info }
528
- | { Err: icrc21_error };
529
- export interface icrc21_consent_message_spec {
530
- metadata: icrc21_consent_message_metadata;
531
- device_spec: [] | [{ GenericDisplay: null } | { FieldsDisplay: null }];
532
- }
533
- export type icrc21_error =
534
- | {
535
- /**
536
- * Any error not covered by the above variants.
537
- */
538
- GenericError: { description: string; error_code: bigint };
539
- }
540
- | { InsufficientPayment: icrc21_error_info }
541
- | { UnsupportedCanisterCall: icrc21_error_info }
542
- | { ConsentMessageUnavailable: icrc21_error_info };
543
- export interface icrc21_error_info {
544
- description: string;
545
- }
546
- export interface _SERVICE {
547
- archives: ActorMethod<[], Array<ArchiveInfo>>;
548
- get_blocks: ActorMethod<[GetBlocksArgs], GetBlocksResponse>;
549
- get_data_certificate: ActorMethod<[], DataCertificate>;
550
- get_transactions: ActorMethod<
551
- [GetTransactionsRequest],
552
- GetTransactionsResponse
553
- >;
554
- icrc103_get_allowances: ActorMethod<
555
- [GetAllowancesArgs],
556
- icrc103_get_allowances_response
557
- >;
558
- icrc106_get_index_principal: ActorMethod<[], GetIndexPrincipalResult>;
559
- icrc10_supported_standards: ActorMethod<
560
- [],
561
- Array<{ url: string; name: string }>
562
- >;
563
- icrc1_balance_of: ActorMethod<[Account], Tokens>;
564
- icrc1_decimals: ActorMethod<[], number>;
565
- icrc1_fee: ActorMethod<[], Tokens>;
566
- icrc1_metadata: ActorMethod<[], Array<[string, MetadataValue]>>;
567
- icrc1_minting_account: ActorMethod<[], [] | [Account]>;
568
- icrc1_name: ActorMethod<[], string>;
569
- icrc1_supported_standards: ActorMethod<[], Array<StandardRecord>>;
570
- icrc1_symbol: ActorMethod<[], string>;
571
- icrc1_total_supply: ActorMethod<[], Tokens>;
572
- icrc1_transfer: ActorMethod<[TransferArg], TransferResult>;
573
- icrc21_canister_call_consent_message: ActorMethod<
574
- [icrc21_consent_message_request],
575
- icrc21_consent_message_response
576
- >;
577
- icrc2_allowance: ActorMethod<[AllowanceArgs], Allowance>;
578
- icrc2_approve: ActorMethod<[ApproveArgs], ApproveResult>;
579
- icrc2_transfer_from: ActorMethod<[TransferFromArgs], TransferFromResult>;
580
- icrc3_get_archives: ActorMethod<[GetArchivesArgs], GetArchivesResult>;
581
- icrc3_get_blocks: ActorMethod<[Array<GetBlocksArgs>], GetBlocksResult>;
582
- icrc3_get_tip_certificate: ActorMethod<[], [] | [ICRC3DataCertificate]>;
583
- icrc3_supported_block_types: ActorMethod<
584
- [],
585
- Array<{ url: string; block_type: string }>
586
- >;
587
- is_ledger_ready: ActorMethod<[], boolean>;
588
- }
589
- export declare const idlFactory: IDL.InterfaceFactory;
590
- export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[];