@dfinity/ledger-icrc 6.0.1-next-2025-12-08 → 6.0.1-next-2025-12-10

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