@dfns/sdk 0.7.12-rc.1 → 0.7.13-rc.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.
@@ -8,6 +8,7 @@ export type ArchivePolicyResponse = {
8
8
  dateCreated?: string | undefined;
9
9
  dateUpdated?: string | undefined;
10
10
  activityKind: "Alias:Modify";
11
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
11
12
  rule: {
12
13
  kind: "AlwaysTrigger";
13
14
  configuration?: {} | undefined;
@@ -22,6 +23,8 @@ export type ArchivePolicyResponse = {
22
23
  in: string[];
23
24
  } | undefined;
24
25
  };
26
+ /** Whether the initiator of the activity can participate in the approval. */
27
+ initiatorCanApprove?: boolean | undefined;
25
28
  }[];
26
29
  autoRejectTimeout?: (number | undefined) | null;
27
30
  } | {
@@ -35,6 +38,7 @@ export type ArchivePolicyResponse = {
35
38
  dateCreated?: string | undefined;
36
39
  dateUpdated?: string | undefined;
37
40
  activityKind: "Permissions:Assign";
41
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
38
42
  rule: {
39
43
  kind: "AlwaysTrigger";
40
44
  configuration?: {} | undefined;
@@ -49,6 +53,8 @@ export type ArchivePolicyResponse = {
49
53
  in: string[];
50
54
  } | undefined;
51
55
  };
56
+ /** Whether the initiator of the activity can participate in the approval. */
57
+ initiatorCanApprove?: boolean | undefined;
52
58
  }[];
53
59
  autoRejectTimeout?: (number | undefined) | null;
54
60
  } | {
@@ -66,6 +72,7 @@ export type ArchivePolicyResponse = {
66
72
  dateCreated?: string | undefined;
67
73
  dateUpdated?: string | undefined;
68
74
  activityKind: "Permissions:Modify";
75
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
69
76
  rule: {
70
77
  kind: "AlwaysTrigger";
71
78
  configuration?: {} | undefined;
@@ -80,6 +87,8 @@ export type ArchivePolicyResponse = {
80
87
  in: string[];
81
88
  } | undefined;
82
89
  };
90
+ /** Whether the initiator of the activity can participate in the approval. */
91
+ initiatorCanApprove?: boolean | undefined;
83
92
  }[];
84
93
  autoRejectTimeout?: (number | undefined) | null;
85
94
  } | {
@@ -97,6 +106,7 @@ export type ArchivePolicyResponse = {
97
106
  dateCreated?: string | undefined;
98
107
  dateUpdated?: string | undefined;
99
108
  activityKind: "Policies:Modify";
109
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
100
110
  rule: {
101
111
  kind: "AlwaysTrigger";
102
112
  configuration?: {} | undefined;
@@ -111,6 +121,8 @@ export type ArchivePolicyResponse = {
111
121
  in: string[];
112
122
  } | undefined;
113
123
  };
124
+ /** Whether the initiator of the activity can participate in the approval. */
125
+ initiatorCanApprove?: boolean | undefined;
114
126
  }[];
115
127
  autoRejectTimeout?: (number | undefined) | null;
116
128
  };
@@ -132,25 +144,33 @@ export type ArchivePolicyResponse = {
132
144
  } | {
133
145
  kind: "TransactionRecipientWhitelist";
134
146
  configuration: {
147
+ /** Whitelisted recipient addresses */
135
148
  addresses: string[];
136
149
  };
137
150
  } | {
138
151
  kind: "TransactionAmountLimit";
139
152
  configuration: {
153
+ /** Amount limit in `currency` */
140
154
  limit: number;
155
+ /** Fiat currency, currently only `USD` */
141
156
  currency: "USD";
142
157
  };
143
158
  } | {
144
159
  kind: "TransactionAmountVelocity";
145
160
  configuration: {
161
+ /** Amount limit in `currency` */
146
162
  limit: number;
163
+ /** Currency for the amount limit above */
147
164
  currency: "USD";
165
+ /** Time period in minutes. Minimum 1, Maximum 43,200. */
148
166
  timeframe: number;
149
167
  };
150
168
  } | {
151
169
  kind: "TransactionCountVelocity";
152
170
  configuration: {
171
+ /** Count limit */
153
172
  limit: number;
173
+ /** Time period in minutes. Minimum 1, Maximum 43,200. */
154
174
  timeframe: number;
155
175
  };
156
176
  } | {
@@ -193,6 +213,8 @@ export type ArchivePolicyResponse = {
193
213
  in: string[];
194
214
  } | undefined;
195
215
  };
216
+ /** Whether the initiator of the activity can participate in the approval. */
217
+ initiatorCanApprove?: boolean | undefined;
196
218
  }[];
197
219
  autoRejectTimeout?: (number | undefined) | null;
198
220
  } | {
@@ -272,17 +294,25 @@ export type CreateApprovalDecisionResponse = {
272
294
  };
273
295
  requestBody: {
274
296
  kind: "Native";
297
+ /** The destination address. */
275
298
  to: string;
299
+ /** The amount of native tokens to transfer in minimum denomination. */
276
300
  amount: string;
301
+ /** The memo or destination tag. `Stellar`, `TON` and `XrpLedger` support `memo`. Not valid for other networks. */
277
302
  memo?: string | undefined;
303
+ /** The priority that determines the fees paid for the transfer. All EVM compatible networks and Bitcoin support `priority`. Not supported for other networks. It uses the [estimate fees](https://docs.dfns.co/api-reference/networks/estimate-fees) API to calculate the transfer fees. When not specified, defaults to `Standard` priority. */
278
304
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
305
+ /** Whether to create the destination account on chains that require account creation (e.g., Stellar, Kadena). Only valid for chains that require the receiver account to exist before transfer. */
279
306
  createDestinationAccount?: boolean | undefined;
280
- /** Optional field for Canton, if true it will create a transfer offer */
307
+ /** Optional field for Canton, if true it will create a transfer offer. */
281
308
  offer?: boolean | undefined;
282
309
  /** Optional field for Canton, especially useful in the context of offers */
283
310
  expiresAt?: string | undefined;
311
+ /** For multi-chain networks (e.g., Kadena), specify the destination chain for cross-chain transfers. */
284
312
  targetChain?: string | undefined;
313
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
285
314
  externalId?: string | undefined;
315
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
286
316
  travelRule?: ({
287
317
  kind: "Notabene";
288
318
  beneficiaryVASPdid?: string | undefined;
@@ -296,14 +326,19 @@ export type CreateApprovalDecisionResponse = {
296
326
  [x: string]: any;
297
327
  };
298
328
  }) | undefined;
299
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
329
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
300
330
  feeSponsorId?: string | undefined;
301
331
  } | {
302
332
  kind: "Asa";
333
+ /** The token asset id. */
303
334
  assetId: string;
335
+ /** The destination address. */
304
336
  to: string;
337
+ /** The amount of tokens to transfer in minimum denomination. */
305
338
  amount: string;
339
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
306
340
  externalId?: string | undefined;
341
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
307
342
  travelRule?: ({
308
343
  kind: "Notabene";
309
344
  beneficiaryVASPdid?: string | undefined;
@@ -317,14 +352,19 @@ export type CreateApprovalDecisionResponse = {
317
352
  [x: string]: any;
318
353
  };
319
354
  }) | undefined;
320
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
355
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
321
356
  feeSponsorId?: string | undefined;
322
357
  } | {
323
358
  kind: "Aip21";
359
+ /** The asset metadata address. */
324
360
  metadata: string;
361
+ /** The destination address. */
325
362
  to: string;
363
+ /** The amount of tokens to transfer in minimum denomination. */
326
364
  amount: string;
365
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
327
366
  externalId?: string | undefined;
367
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
328
368
  travelRule?: ({
329
369
  kind: "Notabene";
330
370
  beneficiaryVASPdid?: string | undefined;
@@ -338,14 +378,19 @@ export type CreateApprovalDecisionResponse = {
338
378
  [x: string]: any;
339
379
  };
340
380
  }) | undefined;
341
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
381
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
342
382
  feeSponsorId?: string | undefined;
343
383
  } | {
344
384
  kind: "Asset";
385
+ /** The token asset id. */
345
386
  assetId: string;
387
+ /** The destination address. */
346
388
  to: string;
389
+ /** The amount of tokens to transfer in minimum denomination. */
347
390
  amount: string;
391
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
348
392
  externalId?: string | undefined;
393
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
349
394
  travelRule?: ({
350
395
  kind: "Notabene";
351
396
  beneficiaryVASPdid?: string | undefined;
@@ -359,14 +404,19 @@ export type CreateApprovalDecisionResponse = {
359
404
  [x: string]: any;
360
405
  };
361
406
  }) | undefined;
362
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
407
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
363
408
  feeSponsorId?: string | undefined;
364
409
  } | {
365
410
  kind: "Coin";
411
+ /** The coin identifier. */
366
412
  coin: string;
413
+ /** The destination address. */
367
414
  to: string;
415
+ /** The amount of tokens to transfer in minimum denomination. */
368
416
  amount: string;
417
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
369
418
  externalId?: string | undefined;
419
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
370
420
  travelRule?: ({
371
421
  kind: "Notabene";
372
422
  beneficiaryVASPdid?: string | undefined;
@@ -380,15 +430,21 @@ export type CreateApprovalDecisionResponse = {
380
430
  [x: string]: any;
381
431
  };
382
432
  }) | undefined;
383
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
433
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
384
434
  feeSponsorId?: string | undefined;
385
435
  } | {
386
436
  kind: "Erc20";
437
+ /** The ERC-20 contract address. */
387
438
  contract: string;
439
+ /** The destination address. */
388
440
  to: string;
441
+ /** The amount of tokens to transfer in minimum denomination. */
389
442
  amount: string;
443
+ /** The priority that determines the fees paid for the transfer. */
390
444
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
445
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
391
446
  externalId?: string | undefined;
447
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
392
448
  travelRule?: ({
393
449
  kind: "Notabene";
394
450
  beneficiaryVASPdid?: string | undefined;
@@ -402,15 +458,21 @@ export type CreateApprovalDecisionResponse = {
402
458
  [x: string]: any;
403
459
  };
404
460
  }) | undefined;
405
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
461
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
406
462
  feeSponsorId?: string | undefined;
407
463
  } | {
408
464
  kind: "Erc721";
465
+ /** The ERC-721 contract address. */
409
466
  contract: string;
467
+ /** The destination address. */
410
468
  to: string;
469
+ /** The token to transfer. */
411
470
  tokenId: string;
471
+ /** The priority that determines the fees paid for the transfer. */
412
472
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
473
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
413
474
  externalId?: string | undefined;
475
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
414
476
  travelRule?: ({
415
477
  kind: "Notabene";
416
478
  beneficiaryVASPdid?: string | undefined;
@@ -424,14 +486,18 @@ export type CreateApprovalDecisionResponse = {
424
486
  [x: string]: any;
425
487
  };
426
488
  }) | undefined;
427
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
489
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
428
490
  feeSponsorId?: string | undefined;
429
491
  } | {
430
492
  kind: "Hip17";
493
+ /** The token to transfer. */
431
494
  tokenId: string;
432
495
  serialNumber: string;
496
+ /** The destination address. */
433
497
  to: string;
498
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
434
499
  externalId?: string | undefined;
500
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
435
501
  travelRule?: ({
436
502
  kind: "Notabene";
437
503
  beneficiaryVASPdid?: string | undefined;
@@ -445,14 +511,19 @@ export type CreateApprovalDecisionResponse = {
445
511
  [x: string]: any;
446
512
  };
447
513
  }) | undefined;
448
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
514
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
449
515
  feeSponsorId?: string | undefined;
450
516
  } | {
451
517
  kind: "Hts";
518
+ /** The token to transfer. */
452
519
  tokenId: string;
520
+ /** The destination address. */
453
521
  to: string;
522
+ /** The amount of tokens to transfer in minimum denomination. */
454
523
  amount: string;
524
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
455
525
  externalId?: string | undefined;
526
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
456
527
  travelRule?: ({
457
528
  kind: "Notabene";
458
529
  beneficiaryVASPdid?: string | undefined;
@@ -466,16 +537,23 @@ export type CreateApprovalDecisionResponse = {
466
537
  [x: string]: any;
467
538
  };
468
539
  }) | undefined;
469
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
540
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
470
541
  feeSponsorId?: string | undefined;
471
542
  } | {
472
543
  kind: "Sep41";
544
+ /** The asset issuer address. */
473
545
  issuer: string;
546
+ /** The asset code. */
474
547
  assetCode: string;
548
+ /** The destination address. */
475
549
  to: string;
550
+ /** The amount of tokens to transfer in minimum denomination. */
476
551
  amount: string;
552
+ /** The memo or destination tag. */
477
553
  memo?: string | undefined;
554
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
478
555
  externalId?: string | undefined;
556
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
479
557
  travelRule?: ({
480
558
  kind: "Notabene";
481
559
  beneficiaryVASPdid?: string | undefined;
@@ -489,15 +567,21 @@ export type CreateApprovalDecisionResponse = {
489
567
  [x: string]: any;
490
568
  };
491
569
  }) | undefined;
492
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
570
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
493
571
  feeSponsorId?: string | undefined;
494
572
  } | {
495
573
  kind: "Spl" | "Spl2022";
574
+ /** The destination address. */
496
575
  to: string;
576
+ /** The amount of tokens to transfer in minimum denomination. */
497
577
  amount: string;
578
+ /** The mint account address. */
498
579
  mint: string;
580
+ /** If `true`, pay to create the associated token account for the recipient if it doesn't exist. Defaults to `false`. */
499
581
  createDestinationAccount?: boolean | undefined;
582
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
500
583
  externalId?: string | undefined;
584
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
501
585
  travelRule?: ({
502
586
  kind: "Notabene";
503
587
  beneficiaryVASPdid?: string | undefined;
@@ -511,15 +595,21 @@ export type CreateApprovalDecisionResponse = {
511
595
  [x: string]: any;
512
596
  };
513
597
  }) | undefined;
514
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
598
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
515
599
  feeSponsorId?: string | undefined;
516
600
  } | {
517
601
  kind: "Tep74";
602
+ /** The destination address. */
518
603
  to: string;
604
+ /** The Jetton master contract address. */
519
605
  master: string;
606
+ /** The amount of tokens to transfer in minimum denomination. */
520
607
  amount: string;
608
+ /** The memo or destination tag. */
521
609
  memo?: string | undefined;
610
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
522
611
  externalId?: string | undefined;
612
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
523
613
  travelRule?: ({
524
614
  kind: "Notabene";
525
615
  beneficiaryVASPdid?: string | undefined;
@@ -533,14 +623,19 @@ export type CreateApprovalDecisionResponse = {
533
623
  [x: string]: any;
534
624
  };
535
625
  }) | undefined;
536
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
626
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
537
627
  feeSponsorId?: string | undefined;
538
628
  } | {
539
629
  kind: "Trc10";
630
+ /** The token ID. */
540
631
  tokenId: string;
632
+ /** The destination address. */
541
633
  to: string;
634
+ /** The amount of tokens to transfer in minimum denomination. */
542
635
  amount: string;
636
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
543
637
  externalId?: string | undefined;
638
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
544
639
  travelRule?: ({
545
640
  kind: "Notabene";
546
641
  beneficiaryVASPdid?: string | undefined;
@@ -554,14 +649,19 @@ export type CreateApprovalDecisionResponse = {
554
649
  [x: string]: any;
555
650
  };
556
651
  }) | undefined;
557
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
652
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
558
653
  feeSponsorId?: string | undefined;
559
654
  } | {
560
655
  kind: "Trc20";
656
+ /** The smart contract address. */
561
657
  contract: string;
658
+ /** The destination address. */
562
659
  to: string;
660
+ /** The amount of tokens to transfer in minimum denomination. */
563
661
  amount: string;
662
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
564
663
  externalId?: string | undefined;
664
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
565
665
  travelRule?: ({
566
666
  kind: "Notabene";
567
667
  beneficiaryVASPdid?: string | undefined;
@@ -575,14 +675,19 @@ export type CreateApprovalDecisionResponse = {
575
675
  [x: string]: any;
576
676
  };
577
677
  }) | undefined;
578
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
678
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
579
679
  feeSponsorId?: string | undefined;
580
680
  } | {
581
681
  kind: "Trc721";
682
+ /** The smart contract address. */
582
683
  contract: string;
684
+ /** The destination address. */
583
685
  to: string;
686
+ /** The token to transfer. */
584
687
  tokenId: string;
688
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
585
689
  externalId?: string | undefined;
690
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
586
691
  travelRule?: ({
587
692
  kind: "Notabene";
588
693
  beneficiaryVASPdid?: string | undefined;
@@ -596,7 +701,7 @@ export type CreateApprovalDecisionResponse = {
596
701
  [x: string]: any;
597
702
  };
598
703
  }) | undefined;
599
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
704
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
600
705
  feeSponsorId?: string | undefined;
601
706
  };
602
707
  metadata: {
@@ -631,15 +736,19 @@ export type CreateApprovalDecisionResponse = {
631
736
  };
632
737
  requestBody: {
633
738
  kind: "Transaction";
739
+ /** The unsigned hex encoded transaction. EVM transactions also accept JSON objects. */
634
740
  transaction: string | {};
741
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
635
742
  externalId?: string | undefined;
636
743
  } | {
637
744
  kind: "Evm";
638
745
  to?: string | undefined;
639
746
  value?: (string | string) | undefined;
640
747
  data?: string | undefined;
748
+ /** The current nonce of the signer EOA. */
641
749
  nonce?: (number | string | string) | undefined;
642
750
  gasLimit?: (string | string) | undefined;
751
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
643
752
  externalId?: string | undefined;
644
753
  } | {
645
754
  kind: "Eip1559";
@@ -650,32 +759,43 @@ export type CreateApprovalDecisionResponse = {
650
759
  gasLimit?: (string | string) | undefined;
651
760
  maxFeePerGas?: (string | string) | undefined;
652
761
  maxPriorityFeePerGas?: (string | string) | undefined;
762
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
653
763
  externalId?: string | undefined;
654
764
  } | {
655
765
  kind: "Psbt";
766
+ /** The hex encoded PSBT. */
656
767
  psbt: string;
768
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
657
769
  externalId?: string | undefined;
658
770
  } | {
659
771
  kind: "Json";
660
772
  transaction: {};
773
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
661
774
  externalId?: string | undefined;
662
775
  } | {
663
776
  kind: "SignDocDirect";
664
777
  signDoc: string;
778
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
665
779
  externalId?: string | undefined;
666
780
  } | {
667
781
  kind: "UserOperations";
668
782
  userOperations: {
783
+ /** The destination address or target contract. */
669
784
  to: string;
785
+ /** The amount of native tokens to transfer in minimum denomination. */
670
786
  value?: string | undefined;
787
+ /** ABI encoded function call data in hex format. */
671
788
  data?: string | undefined;
672
789
  }[];
790
+ /** A fee sponsor id to sponsor the transaction fee by another wallet. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
673
791
  feeSponsorId: string;
792
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
674
793
  externalId?: string | undefined;
675
794
  } | {
676
795
  kind: "SettleOffer";
677
796
  txHash: string;
678
797
  decision: "Accept" | "Reject";
798
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
679
799
  externalId?: string | undefined;
680
800
  };
681
801
  status: "Pending" | "Executing" | "Broadcasted" | "Confirmed" | "Failed" | "Rejected";
@@ -698,90 +818,165 @@ export type CreateApprovalDecisionResponse = {
698
818
  };
699
819
  requestBody: {
700
820
  kind: "Hash";
821
+ /** 32-byte hash in hex encoded format. */
701
822
  hash: string;
823
+ /** Required when signing with a Schnorr key. Specify the merkle root for tweaking the signing key, or the empty string "" to tweak with the default merkle root. */
702
824
  taprootMerkleRoot?: string | undefined;
703
825
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
704
826
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
827
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
705
828
  externalId?: string | undefined;
706
829
  } | {
707
830
  kind: "Message";
831
+ /** An arbitrary hex encoded message. */
708
832
  message: string;
709
833
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
710
834
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
835
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
711
836
  externalId?: string | undefined;
712
837
  } | {
713
838
  kind: "Eip7702";
839
+ /** The address of the contract the signer's EOA will be delegated to. */
714
840
  address: string;
841
+ /** The current nonce of the signer EOA. */
715
842
  nonce: number;
843
+ /** Chain ID. */
716
844
  chainId: number;
717
845
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
718
846
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
847
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
719
848
  externalId?: string | undefined;
720
849
  } | {
721
850
  kind: "Transaction";
851
+ /** The unsigned hex-encoded transaction. */
722
852
  transaction: string;
723
853
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
724
854
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
855
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
725
856
  externalId?: string | undefined;
726
857
  } | {
727
858
  kind: "Eip712";
859
+ /** Type definitions. */
728
860
  types: {
729
861
  [x: string]: {
730
862
  name: string;
731
863
  type: string;
732
864
  }[];
733
865
  };
866
+ /** Domain separator. */
734
867
  domain: {
868
+ /** Name of the signing domain. */
735
869
  name?: string | undefined;
870
+ /** Current major version of the signing domain. */
736
871
  version?: string | undefined;
872
+ /** Chain ID. */
737
873
  chainId?: (number | string) | undefined;
874
+ /** The address of the contract that will verify the signature. */
738
875
  verifyingContract?: string | undefined;
876
+ /** 32-byte value as a last-resort domain separator. */
739
877
  salt?: string | undefined;
740
878
  };
879
+ /** Structured message to sign. */
741
880
  message: {
742
881
  [x: string]: unknown;
743
882
  };
744
883
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
745
884
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
885
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
746
886
  externalId?: string | undefined;
747
887
  } | {
748
888
  kind: "Psbt";
889
+ /** The hex encoded PSBT. */
749
890
  psbt: string;
750
891
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
751
892
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
893
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
752
894
  externalId?: string | undefined;
753
895
  } | {
754
896
  kind: "Bip322";
897
+ /** The generic message hex encoded. */
755
898
  message: string;
899
+ /** Defaults to Simple if not present. The formatted signature is returned in the `signedData` field in the response. */
756
900
  format?: ("Simple" | "Full") | undefined;
757
901
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
758
902
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
903
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
759
904
  externalId?: string | undefined;
760
905
  } | {
761
906
  kind: "PactCommand";
907
+ /** The Pact command JSON, serialized into a string. */
762
908
  command: string;
763
909
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
764
910
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
911
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
765
912
  externalId?: string | undefined;
766
913
  } | {
767
914
  kind: "SignDocDirect";
915
+ /** The hex encoded `SignDoc` Protobuf. */
768
916
  signDoc: string;
769
917
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
770
918
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
919
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
771
920
  externalId?: string | undefined;
772
921
  } | {
773
922
  kind: "SignerPayload";
923
+ /** The unsigned Signer Payload formatted as JSON, or as a serialized hex-encoded buffer.
924
+
925
+ Please refer to the original Polkadot definition for more details: [SignerPayloadJson](https://github.com/polkadot-js/api/blob/v16.2.2/packages/types/src/types/extrinsic.ts#L32). Note that additional fields will be rejected.
926
+
927
+ | Field | Description | Type - Optional |
928
+ | -------------------- | ---------------------------------------------------------------------------------------- | -------------------- |
929
+ | `address` | ss58-encoded address of the sending account. | String |
930
+ | `blockHash` | The hash of the checkpoint block, hex encoded. | String |
931
+ | `blockNumber` | The checkpoint block number, hex encoded. | String |
932
+ | `era` | The number of blocks after the checkpoint for which a transaction is valid, hex encoded. | String |
933
+ | `genesisHash` | The genesis hash of the chain, hex encoded. | String |
934
+ | `metadataHash` | The metadataHash for the CheckMetadataHash SignedExtension, hex encoded. | String *(optional)* |
935
+ | `mode` | flag indicating whether to verify the metadata hash or not. | Integer *(optional)* |
936
+ | `method` | The encoded method with arguments, hex encoded. | String |
937
+ | `nonce` | The nonce for the transaction, hex encoded. | String |
938
+ | `tip` | The tip to increase transaction priority, hex encoded. | String |
939
+ | `version` | The version of the extrinsic. | Integer |
940
+ | `specVersion` | The current spec version for the runtime, hex encoded. | String |
941
+ | `transactionVersion` | The current transaction version for the runtime, hex encoded. | String |
942
+ | `signedExtensions` | The applicable signed extensions for this runtime. | Array<String> |
943
+
944
+ ```json
945
+ {
946
+ "network": "Polymesh",
947
+ "kind": "SignerPayload",
948
+ "payload": {
949
+ "address": "5H5tTnmLUqRgvTZvTwCdBKYjKLBm2gkp7u38Q9UUdJa8m6rX",
950
+ "blockHash": "0x2ace05e703aa50b48c0ccccfc8b424f7aab9a1e2c424ed12e45d20b1e8ffd0d6",
951
+ "blockNumber": "0x00000000",
952
+ "era": "0x00",
953
+ "genesisHash": "0x2ace05e703aa50b48c0ccccfc8b424f7aab9a1e2c424ed12e45d20b1e8ffd0d6",
954
+ "method": "0x07141f3da32e72ac6eb6cb40d9e757594363a617b2c3964a2b6ec6895c6648f48d500000",
955
+ "nonce": "0x00000000",
956
+ "tip": "0x00000000000000000000000000000000",
957
+ "version": 4,
958
+ "specVersion": "0x006adb7a",
959
+ "transactionVersion": "0x00000007",
960
+ "signedExtensions": []
961
+ }
962
+ }
963
+ ```
964
+ */
774
965
  payload: string | {};
775
966
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
776
967
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
968
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
777
969
  externalId?: string | undefined;
778
970
  } | {
779
971
  kind: "Cip8";
972
+ /** The generic message hex encoded. */
780
973
  payload?: string | undefined;
974
+ /** Allows an application to ask the user to sign some extra data but NOT put it inside the COSE structure (only as part of the data to sign). */
781
975
  externalAad?: string | undefined;
782
976
  context: "Signature1";
783
977
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
784
978
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
979
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
785
980
  externalId?: string | undefined;
786
981
  };
787
982
  status: "Pending" | "Executing" | "Signed" | "Confirmed" | "Failed" | "Rejected";
@@ -814,6 +1009,7 @@ export type CreateApprovalDecisionResponse = {
814
1009
  quoteId: string;
815
1010
  reference: string | null;
816
1011
  sourceWalletId: string;
1012
+ walletId: string;
817
1013
  targetWalletId: string;
818
1014
  status: "PendingPolicyApproval" | "InProgress" | "Completed" | "Failed" | "Rejected";
819
1015
  provider: "UniswapX" | "UniswapClassic";
@@ -850,11 +1046,33 @@ export type CreateApprovalDecisionResponse = {
850
1046
  };
851
1047
  };
852
1048
  slippageToleranceInBps: number;
1049
+ slippageBps: number;
853
1050
  dateCreated: string;
854
1051
  requestBody: {
855
- sourceWalletId: string;
856
1052
  quoteId: string;
857
1053
  reference?: string | undefined;
1054
+ provider?: ("UniswapX" | "UniswapClassic") | undefined;
1055
+ sourceWalletId?: string | undefined;
1056
+ walletId?: string | undefined;
1057
+ targetWalletId?: string | undefined;
1058
+ slippageToleranceInBps?: number | undefined;
1059
+ slippageBps?: number | undefined;
1060
+ sourceAsset?: ({
1061
+ kind: "Native";
1062
+ amount: string;
1063
+ } | {
1064
+ kind: "Erc20";
1065
+ contract: string;
1066
+ amount: string;
1067
+ }) | undefined;
1068
+ targetAsset?: ({
1069
+ kind: "Native";
1070
+ amount: string;
1071
+ } | {
1072
+ kind: "Erc20";
1073
+ contract: string;
1074
+ amount: string;
1075
+ }) | undefined;
858
1076
  };
859
1077
  requester: {
860
1078
  userId: string;
@@ -1489,6 +1707,7 @@ export type CreateApprovalDecisionResponse = {
1489
1707
  dateCreated?: string | undefined;
1490
1708
  dateUpdated?: string | undefined;
1491
1709
  activityKind: "Alias:Modify";
1710
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
1492
1711
  rule: {
1493
1712
  kind: "AlwaysTrigger";
1494
1713
  configuration?: {} | undefined;
@@ -1503,6 +1722,8 @@ export type CreateApprovalDecisionResponse = {
1503
1722
  in: string[];
1504
1723
  } | undefined;
1505
1724
  };
1725
+ /** Whether the initiator of the activity can participate in the approval. */
1726
+ initiatorCanApprove?: boolean | undefined;
1506
1727
  }[];
1507
1728
  autoRejectTimeout?: (number | undefined) | null;
1508
1729
  } | {
@@ -1516,6 +1737,7 @@ export type CreateApprovalDecisionResponse = {
1516
1737
  dateCreated?: string | undefined;
1517
1738
  dateUpdated?: string | undefined;
1518
1739
  activityKind: "Permissions:Assign";
1740
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
1519
1741
  rule: {
1520
1742
  kind: "AlwaysTrigger";
1521
1743
  configuration?: {} | undefined;
@@ -1530,6 +1752,8 @@ export type CreateApprovalDecisionResponse = {
1530
1752
  in: string[];
1531
1753
  } | undefined;
1532
1754
  };
1755
+ /** Whether the initiator of the activity can participate in the approval. */
1756
+ initiatorCanApprove?: boolean | undefined;
1533
1757
  }[];
1534
1758
  autoRejectTimeout?: (number | undefined) | null;
1535
1759
  } | {
@@ -1547,6 +1771,7 @@ export type CreateApprovalDecisionResponse = {
1547
1771
  dateCreated?: string | undefined;
1548
1772
  dateUpdated?: string | undefined;
1549
1773
  activityKind: "Permissions:Modify";
1774
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
1550
1775
  rule: {
1551
1776
  kind: "AlwaysTrigger";
1552
1777
  configuration?: {} | undefined;
@@ -1561,6 +1786,8 @@ export type CreateApprovalDecisionResponse = {
1561
1786
  in: string[];
1562
1787
  } | undefined;
1563
1788
  };
1789
+ /** Whether the initiator of the activity can participate in the approval. */
1790
+ initiatorCanApprove?: boolean | undefined;
1564
1791
  }[];
1565
1792
  autoRejectTimeout?: (number | undefined) | null;
1566
1793
  } | {
@@ -1578,6 +1805,7 @@ export type CreateApprovalDecisionResponse = {
1578
1805
  dateCreated?: string | undefined;
1579
1806
  dateUpdated?: string | undefined;
1580
1807
  activityKind: "Policies:Modify";
1808
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
1581
1809
  rule: {
1582
1810
  kind: "AlwaysTrigger";
1583
1811
  configuration?: {} | undefined;
@@ -1592,6 +1820,8 @@ export type CreateApprovalDecisionResponse = {
1592
1820
  in: string[];
1593
1821
  } | undefined;
1594
1822
  };
1823
+ /** Whether the initiator of the activity can participate in the approval. */
1824
+ initiatorCanApprove?: boolean | undefined;
1595
1825
  }[];
1596
1826
  autoRejectTimeout?: (number | undefined) | null;
1597
1827
  };
@@ -1613,25 +1843,33 @@ export type CreateApprovalDecisionResponse = {
1613
1843
  } | {
1614
1844
  kind: "TransactionRecipientWhitelist";
1615
1845
  configuration: {
1846
+ /** Whitelisted recipient addresses */
1616
1847
  addresses: string[];
1617
1848
  };
1618
1849
  } | {
1619
1850
  kind: "TransactionAmountLimit";
1620
1851
  configuration: {
1852
+ /** Amount limit in `currency` */
1621
1853
  limit: number;
1854
+ /** Fiat currency, currently only `USD` */
1622
1855
  currency: "USD";
1623
1856
  };
1624
1857
  } | {
1625
1858
  kind: "TransactionAmountVelocity";
1626
1859
  configuration: {
1860
+ /** Amount limit in `currency` */
1627
1861
  limit: number;
1862
+ /** Currency for the amount limit above */
1628
1863
  currency: "USD";
1864
+ /** Time period in minutes. Minimum 1, Maximum 43,200. */
1629
1865
  timeframe: number;
1630
1866
  };
1631
1867
  } | {
1632
1868
  kind: "TransactionCountVelocity";
1633
1869
  configuration: {
1870
+ /** Count limit */
1634
1871
  limit: number;
1872
+ /** Time period in minutes. Minimum 1, Maximum 43,200. */
1635
1873
  timeframe: number;
1636
1874
  };
1637
1875
  } | {
@@ -1674,6 +1912,8 @@ export type CreateApprovalDecisionResponse = {
1674
1912
  in: string[];
1675
1913
  } | undefined;
1676
1914
  };
1915
+ /** Whether the initiator of the activity can participate in the approval. */
1916
+ initiatorCanApprove?: boolean | undefined;
1677
1917
  }[];
1678
1918
  autoRejectTimeout?: (number | undefined) | null;
1679
1919
  } | {
@@ -1843,6 +2083,7 @@ export type CreateApprovalDecisionRequest = CreateApprovalDecisionParams & {
1843
2083
  export type CreatePolicyBody = {
1844
2084
  name: string;
1845
2085
  activityKind: "Alias:Modify";
2086
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
1846
2087
  rule: {
1847
2088
  kind: "AlwaysTrigger";
1848
2089
  configuration?: {} | undefined;
@@ -1857,6 +2098,8 @@ export type CreatePolicyBody = {
1857
2098
  in: string[];
1858
2099
  } | undefined;
1859
2100
  };
2101
+ /** Whether the initiator of the activity can participate in the approval. */
2102
+ initiatorCanApprove?: boolean | undefined;
1860
2103
  }[];
1861
2104
  autoRejectTimeout?: (number | undefined) | null;
1862
2105
  } | {
@@ -1866,6 +2109,7 @@ export type CreatePolicyBody = {
1866
2109
  } | {
1867
2110
  name: string;
1868
2111
  activityKind: "Permissions:Assign";
2112
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
1869
2113
  rule: {
1870
2114
  kind: "AlwaysTrigger";
1871
2115
  configuration?: {} | undefined;
@@ -1880,6 +2124,8 @@ export type CreatePolicyBody = {
1880
2124
  in: string[];
1881
2125
  } | undefined;
1882
2126
  };
2127
+ /** Whether the initiator of the activity can participate in the approval. */
2128
+ initiatorCanApprove?: boolean | undefined;
1883
2129
  }[];
1884
2130
  autoRejectTimeout?: (number | undefined) | null;
1885
2131
  } | {
@@ -1893,6 +2139,7 @@ export type CreatePolicyBody = {
1893
2139
  } | {
1894
2140
  name: string;
1895
2141
  activityKind: "Permissions:Modify";
2142
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
1896
2143
  rule: {
1897
2144
  kind: "AlwaysTrigger";
1898
2145
  configuration?: {} | undefined;
@@ -1907,6 +2154,8 @@ export type CreatePolicyBody = {
1907
2154
  in: string[];
1908
2155
  } | undefined;
1909
2156
  };
2157
+ /** Whether the initiator of the activity can participate in the approval. */
2158
+ initiatorCanApprove?: boolean | undefined;
1910
2159
  }[];
1911
2160
  autoRejectTimeout?: (number | undefined) | null;
1912
2161
  } | {
@@ -1920,6 +2169,7 @@ export type CreatePolicyBody = {
1920
2169
  } | {
1921
2170
  name: string;
1922
2171
  activityKind: "Policies:Modify";
2172
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
1923
2173
  rule: {
1924
2174
  kind: "AlwaysTrigger";
1925
2175
  configuration?: {} | undefined;
@@ -1934,6 +2184,8 @@ export type CreatePolicyBody = {
1934
2184
  in: string[];
1935
2185
  } | undefined;
1936
2186
  };
2187
+ /** Whether the initiator of the activity can participate in the approval. */
2188
+ initiatorCanApprove?: boolean | undefined;
1937
2189
  }[];
1938
2190
  autoRejectTimeout?: (number | undefined) | null;
1939
2191
  };
@@ -1951,25 +2203,33 @@ export type CreatePolicyBody = {
1951
2203
  } | {
1952
2204
  kind: "TransactionRecipientWhitelist";
1953
2205
  configuration: {
2206
+ /** Whitelisted recipient addresses */
1954
2207
  addresses: string[];
1955
2208
  };
1956
2209
  } | {
1957
2210
  kind: "TransactionAmountLimit";
1958
2211
  configuration: {
2212
+ /** Amount limit in `currency` */
1959
2213
  limit: number;
2214
+ /** Fiat currency, currently only `USD` */
1960
2215
  currency: "USD";
1961
2216
  };
1962
2217
  } | {
1963
2218
  kind: "TransactionAmountVelocity";
1964
2219
  configuration: {
2220
+ /** Amount limit in `currency` */
1965
2221
  limit: number;
2222
+ /** Currency for the amount limit above */
1966
2223
  currency: "USD";
2224
+ /** Time period in minutes. Minimum 1, Maximum 43,200. */
1967
2225
  timeframe: number;
1968
2226
  };
1969
2227
  } | {
1970
2228
  kind: "TransactionCountVelocity";
1971
2229
  configuration: {
2230
+ /** Count limit */
1972
2231
  limit: number;
2232
+ /** Time period in minutes. Minimum 1, Maximum 43,200. */
1973
2233
  timeframe: number;
1974
2234
  };
1975
2235
  } | {
@@ -2012,6 +2272,8 @@ export type CreatePolicyBody = {
2012
2272
  in: string[];
2013
2273
  } | undefined;
2014
2274
  };
2275
+ /** Whether the initiator of the activity can participate in the approval. */
2276
+ initiatorCanApprove?: boolean | undefined;
2015
2277
  }[];
2016
2278
  autoRejectTimeout?: (number | undefined) | null;
2017
2279
  } | {
@@ -2071,6 +2333,7 @@ export type CreatePolicyResponse = {
2071
2333
  dateCreated?: string | undefined;
2072
2334
  dateUpdated?: string | undefined;
2073
2335
  activityKind: "Alias:Modify";
2336
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
2074
2337
  rule: {
2075
2338
  kind: "AlwaysTrigger";
2076
2339
  configuration?: {} | undefined;
@@ -2085,6 +2348,8 @@ export type CreatePolicyResponse = {
2085
2348
  in: string[];
2086
2349
  } | undefined;
2087
2350
  };
2351
+ /** Whether the initiator of the activity can participate in the approval. */
2352
+ initiatorCanApprove?: boolean | undefined;
2088
2353
  }[];
2089
2354
  autoRejectTimeout?: (number | undefined) | null;
2090
2355
  } | {
@@ -2098,6 +2363,7 @@ export type CreatePolicyResponse = {
2098
2363
  dateCreated?: string | undefined;
2099
2364
  dateUpdated?: string | undefined;
2100
2365
  activityKind: "Permissions:Assign";
2366
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
2101
2367
  rule: {
2102
2368
  kind: "AlwaysTrigger";
2103
2369
  configuration?: {} | undefined;
@@ -2112,6 +2378,8 @@ export type CreatePolicyResponse = {
2112
2378
  in: string[];
2113
2379
  } | undefined;
2114
2380
  };
2381
+ /** Whether the initiator of the activity can participate in the approval. */
2382
+ initiatorCanApprove?: boolean | undefined;
2115
2383
  }[];
2116
2384
  autoRejectTimeout?: (number | undefined) | null;
2117
2385
  } | {
@@ -2129,6 +2397,7 @@ export type CreatePolicyResponse = {
2129
2397
  dateCreated?: string | undefined;
2130
2398
  dateUpdated?: string | undefined;
2131
2399
  activityKind: "Permissions:Modify";
2400
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
2132
2401
  rule: {
2133
2402
  kind: "AlwaysTrigger";
2134
2403
  configuration?: {} | undefined;
@@ -2143,6 +2412,8 @@ export type CreatePolicyResponse = {
2143
2412
  in: string[];
2144
2413
  } | undefined;
2145
2414
  };
2415
+ /** Whether the initiator of the activity can participate in the approval. */
2416
+ initiatorCanApprove?: boolean | undefined;
2146
2417
  }[];
2147
2418
  autoRejectTimeout?: (number | undefined) | null;
2148
2419
  } | {
@@ -2160,6 +2431,7 @@ export type CreatePolicyResponse = {
2160
2431
  dateCreated?: string | undefined;
2161
2432
  dateUpdated?: string | undefined;
2162
2433
  activityKind: "Policies:Modify";
2434
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
2163
2435
  rule: {
2164
2436
  kind: "AlwaysTrigger";
2165
2437
  configuration?: {} | undefined;
@@ -2174,6 +2446,8 @@ export type CreatePolicyResponse = {
2174
2446
  in: string[];
2175
2447
  } | undefined;
2176
2448
  };
2449
+ /** Whether the initiator of the activity can participate in the approval. */
2450
+ initiatorCanApprove?: boolean | undefined;
2177
2451
  }[];
2178
2452
  autoRejectTimeout?: (number | undefined) | null;
2179
2453
  };
@@ -2195,25 +2469,33 @@ export type CreatePolicyResponse = {
2195
2469
  } | {
2196
2470
  kind: "TransactionRecipientWhitelist";
2197
2471
  configuration: {
2472
+ /** Whitelisted recipient addresses */
2198
2473
  addresses: string[];
2199
2474
  };
2200
2475
  } | {
2201
2476
  kind: "TransactionAmountLimit";
2202
2477
  configuration: {
2478
+ /** Amount limit in `currency` */
2203
2479
  limit: number;
2480
+ /** Fiat currency, currently only `USD` */
2204
2481
  currency: "USD";
2205
2482
  };
2206
2483
  } | {
2207
2484
  kind: "TransactionAmountVelocity";
2208
2485
  configuration: {
2486
+ /** Amount limit in `currency` */
2209
2487
  limit: number;
2488
+ /** Currency for the amount limit above */
2210
2489
  currency: "USD";
2490
+ /** Time period in minutes. Minimum 1, Maximum 43,200. */
2211
2491
  timeframe: number;
2212
2492
  };
2213
2493
  } | {
2214
2494
  kind: "TransactionCountVelocity";
2215
2495
  configuration: {
2496
+ /** Count limit */
2216
2497
  limit: number;
2498
+ /** Time period in minutes. Minimum 1, Maximum 43,200. */
2217
2499
  timeframe: number;
2218
2500
  };
2219
2501
  } | {
@@ -2256,6 +2538,8 @@ export type CreatePolicyResponse = {
2256
2538
  in: string[];
2257
2539
  } | undefined;
2258
2540
  };
2541
+ /** Whether the initiator of the activity can participate in the approval. */
2542
+ initiatorCanApprove?: boolean | undefined;
2259
2543
  }[];
2260
2544
  autoRejectTimeout?: (number | undefined) | null;
2261
2545
  } | {
@@ -2333,17 +2617,25 @@ export type GetApprovalResponse = {
2333
2617
  };
2334
2618
  requestBody: {
2335
2619
  kind: "Native";
2620
+ /** The destination address. */
2336
2621
  to: string;
2622
+ /** The amount of native tokens to transfer in minimum denomination. */
2337
2623
  amount: string;
2624
+ /** The memo or destination tag. `Stellar`, `TON` and `XrpLedger` support `memo`. Not valid for other networks. */
2338
2625
  memo?: string | undefined;
2626
+ /** The priority that determines the fees paid for the transfer. All EVM compatible networks and Bitcoin support `priority`. Not supported for other networks. It uses the [estimate fees](https://docs.dfns.co/api-reference/networks/estimate-fees) API to calculate the transfer fees. When not specified, defaults to `Standard` priority. */
2339
2627
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
2628
+ /** Whether to create the destination account on chains that require account creation (e.g., Stellar, Kadena). Only valid for chains that require the receiver account to exist before transfer. */
2340
2629
  createDestinationAccount?: boolean | undefined;
2341
- /** Optional field for Canton, if true it will create a transfer offer */
2630
+ /** Optional field for Canton, if true it will create a transfer offer. */
2342
2631
  offer?: boolean | undefined;
2343
2632
  /** Optional field for Canton, especially useful in the context of offers */
2344
2633
  expiresAt?: string | undefined;
2634
+ /** For multi-chain networks (e.g., Kadena), specify the destination chain for cross-chain transfers. */
2345
2635
  targetChain?: string | undefined;
2636
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
2346
2637
  externalId?: string | undefined;
2638
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
2347
2639
  travelRule?: ({
2348
2640
  kind: "Notabene";
2349
2641
  beneficiaryVASPdid?: string | undefined;
@@ -2357,14 +2649,19 @@ export type GetApprovalResponse = {
2357
2649
  [x: string]: any;
2358
2650
  };
2359
2651
  }) | undefined;
2360
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
2652
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
2361
2653
  feeSponsorId?: string | undefined;
2362
2654
  } | {
2363
2655
  kind: "Asa";
2656
+ /** The token asset id. */
2364
2657
  assetId: string;
2658
+ /** The destination address. */
2365
2659
  to: string;
2660
+ /** The amount of tokens to transfer in minimum denomination. */
2366
2661
  amount: string;
2662
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
2367
2663
  externalId?: string | undefined;
2664
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
2368
2665
  travelRule?: ({
2369
2666
  kind: "Notabene";
2370
2667
  beneficiaryVASPdid?: string | undefined;
@@ -2378,14 +2675,19 @@ export type GetApprovalResponse = {
2378
2675
  [x: string]: any;
2379
2676
  };
2380
2677
  }) | undefined;
2381
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
2678
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
2382
2679
  feeSponsorId?: string | undefined;
2383
2680
  } | {
2384
2681
  kind: "Aip21";
2682
+ /** The asset metadata address. */
2385
2683
  metadata: string;
2684
+ /** The destination address. */
2386
2685
  to: string;
2686
+ /** The amount of tokens to transfer in minimum denomination. */
2387
2687
  amount: string;
2688
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
2388
2689
  externalId?: string | undefined;
2690
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
2389
2691
  travelRule?: ({
2390
2692
  kind: "Notabene";
2391
2693
  beneficiaryVASPdid?: string | undefined;
@@ -2399,14 +2701,19 @@ export type GetApprovalResponse = {
2399
2701
  [x: string]: any;
2400
2702
  };
2401
2703
  }) | undefined;
2402
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
2704
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
2403
2705
  feeSponsorId?: string | undefined;
2404
2706
  } | {
2405
2707
  kind: "Asset";
2708
+ /** The token asset id. */
2406
2709
  assetId: string;
2710
+ /** The destination address. */
2407
2711
  to: string;
2712
+ /** The amount of tokens to transfer in minimum denomination. */
2408
2713
  amount: string;
2714
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
2409
2715
  externalId?: string | undefined;
2716
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
2410
2717
  travelRule?: ({
2411
2718
  kind: "Notabene";
2412
2719
  beneficiaryVASPdid?: string | undefined;
@@ -2420,14 +2727,19 @@ export type GetApprovalResponse = {
2420
2727
  [x: string]: any;
2421
2728
  };
2422
2729
  }) | undefined;
2423
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
2730
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
2424
2731
  feeSponsorId?: string | undefined;
2425
2732
  } | {
2426
2733
  kind: "Coin";
2734
+ /** The coin identifier. */
2427
2735
  coin: string;
2736
+ /** The destination address. */
2428
2737
  to: string;
2738
+ /** The amount of tokens to transfer in minimum denomination. */
2429
2739
  amount: string;
2740
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
2430
2741
  externalId?: string | undefined;
2742
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
2431
2743
  travelRule?: ({
2432
2744
  kind: "Notabene";
2433
2745
  beneficiaryVASPdid?: string | undefined;
@@ -2441,15 +2753,21 @@ export type GetApprovalResponse = {
2441
2753
  [x: string]: any;
2442
2754
  };
2443
2755
  }) | undefined;
2444
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
2756
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
2445
2757
  feeSponsorId?: string | undefined;
2446
2758
  } | {
2447
2759
  kind: "Erc20";
2760
+ /** The ERC-20 contract address. */
2448
2761
  contract: string;
2762
+ /** The destination address. */
2449
2763
  to: string;
2764
+ /** The amount of tokens to transfer in minimum denomination. */
2450
2765
  amount: string;
2766
+ /** The priority that determines the fees paid for the transfer. */
2451
2767
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
2768
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
2452
2769
  externalId?: string | undefined;
2770
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
2453
2771
  travelRule?: ({
2454
2772
  kind: "Notabene";
2455
2773
  beneficiaryVASPdid?: string | undefined;
@@ -2463,15 +2781,21 @@ export type GetApprovalResponse = {
2463
2781
  [x: string]: any;
2464
2782
  };
2465
2783
  }) | undefined;
2466
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
2784
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
2467
2785
  feeSponsorId?: string | undefined;
2468
2786
  } | {
2469
2787
  kind: "Erc721";
2788
+ /** The ERC-721 contract address. */
2470
2789
  contract: string;
2790
+ /** The destination address. */
2471
2791
  to: string;
2792
+ /** The token to transfer. */
2472
2793
  tokenId: string;
2794
+ /** The priority that determines the fees paid for the transfer. */
2473
2795
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
2796
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
2474
2797
  externalId?: string | undefined;
2798
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
2475
2799
  travelRule?: ({
2476
2800
  kind: "Notabene";
2477
2801
  beneficiaryVASPdid?: string | undefined;
@@ -2485,14 +2809,18 @@ export type GetApprovalResponse = {
2485
2809
  [x: string]: any;
2486
2810
  };
2487
2811
  }) | undefined;
2488
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
2812
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
2489
2813
  feeSponsorId?: string | undefined;
2490
2814
  } | {
2491
2815
  kind: "Hip17";
2816
+ /** The token to transfer. */
2492
2817
  tokenId: string;
2493
2818
  serialNumber: string;
2819
+ /** The destination address. */
2494
2820
  to: string;
2821
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
2495
2822
  externalId?: string | undefined;
2823
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
2496
2824
  travelRule?: ({
2497
2825
  kind: "Notabene";
2498
2826
  beneficiaryVASPdid?: string | undefined;
@@ -2506,14 +2834,19 @@ export type GetApprovalResponse = {
2506
2834
  [x: string]: any;
2507
2835
  };
2508
2836
  }) | undefined;
2509
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
2837
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
2510
2838
  feeSponsorId?: string | undefined;
2511
2839
  } | {
2512
2840
  kind: "Hts";
2841
+ /** The token to transfer. */
2513
2842
  tokenId: string;
2843
+ /** The destination address. */
2514
2844
  to: string;
2845
+ /** The amount of tokens to transfer in minimum denomination. */
2515
2846
  amount: string;
2847
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
2516
2848
  externalId?: string | undefined;
2849
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
2517
2850
  travelRule?: ({
2518
2851
  kind: "Notabene";
2519
2852
  beneficiaryVASPdid?: string | undefined;
@@ -2527,16 +2860,23 @@ export type GetApprovalResponse = {
2527
2860
  [x: string]: any;
2528
2861
  };
2529
2862
  }) | undefined;
2530
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
2863
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
2531
2864
  feeSponsorId?: string | undefined;
2532
2865
  } | {
2533
2866
  kind: "Sep41";
2867
+ /** The asset issuer address. */
2534
2868
  issuer: string;
2869
+ /** The asset code. */
2535
2870
  assetCode: string;
2871
+ /** The destination address. */
2536
2872
  to: string;
2873
+ /** The amount of tokens to transfer in minimum denomination. */
2537
2874
  amount: string;
2875
+ /** The memo or destination tag. */
2538
2876
  memo?: string | undefined;
2877
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
2539
2878
  externalId?: string | undefined;
2879
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
2540
2880
  travelRule?: ({
2541
2881
  kind: "Notabene";
2542
2882
  beneficiaryVASPdid?: string | undefined;
@@ -2550,15 +2890,21 @@ export type GetApprovalResponse = {
2550
2890
  [x: string]: any;
2551
2891
  };
2552
2892
  }) | undefined;
2553
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
2893
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
2554
2894
  feeSponsorId?: string | undefined;
2555
2895
  } | {
2556
2896
  kind: "Spl" | "Spl2022";
2897
+ /** The destination address. */
2557
2898
  to: string;
2899
+ /** The amount of tokens to transfer in minimum denomination. */
2558
2900
  amount: string;
2901
+ /** The mint account address. */
2559
2902
  mint: string;
2903
+ /** If `true`, pay to create the associated token account for the recipient if it doesn't exist. Defaults to `false`. */
2560
2904
  createDestinationAccount?: boolean | undefined;
2905
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
2561
2906
  externalId?: string | undefined;
2907
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
2562
2908
  travelRule?: ({
2563
2909
  kind: "Notabene";
2564
2910
  beneficiaryVASPdid?: string | undefined;
@@ -2572,15 +2918,21 @@ export type GetApprovalResponse = {
2572
2918
  [x: string]: any;
2573
2919
  };
2574
2920
  }) | undefined;
2575
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
2921
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
2576
2922
  feeSponsorId?: string | undefined;
2577
2923
  } | {
2578
2924
  kind: "Tep74";
2925
+ /** The destination address. */
2579
2926
  to: string;
2927
+ /** The Jetton master contract address. */
2580
2928
  master: string;
2929
+ /** The amount of tokens to transfer in minimum denomination. */
2581
2930
  amount: string;
2931
+ /** The memo or destination tag. */
2582
2932
  memo?: string | undefined;
2933
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
2583
2934
  externalId?: string | undefined;
2935
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
2584
2936
  travelRule?: ({
2585
2937
  kind: "Notabene";
2586
2938
  beneficiaryVASPdid?: string | undefined;
@@ -2594,14 +2946,19 @@ export type GetApprovalResponse = {
2594
2946
  [x: string]: any;
2595
2947
  };
2596
2948
  }) | undefined;
2597
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
2949
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
2598
2950
  feeSponsorId?: string | undefined;
2599
2951
  } | {
2600
2952
  kind: "Trc10";
2953
+ /** The token ID. */
2601
2954
  tokenId: string;
2955
+ /** The destination address. */
2602
2956
  to: string;
2957
+ /** The amount of tokens to transfer in minimum denomination. */
2603
2958
  amount: string;
2959
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
2604
2960
  externalId?: string | undefined;
2961
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
2605
2962
  travelRule?: ({
2606
2963
  kind: "Notabene";
2607
2964
  beneficiaryVASPdid?: string | undefined;
@@ -2615,14 +2972,19 @@ export type GetApprovalResponse = {
2615
2972
  [x: string]: any;
2616
2973
  };
2617
2974
  }) | undefined;
2618
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
2975
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
2619
2976
  feeSponsorId?: string | undefined;
2620
2977
  } | {
2621
2978
  kind: "Trc20";
2979
+ /** The smart contract address. */
2622
2980
  contract: string;
2981
+ /** The destination address. */
2623
2982
  to: string;
2983
+ /** The amount of tokens to transfer in minimum denomination. */
2624
2984
  amount: string;
2985
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
2625
2986
  externalId?: string | undefined;
2987
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
2626
2988
  travelRule?: ({
2627
2989
  kind: "Notabene";
2628
2990
  beneficiaryVASPdid?: string | undefined;
@@ -2636,14 +2998,19 @@ export type GetApprovalResponse = {
2636
2998
  [x: string]: any;
2637
2999
  };
2638
3000
  }) | undefined;
2639
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
3001
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
2640
3002
  feeSponsorId?: string | undefined;
2641
3003
  } | {
2642
3004
  kind: "Trc721";
3005
+ /** The smart contract address. */
2643
3006
  contract: string;
3007
+ /** The destination address. */
2644
3008
  to: string;
3009
+ /** The token to transfer. */
2645
3010
  tokenId: string;
3011
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
2646
3012
  externalId?: string | undefined;
3013
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
2647
3014
  travelRule?: ({
2648
3015
  kind: "Notabene";
2649
3016
  beneficiaryVASPdid?: string | undefined;
@@ -2657,7 +3024,7 @@ export type GetApprovalResponse = {
2657
3024
  [x: string]: any;
2658
3025
  };
2659
3026
  }) | undefined;
2660
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
3027
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
2661
3028
  feeSponsorId?: string | undefined;
2662
3029
  };
2663
3030
  metadata: {
@@ -2692,15 +3059,19 @@ export type GetApprovalResponse = {
2692
3059
  };
2693
3060
  requestBody: {
2694
3061
  kind: "Transaction";
3062
+ /** The unsigned hex encoded transaction. EVM transactions also accept JSON objects. */
2695
3063
  transaction: string | {};
3064
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
2696
3065
  externalId?: string | undefined;
2697
3066
  } | {
2698
3067
  kind: "Evm";
2699
3068
  to?: string | undefined;
2700
3069
  value?: (string | string) | undefined;
2701
3070
  data?: string | undefined;
3071
+ /** The current nonce of the signer EOA. */
2702
3072
  nonce?: (number | string | string) | undefined;
2703
3073
  gasLimit?: (string | string) | undefined;
3074
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
2704
3075
  externalId?: string | undefined;
2705
3076
  } | {
2706
3077
  kind: "Eip1559";
@@ -2711,32 +3082,43 @@ export type GetApprovalResponse = {
2711
3082
  gasLimit?: (string | string) | undefined;
2712
3083
  maxFeePerGas?: (string | string) | undefined;
2713
3084
  maxPriorityFeePerGas?: (string | string) | undefined;
3085
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
2714
3086
  externalId?: string | undefined;
2715
3087
  } | {
2716
3088
  kind: "Psbt";
3089
+ /** The hex encoded PSBT. */
2717
3090
  psbt: string;
3091
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
2718
3092
  externalId?: string | undefined;
2719
3093
  } | {
2720
3094
  kind: "Json";
2721
3095
  transaction: {};
3096
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
2722
3097
  externalId?: string | undefined;
2723
3098
  } | {
2724
3099
  kind: "SignDocDirect";
2725
3100
  signDoc: string;
3101
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
2726
3102
  externalId?: string | undefined;
2727
3103
  } | {
2728
3104
  kind: "UserOperations";
2729
3105
  userOperations: {
3106
+ /** The destination address or target contract. */
2730
3107
  to: string;
3108
+ /** The amount of native tokens to transfer in minimum denomination. */
2731
3109
  value?: string | undefined;
3110
+ /** ABI encoded function call data in hex format. */
2732
3111
  data?: string | undefined;
2733
3112
  }[];
3113
+ /** A fee sponsor id to sponsor the transaction fee by another wallet. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
2734
3114
  feeSponsorId: string;
3115
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
2735
3116
  externalId?: string | undefined;
2736
3117
  } | {
2737
3118
  kind: "SettleOffer";
2738
3119
  txHash: string;
2739
3120
  decision: "Accept" | "Reject";
3121
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
2740
3122
  externalId?: string | undefined;
2741
3123
  };
2742
3124
  status: "Pending" | "Executing" | "Broadcasted" | "Confirmed" | "Failed" | "Rejected";
@@ -2759,90 +3141,165 @@ export type GetApprovalResponse = {
2759
3141
  };
2760
3142
  requestBody: {
2761
3143
  kind: "Hash";
3144
+ /** 32-byte hash in hex encoded format. */
2762
3145
  hash: string;
3146
+ /** Required when signing with a Schnorr key. Specify the merkle root for tweaking the signing key, or the empty string "" to tweak with the default merkle root. */
2763
3147
  taprootMerkleRoot?: string | undefined;
2764
3148
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
2765
3149
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
3150
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
2766
3151
  externalId?: string | undefined;
2767
3152
  } | {
2768
3153
  kind: "Message";
3154
+ /** An arbitrary hex encoded message. */
2769
3155
  message: string;
2770
3156
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
2771
3157
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
3158
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
2772
3159
  externalId?: string | undefined;
2773
3160
  } | {
2774
3161
  kind: "Eip7702";
3162
+ /** The address of the contract the signer's EOA will be delegated to. */
2775
3163
  address: string;
3164
+ /** The current nonce of the signer EOA. */
2776
3165
  nonce: number;
3166
+ /** Chain ID. */
2777
3167
  chainId: number;
2778
3168
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
2779
3169
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
3170
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
2780
3171
  externalId?: string | undefined;
2781
3172
  } | {
2782
3173
  kind: "Transaction";
3174
+ /** The unsigned hex-encoded transaction. */
2783
3175
  transaction: string;
2784
3176
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
2785
3177
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
3178
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
2786
3179
  externalId?: string | undefined;
2787
3180
  } | {
2788
3181
  kind: "Eip712";
3182
+ /** Type definitions. */
2789
3183
  types: {
2790
3184
  [x: string]: {
2791
3185
  name: string;
2792
3186
  type: string;
2793
3187
  }[];
2794
3188
  };
3189
+ /** Domain separator. */
2795
3190
  domain: {
3191
+ /** Name of the signing domain. */
2796
3192
  name?: string | undefined;
3193
+ /** Current major version of the signing domain. */
2797
3194
  version?: string | undefined;
3195
+ /** Chain ID. */
2798
3196
  chainId?: (number | string) | undefined;
3197
+ /** The address of the contract that will verify the signature. */
2799
3198
  verifyingContract?: string | undefined;
3199
+ /** 32-byte value as a last-resort domain separator. */
2800
3200
  salt?: string | undefined;
2801
3201
  };
3202
+ /** Structured message to sign. */
2802
3203
  message: {
2803
3204
  [x: string]: unknown;
2804
3205
  };
2805
3206
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
2806
3207
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
3208
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
2807
3209
  externalId?: string | undefined;
2808
3210
  } | {
2809
3211
  kind: "Psbt";
3212
+ /** The hex encoded PSBT. */
2810
3213
  psbt: string;
2811
3214
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
2812
3215
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
3216
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
2813
3217
  externalId?: string | undefined;
2814
3218
  } | {
2815
3219
  kind: "Bip322";
3220
+ /** The generic message hex encoded. */
2816
3221
  message: string;
3222
+ /** Defaults to Simple if not present. The formatted signature is returned in the `signedData` field in the response. */
2817
3223
  format?: ("Simple" | "Full") | undefined;
2818
3224
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
2819
3225
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
3226
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
2820
3227
  externalId?: string | undefined;
2821
3228
  } | {
2822
3229
  kind: "PactCommand";
3230
+ /** The Pact command JSON, serialized into a string. */
2823
3231
  command: string;
2824
3232
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
2825
3233
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
3234
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
2826
3235
  externalId?: string | undefined;
2827
3236
  } | {
2828
3237
  kind: "SignDocDirect";
3238
+ /** The hex encoded `SignDoc` Protobuf. */
2829
3239
  signDoc: string;
2830
3240
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
2831
3241
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
3242
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
2832
3243
  externalId?: string | undefined;
2833
3244
  } | {
2834
3245
  kind: "SignerPayload";
3246
+ /** The unsigned Signer Payload formatted as JSON, or as a serialized hex-encoded buffer.
3247
+
3248
+ Please refer to the original Polkadot definition for more details: [SignerPayloadJson](https://github.com/polkadot-js/api/blob/v16.2.2/packages/types/src/types/extrinsic.ts#L32). Note that additional fields will be rejected.
3249
+
3250
+ | Field | Description | Type - Optional |
3251
+ | -------------------- | ---------------------------------------------------------------------------------------- | -------------------- |
3252
+ | `address` | ss58-encoded address of the sending account. | String |
3253
+ | `blockHash` | The hash of the checkpoint block, hex encoded. | String |
3254
+ | `blockNumber` | The checkpoint block number, hex encoded. | String |
3255
+ | `era` | The number of blocks after the checkpoint for which a transaction is valid, hex encoded. | String |
3256
+ | `genesisHash` | The genesis hash of the chain, hex encoded. | String |
3257
+ | `metadataHash` | The metadataHash for the CheckMetadataHash SignedExtension, hex encoded. | String *(optional)* |
3258
+ | `mode` | flag indicating whether to verify the metadata hash or not. | Integer *(optional)* |
3259
+ | `method` | The encoded method with arguments, hex encoded. | String |
3260
+ | `nonce` | The nonce for the transaction, hex encoded. | String |
3261
+ | `tip` | The tip to increase transaction priority, hex encoded. | String |
3262
+ | `version` | The version of the extrinsic. | Integer |
3263
+ | `specVersion` | The current spec version for the runtime, hex encoded. | String |
3264
+ | `transactionVersion` | The current transaction version for the runtime, hex encoded. | String |
3265
+ | `signedExtensions` | The applicable signed extensions for this runtime. | Array<String> |
3266
+
3267
+ ```json
3268
+ {
3269
+ "network": "Polymesh",
3270
+ "kind": "SignerPayload",
3271
+ "payload": {
3272
+ "address": "5H5tTnmLUqRgvTZvTwCdBKYjKLBm2gkp7u38Q9UUdJa8m6rX",
3273
+ "blockHash": "0x2ace05e703aa50b48c0ccccfc8b424f7aab9a1e2c424ed12e45d20b1e8ffd0d6",
3274
+ "blockNumber": "0x00000000",
3275
+ "era": "0x00",
3276
+ "genesisHash": "0x2ace05e703aa50b48c0ccccfc8b424f7aab9a1e2c424ed12e45d20b1e8ffd0d6",
3277
+ "method": "0x07141f3da32e72ac6eb6cb40d9e757594363a617b2c3964a2b6ec6895c6648f48d500000",
3278
+ "nonce": "0x00000000",
3279
+ "tip": "0x00000000000000000000000000000000",
3280
+ "version": 4,
3281
+ "specVersion": "0x006adb7a",
3282
+ "transactionVersion": "0x00000007",
3283
+ "signedExtensions": []
3284
+ }
3285
+ }
3286
+ ```
3287
+ */
2835
3288
  payload: string | {};
2836
3289
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
2837
3290
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
3291
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
2838
3292
  externalId?: string | undefined;
2839
3293
  } | {
2840
3294
  kind: "Cip8";
3295
+ /** The generic message hex encoded. */
2841
3296
  payload?: string | undefined;
3297
+ /** Allows an application to ask the user to sign some extra data but NOT put it inside the COSE structure (only as part of the data to sign). */
2842
3298
  externalAad?: string | undefined;
2843
3299
  context: "Signature1";
2844
3300
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
2845
3301
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
3302
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
2846
3303
  externalId?: string | undefined;
2847
3304
  };
2848
3305
  status: "Pending" | "Executing" | "Signed" | "Confirmed" | "Failed" | "Rejected";
@@ -2875,6 +3332,7 @@ export type GetApprovalResponse = {
2875
3332
  quoteId: string;
2876
3333
  reference: string | null;
2877
3334
  sourceWalletId: string;
3335
+ walletId: string;
2878
3336
  targetWalletId: string;
2879
3337
  status: "PendingPolicyApproval" | "InProgress" | "Completed" | "Failed" | "Rejected";
2880
3338
  provider: "UniswapX" | "UniswapClassic";
@@ -2911,11 +3369,33 @@ export type GetApprovalResponse = {
2911
3369
  };
2912
3370
  };
2913
3371
  slippageToleranceInBps: number;
3372
+ slippageBps: number;
2914
3373
  dateCreated: string;
2915
3374
  requestBody: {
2916
- sourceWalletId: string;
2917
3375
  quoteId: string;
2918
3376
  reference?: string | undefined;
3377
+ provider?: ("UniswapX" | "UniswapClassic") | undefined;
3378
+ sourceWalletId?: string | undefined;
3379
+ walletId?: string | undefined;
3380
+ targetWalletId?: string | undefined;
3381
+ slippageToleranceInBps?: number | undefined;
3382
+ slippageBps?: number | undefined;
3383
+ sourceAsset?: ({
3384
+ kind: "Native";
3385
+ amount: string;
3386
+ } | {
3387
+ kind: "Erc20";
3388
+ contract: string;
3389
+ amount: string;
3390
+ }) | undefined;
3391
+ targetAsset?: ({
3392
+ kind: "Native";
3393
+ amount: string;
3394
+ } | {
3395
+ kind: "Erc20";
3396
+ contract: string;
3397
+ amount: string;
3398
+ }) | undefined;
2919
3399
  };
2920
3400
  requester: {
2921
3401
  userId: string;
@@ -3550,6 +4030,7 @@ export type GetApprovalResponse = {
3550
4030
  dateCreated?: string | undefined;
3551
4031
  dateUpdated?: string | undefined;
3552
4032
  activityKind: "Alias:Modify";
4033
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
3553
4034
  rule: {
3554
4035
  kind: "AlwaysTrigger";
3555
4036
  configuration?: {} | undefined;
@@ -3564,6 +4045,8 @@ export type GetApprovalResponse = {
3564
4045
  in: string[];
3565
4046
  } | undefined;
3566
4047
  };
4048
+ /** Whether the initiator of the activity can participate in the approval. */
4049
+ initiatorCanApprove?: boolean | undefined;
3567
4050
  }[];
3568
4051
  autoRejectTimeout?: (number | undefined) | null;
3569
4052
  } | {
@@ -3577,6 +4060,7 @@ export type GetApprovalResponse = {
3577
4060
  dateCreated?: string | undefined;
3578
4061
  dateUpdated?: string | undefined;
3579
4062
  activityKind: "Permissions:Assign";
4063
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
3580
4064
  rule: {
3581
4065
  kind: "AlwaysTrigger";
3582
4066
  configuration?: {} | undefined;
@@ -3591,6 +4075,8 @@ export type GetApprovalResponse = {
3591
4075
  in: string[];
3592
4076
  } | undefined;
3593
4077
  };
4078
+ /** Whether the initiator of the activity can participate in the approval. */
4079
+ initiatorCanApprove?: boolean | undefined;
3594
4080
  }[];
3595
4081
  autoRejectTimeout?: (number | undefined) | null;
3596
4082
  } | {
@@ -3608,6 +4094,7 @@ export type GetApprovalResponse = {
3608
4094
  dateCreated?: string | undefined;
3609
4095
  dateUpdated?: string | undefined;
3610
4096
  activityKind: "Permissions:Modify";
4097
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
3611
4098
  rule: {
3612
4099
  kind: "AlwaysTrigger";
3613
4100
  configuration?: {} | undefined;
@@ -3622,6 +4109,8 @@ export type GetApprovalResponse = {
3622
4109
  in: string[];
3623
4110
  } | undefined;
3624
4111
  };
4112
+ /** Whether the initiator of the activity can participate in the approval. */
4113
+ initiatorCanApprove?: boolean | undefined;
3625
4114
  }[];
3626
4115
  autoRejectTimeout?: (number | undefined) | null;
3627
4116
  } | {
@@ -3639,6 +4128,7 @@ export type GetApprovalResponse = {
3639
4128
  dateCreated?: string | undefined;
3640
4129
  dateUpdated?: string | undefined;
3641
4130
  activityKind: "Policies:Modify";
4131
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
3642
4132
  rule: {
3643
4133
  kind: "AlwaysTrigger";
3644
4134
  configuration?: {} | undefined;
@@ -3653,6 +4143,8 @@ export type GetApprovalResponse = {
3653
4143
  in: string[];
3654
4144
  } | undefined;
3655
4145
  };
4146
+ /** Whether the initiator of the activity can participate in the approval. */
4147
+ initiatorCanApprove?: boolean | undefined;
3656
4148
  }[];
3657
4149
  autoRejectTimeout?: (number | undefined) | null;
3658
4150
  };
@@ -3674,25 +4166,33 @@ export type GetApprovalResponse = {
3674
4166
  } | {
3675
4167
  kind: "TransactionRecipientWhitelist";
3676
4168
  configuration: {
4169
+ /** Whitelisted recipient addresses */
3677
4170
  addresses: string[];
3678
4171
  };
3679
4172
  } | {
3680
4173
  kind: "TransactionAmountLimit";
3681
4174
  configuration: {
4175
+ /** Amount limit in `currency` */
3682
4176
  limit: number;
4177
+ /** Fiat currency, currently only `USD` */
3683
4178
  currency: "USD";
3684
4179
  };
3685
4180
  } | {
3686
4181
  kind: "TransactionAmountVelocity";
3687
4182
  configuration: {
4183
+ /** Amount limit in `currency` */
3688
4184
  limit: number;
4185
+ /** Currency for the amount limit above */
3689
4186
  currency: "USD";
4187
+ /** Time period in minutes. Minimum 1, Maximum 43,200. */
3690
4188
  timeframe: number;
3691
4189
  };
3692
4190
  } | {
3693
4191
  kind: "TransactionCountVelocity";
3694
4192
  configuration: {
4193
+ /** Count limit */
3695
4194
  limit: number;
4195
+ /** Time period in minutes. Minimum 1, Maximum 43,200. */
3696
4196
  timeframe: number;
3697
4197
  };
3698
4198
  } | {
@@ -3735,6 +4235,8 @@ export type GetApprovalResponse = {
3735
4235
  in: string[];
3736
4236
  } | undefined;
3737
4237
  };
4238
+ /** Whether the initiator of the activity can participate in the approval. */
4239
+ initiatorCanApprove?: boolean | undefined;
3738
4240
  }[];
3739
4241
  autoRejectTimeout?: (number | undefined) | null;
3740
4242
  } | {
@@ -3909,6 +4411,7 @@ export type GetPolicyResponse = ({
3909
4411
  dateCreated?: string | undefined;
3910
4412
  dateUpdated?: string | undefined;
3911
4413
  activityKind: "Alias:Modify";
4414
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
3912
4415
  rule: {
3913
4416
  kind: "AlwaysTrigger";
3914
4417
  configuration?: {} | undefined;
@@ -3923,6 +4426,8 @@ export type GetPolicyResponse = ({
3923
4426
  in: string[];
3924
4427
  } | undefined;
3925
4428
  };
4429
+ /** Whether the initiator of the activity can participate in the approval. */
4430
+ initiatorCanApprove?: boolean | undefined;
3926
4431
  }[];
3927
4432
  autoRejectTimeout?: (number | undefined) | null;
3928
4433
  } | {
@@ -3936,6 +4441,7 @@ export type GetPolicyResponse = ({
3936
4441
  dateCreated?: string | undefined;
3937
4442
  dateUpdated?: string | undefined;
3938
4443
  activityKind: "Permissions:Assign";
4444
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
3939
4445
  rule: {
3940
4446
  kind: "AlwaysTrigger";
3941
4447
  configuration?: {} | undefined;
@@ -3950,6 +4456,8 @@ export type GetPolicyResponse = ({
3950
4456
  in: string[];
3951
4457
  } | undefined;
3952
4458
  };
4459
+ /** Whether the initiator of the activity can participate in the approval. */
4460
+ initiatorCanApprove?: boolean | undefined;
3953
4461
  }[];
3954
4462
  autoRejectTimeout?: (number | undefined) | null;
3955
4463
  } | {
@@ -3967,6 +4475,7 @@ export type GetPolicyResponse = ({
3967
4475
  dateCreated?: string | undefined;
3968
4476
  dateUpdated?: string | undefined;
3969
4477
  activityKind: "Permissions:Modify";
4478
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
3970
4479
  rule: {
3971
4480
  kind: "AlwaysTrigger";
3972
4481
  configuration?: {} | undefined;
@@ -3981,6 +4490,8 @@ export type GetPolicyResponse = ({
3981
4490
  in: string[];
3982
4491
  } | undefined;
3983
4492
  };
4493
+ /** Whether the initiator of the activity can participate in the approval. */
4494
+ initiatorCanApprove?: boolean | undefined;
3984
4495
  }[];
3985
4496
  autoRejectTimeout?: (number | undefined) | null;
3986
4497
  } | {
@@ -3998,6 +4509,7 @@ export type GetPolicyResponse = ({
3998
4509
  dateCreated?: string | undefined;
3999
4510
  dateUpdated?: string | undefined;
4000
4511
  activityKind: "Policies:Modify";
4512
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
4001
4513
  rule: {
4002
4514
  kind: "AlwaysTrigger";
4003
4515
  configuration?: {} | undefined;
@@ -4012,6 +4524,8 @@ export type GetPolicyResponse = ({
4012
4524
  in: string[];
4013
4525
  } | undefined;
4014
4526
  };
4527
+ /** Whether the initiator of the activity can participate in the approval. */
4528
+ initiatorCanApprove?: boolean | undefined;
4015
4529
  }[];
4016
4530
  autoRejectTimeout?: (number | undefined) | null;
4017
4531
  };
@@ -4033,25 +4547,33 @@ export type GetPolicyResponse = ({
4033
4547
  } | {
4034
4548
  kind: "TransactionRecipientWhitelist";
4035
4549
  configuration: {
4550
+ /** Whitelisted recipient addresses */
4036
4551
  addresses: string[];
4037
4552
  };
4038
4553
  } | {
4039
4554
  kind: "TransactionAmountLimit";
4040
4555
  configuration: {
4556
+ /** Amount limit in `currency` */
4041
4557
  limit: number;
4558
+ /** Fiat currency, currently only `USD` */
4042
4559
  currency: "USD";
4043
4560
  };
4044
4561
  } | {
4045
4562
  kind: "TransactionAmountVelocity";
4046
4563
  configuration: {
4564
+ /** Amount limit in `currency` */
4047
4565
  limit: number;
4566
+ /** Currency for the amount limit above */
4048
4567
  currency: "USD";
4568
+ /** Time period in minutes. Minimum 1, Maximum 43,200. */
4049
4569
  timeframe: number;
4050
4570
  };
4051
4571
  } | {
4052
4572
  kind: "TransactionCountVelocity";
4053
4573
  configuration: {
4574
+ /** Count limit */
4054
4575
  limit: number;
4576
+ /** Time period in minutes. Minimum 1, Maximum 43,200. */
4055
4577
  timeframe: number;
4056
4578
  };
4057
4579
  } | {
@@ -4094,6 +4616,8 @@ export type GetPolicyResponse = ({
4094
4616
  in: string[];
4095
4617
  } | undefined;
4096
4618
  };
4619
+ /** Whether the initiator of the activity can participate in the approval. */
4620
+ initiatorCanApprove?: boolean | undefined;
4097
4621
  }[];
4098
4622
  autoRejectTimeout?: (number | undefined) | null;
4099
4623
  } | {
@@ -4171,6 +4695,7 @@ export type GetPolicyResponse = ({
4171
4695
  dateCreated?: string | undefined;
4172
4696
  dateUpdated?: string | undefined;
4173
4697
  activityKind: "Alias:Modify";
4698
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
4174
4699
  rule: {
4175
4700
  kind: "AlwaysTrigger";
4176
4701
  configuration?: {} | undefined;
@@ -4185,6 +4710,8 @@ export type GetPolicyResponse = ({
4185
4710
  in: string[];
4186
4711
  } | undefined;
4187
4712
  };
4713
+ /** Whether the initiator of the activity can participate in the approval. */
4714
+ initiatorCanApprove?: boolean | undefined;
4188
4715
  }[];
4189
4716
  autoRejectTimeout?: (number | undefined) | null;
4190
4717
  } | {
@@ -4198,6 +4725,7 @@ export type GetPolicyResponse = ({
4198
4725
  dateCreated?: string | undefined;
4199
4726
  dateUpdated?: string | undefined;
4200
4727
  activityKind: "Permissions:Assign";
4728
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
4201
4729
  rule: {
4202
4730
  kind: "AlwaysTrigger";
4203
4731
  configuration?: {} | undefined;
@@ -4212,6 +4740,8 @@ export type GetPolicyResponse = ({
4212
4740
  in: string[];
4213
4741
  } | undefined;
4214
4742
  };
4743
+ /** Whether the initiator of the activity can participate in the approval. */
4744
+ initiatorCanApprove?: boolean | undefined;
4215
4745
  }[];
4216
4746
  autoRejectTimeout?: (number | undefined) | null;
4217
4747
  } | {
@@ -4229,6 +4759,7 @@ export type GetPolicyResponse = ({
4229
4759
  dateCreated?: string | undefined;
4230
4760
  dateUpdated?: string | undefined;
4231
4761
  activityKind: "Permissions:Modify";
4762
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
4232
4763
  rule: {
4233
4764
  kind: "AlwaysTrigger";
4234
4765
  configuration?: {} | undefined;
@@ -4243,6 +4774,8 @@ export type GetPolicyResponse = ({
4243
4774
  in: string[];
4244
4775
  } | undefined;
4245
4776
  };
4777
+ /** Whether the initiator of the activity can participate in the approval. */
4778
+ initiatorCanApprove?: boolean | undefined;
4246
4779
  }[];
4247
4780
  autoRejectTimeout?: (number | undefined) | null;
4248
4781
  } | {
@@ -4260,6 +4793,7 @@ export type GetPolicyResponse = ({
4260
4793
  dateCreated?: string | undefined;
4261
4794
  dateUpdated?: string | undefined;
4262
4795
  activityKind: "Policies:Modify";
4796
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
4263
4797
  rule: {
4264
4798
  kind: "AlwaysTrigger";
4265
4799
  configuration?: {} | undefined;
@@ -4274,6 +4808,8 @@ export type GetPolicyResponse = ({
4274
4808
  in: string[];
4275
4809
  } | undefined;
4276
4810
  };
4811
+ /** Whether the initiator of the activity can participate in the approval. */
4812
+ initiatorCanApprove?: boolean | undefined;
4277
4813
  }[];
4278
4814
  autoRejectTimeout?: (number | undefined) | null;
4279
4815
  };
@@ -4295,25 +4831,33 @@ export type GetPolicyResponse = ({
4295
4831
  } | {
4296
4832
  kind: "TransactionRecipientWhitelist";
4297
4833
  configuration: {
4834
+ /** Whitelisted recipient addresses */
4298
4835
  addresses: string[];
4299
4836
  };
4300
4837
  } | {
4301
4838
  kind: "TransactionAmountLimit";
4302
4839
  configuration: {
4840
+ /** Amount limit in `currency` */
4303
4841
  limit: number;
4842
+ /** Fiat currency, currently only `USD` */
4304
4843
  currency: "USD";
4305
4844
  };
4306
4845
  } | {
4307
4846
  kind: "TransactionAmountVelocity";
4308
4847
  configuration: {
4848
+ /** Amount limit in `currency` */
4309
4849
  limit: number;
4850
+ /** Currency for the amount limit above */
4310
4851
  currency: "USD";
4852
+ /** Time period in minutes. Minimum 1, Maximum 43,200. */
4311
4853
  timeframe: number;
4312
4854
  };
4313
4855
  } | {
4314
4856
  kind: "TransactionCountVelocity";
4315
4857
  configuration: {
4858
+ /** Count limit */
4316
4859
  limit: number;
4860
+ /** Time period in minutes. Minimum 1, Maximum 43,200. */
4317
4861
  timeframe: number;
4318
4862
  };
4319
4863
  } | {
@@ -4356,6 +4900,8 @@ export type GetPolicyResponse = ({
4356
4900
  in: string[];
4357
4901
  } | undefined;
4358
4902
  };
4903
+ /** Whether the initiator of the activity can participate in the approval. */
4904
+ initiatorCanApprove?: boolean | undefined;
4359
4905
  }[];
4360
4906
  autoRejectTimeout?: (number | undefined) | null;
4361
4907
  } | {
@@ -4438,17 +4984,25 @@ export type ListApprovalsResponse = {
4438
4984
  };
4439
4985
  requestBody: {
4440
4986
  kind: "Native";
4987
+ /** The destination address. */
4441
4988
  to: string;
4989
+ /** The amount of native tokens to transfer in minimum denomination. */
4442
4990
  amount: string;
4991
+ /** The memo or destination tag. `Stellar`, `TON` and `XrpLedger` support `memo`. Not valid for other networks. */
4443
4992
  memo?: string | undefined;
4993
+ /** The priority that determines the fees paid for the transfer. All EVM compatible networks and Bitcoin support `priority`. Not supported for other networks. It uses the [estimate fees](https://docs.dfns.co/api-reference/networks/estimate-fees) API to calculate the transfer fees. When not specified, defaults to `Standard` priority. */
4444
4994
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
4995
+ /** Whether to create the destination account on chains that require account creation (e.g., Stellar, Kadena). Only valid for chains that require the receiver account to exist before transfer. */
4445
4996
  createDestinationAccount?: boolean | undefined;
4446
- /** Optional field for Canton, if true it will create a transfer offer */
4997
+ /** Optional field for Canton, if true it will create a transfer offer. */
4447
4998
  offer?: boolean | undefined;
4448
4999
  /** Optional field for Canton, especially useful in the context of offers */
4449
5000
  expiresAt?: string | undefined;
5001
+ /** For multi-chain networks (e.g., Kadena), specify the destination chain for cross-chain transfers. */
4450
5002
  targetChain?: string | undefined;
5003
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
4451
5004
  externalId?: string | undefined;
5005
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
4452
5006
  travelRule?: ({
4453
5007
  kind: "Notabene";
4454
5008
  beneficiaryVASPdid?: string | undefined;
@@ -4462,14 +5016,19 @@ export type ListApprovalsResponse = {
4462
5016
  [x: string]: any;
4463
5017
  };
4464
5018
  }) | undefined;
4465
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
5019
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
4466
5020
  feeSponsorId?: string | undefined;
4467
5021
  } | {
4468
5022
  kind: "Asa";
5023
+ /** The token asset id. */
4469
5024
  assetId: string;
5025
+ /** The destination address. */
4470
5026
  to: string;
5027
+ /** The amount of tokens to transfer in minimum denomination. */
4471
5028
  amount: string;
5029
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
4472
5030
  externalId?: string | undefined;
5031
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
4473
5032
  travelRule?: ({
4474
5033
  kind: "Notabene";
4475
5034
  beneficiaryVASPdid?: string | undefined;
@@ -4483,14 +5042,19 @@ export type ListApprovalsResponse = {
4483
5042
  [x: string]: any;
4484
5043
  };
4485
5044
  }) | undefined;
4486
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
5045
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
4487
5046
  feeSponsorId?: string | undefined;
4488
5047
  } | {
4489
5048
  kind: "Aip21";
5049
+ /** The asset metadata address. */
4490
5050
  metadata: string;
5051
+ /** The destination address. */
4491
5052
  to: string;
5053
+ /** The amount of tokens to transfer in minimum denomination. */
4492
5054
  amount: string;
5055
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
4493
5056
  externalId?: string | undefined;
5057
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
4494
5058
  travelRule?: ({
4495
5059
  kind: "Notabene";
4496
5060
  beneficiaryVASPdid?: string | undefined;
@@ -4504,14 +5068,19 @@ export type ListApprovalsResponse = {
4504
5068
  [x: string]: any;
4505
5069
  };
4506
5070
  }) | undefined;
4507
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
5071
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
4508
5072
  feeSponsorId?: string | undefined;
4509
5073
  } | {
4510
5074
  kind: "Asset";
5075
+ /** The token asset id. */
4511
5076
  assetId: string;
5077
+ /** The destination address. */
4512
5078
  to: string;
5079
+ /** The amount of tokens to transfer in minimum denomination. */
4513
5080
  amount: string;
5081
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
4514
5082
  externalId?: string | undefined;
5083
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
4515
5084
  travelRule?: ({
4516
5085
  kind: "Notabene";
4517
5086
  beneficiaryVASPdid?: string | undefined;
@@ -4525,14 +5094,19 @@ export type ListApprovalsResponse = {
4525
5094
  [x: string]: any;
4526
5095
  };
4527
5096
  }) | undefined;
4528
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
5097
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
4529
5098
  feeSponsorId?: string | undefined;
4530
5099
  } | {
4531
5100
  kind: "Coin";
5101
+ /** The coin identifier. */
4532
5102
  coin: string;
5103
+ /** The destination address. */
4533
5104
  to: string;
5105
+ /** The amount of tokens to transfer in minimum denomination. */
4534
5106
  amount: string;
5107
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
4535
5108
  externalId?: string | undefined;
5109
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
4536
5110
  travelRule?: ({
4537
5111
  kind: "Notabene";
4538
5112
  beneficiaryVASPdid?: string | undefined;
@@ -4546,15 +5120,21 @@ export type ListApprovalsResponse = {
4546
5120
  [x: string]: any;
4547
5121
  };
4548
5122
  }) | undefined;
4549
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
5123
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
4550
5124
  feeSponsorId?: string | undefined;
4551
5125
  } | {
4552
5126
  kind: "Erc20";
5127
+ /** The ERC-20 contract address. */
4553
5128
  contract: string;
5129
+ /** The destination address. */
4554
5130
  to: string;
5131
+ /** The amount of tokens to transfer in minimum denomination. */
4555
5132
  amount: string;
5133
+ /** The priority that determines the fees paid for the transfer. */
4556
5134
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
5135
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
4557
5136
  externalId?: string | undefined;
5137
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
4558
5138
  travelRule?: ({
4559
5139
  kind: "Notabene";
4560
5140
  beneficiaryVASPdid?: string | undefined;
@@ -4568,15 +5148,21 @@ export type ListApprovalsResponse = {
4568
5148
  [x: string]: any;
4569
5149
  };
4570
5150
  }) | undefined;
4571
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
5151
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
4572
5152
  feeSponsorId?: string | undefined;
4573
5153
  } | {
4574
5154
  kind: "Erc721";
5155
+ /** The ERC-721 contract address. */
4575
5156
  contract: string;
5157
+ /** The destination address. */
4576
5158
  to: string;
5159
+ /** The token to transfer. */
4577
5160
  tokenId: string;
5161
+ /** The priority that determines the fees paid for the transfer. */
4578
5162
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
5163
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
4579
5164
  externalId?: string | undefined;
5165
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
4580
5166
  travelRule?: ({
4581
5167
  kind: "Notabene";
4582
5168
  beneficiaryVASPdid?: string | undefined;
@@ -4590,14 +5176,18 @@ export type ListApprovalsResponse = {
4590
5176
  [x: string]: any;
4591
5177
  };
4592
5178
  }) | undefined;
4593
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
5179
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
4594
5180
  feeSponsorId?: string | undefined;
4595
5181
  } | {
4596
5182
  kind: "Hip17";
5183
+ /** The token to transfer. */
4597
5184
  tokenId: string;
4598
5185
  serialNumber: string;
5186
+ /** The destination address. */
4599
5187
  to: string;
5188
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
4600
5189
  externalId?: string | undefined;
5190
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
4601
5191
  travelRule?: ({
4602
5192
  kind: "Notabene";
4603
5193
  beneficiaryVASPdid?: string | undefined;
@@ -4611,14 +5201,19 @@ export type ListApprovalsResponse = {
4611
5201
  [x: string]: any;
4612
5202
  };
4613
5203
  }) | undefined;
4614
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
5204
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
4615
5205
  feeSponsorId?: string | undefined;
4616
5206
  } | {
4617
5207
  kind: "Hts";
5208
+ /** The token to transfer. */
4618
5209
  tokenId: string;
5210
+ /** The destination address. */
4619
5211
  to: string;
5212
+ /** The amount of tokens to transfer in minimum denomination. */
4620
5213
  amount: string;
5214
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
4621
5215
  externalId?: string | undefined;
5216
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
4622
5217
  travelRule?: ({
4623
5218
  kind: "Notabene";
4624
5219
  beneficiaryVASPdid?: string | undefined;
@@ -4632,16 +5227,23 @@ export type ListApprovalsResponse = {
4632
5227
  [x: string]: any;
4633
5228
  };
4634
5229
  }) | undefined;
4635
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
5230
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
4636
5231
  feeSponsorId?: string | undefined;
4637
5232
  } | {
4638
5233
  kind: "Sep41";
5234
+ /** The asset issuer address. */
4639
5235
  issuer: string;
5236
+ /** The asset code. */
4640
5237
  assetCode: string;
5238
+ /** The destination address. */
4641
5239
  to: string;
5240
+ /** The amount of tokens to transfer in minimum denomination. */
4642
5241
  amount: string;
5242
+ /** The memo or destination tag. */
4643
5243
  memo?: string | undefined;
5244
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
4644
5245
  externalId?: string | undefined;
5246
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
4645
5247
  travelRule?: ({
4646
5248
  kind: "Notabene";
4647
5249
  beneficiaryVASPdid?: string | undefined;
@@ -4655,15 +5257,21 @@ export type ListApprovalsResponse = {
4655
5257
  [x: string]: any;
4656
5258
  };
4657
5259
  }) | undefined;
4658
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
5260
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
4659
5261
  feeSponsorId?: string | undefined;
4660
5262
  } | {
4661
5263
  kind: "Spl" | "Spl2022";
5264
+ /** The destination address. */
4662
5265
  to: string;
5266
+ /** The amount of tokens to transfer in minimum denomination. */
4663
5267
  amount: string;
5268
+ /** The mint account address. */
4664
5269
  mint: string;
5270
+ /** If `true`, pay to create the associated token account for the recipient if it doesn't exist. Defaults to `false`. */
4665
5271
  createDestinationAccount?: boolean | undefined;
5272
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
4666
5273
  externalId?: string | undefined;
5274
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
4667
5275
  travelRule?: ({
4668
5276
  kind: "Notabene";
4669
5277
  beneficiaryVASPdid?: string | undefined;
@@ -4677,15 +5285,21 @@ export type ListApprovalsResponse = {
4677
5285
  [x: string]: any;
4678
5286
  };
4679
5287
  }) | undefined;
4680
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
5288
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
4681
5289
  feeSponsorId?: string | undefined;
4682
5290
  } | {
4683
5291
  kind: "Tep74";
5292
+ /** The destination address. */
4684
5293
  to: string;
5294
+ /** The Jetton master contract address. */
4685
5295
  master: string;
5296
+ /** The amount of tokens to transfer in minimum denomination. */
4686
5297
  amount: string;
5298
+ /** The memo or destination tag. */
4687
5299
  memo?: string | undefined;
5300
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
4688
5301
  externalId?: string | undefined;
5302
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
4689
5303
  travelRule?: ({
4690
5304
  kind: "Notabene";
4691
5305
  beneficiaryVASPdid?: string | undefined;
@@ -4699,14 +5313,19 @@ export type ListApprovalsResponse = {
4699
5313
  [x: string]: any;
4700
5314
  };
4701
5315
  }) | undefined;
4702
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
5316
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
4703
5317
  feeSponsorId?: string | undefined;
4704
5318
  } | {
4705
5319
  kind: "Trc10";
5320
+ /** The token ID. */
4706
5321
  tokenId: string;
5322
+ /** The destination address. */
4707
5323
  to: string;
5324
+ /** The amount of tokens to transfer in minimum denomination. */
4708
5325
  amount: string;
5326
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
4709
5327
  externalId?: string | undefined;
5328
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
4710
5329
  travelRule?: ({
4711
5330
  kind: "Notabene";
4712
5331
  beneficiaryVASPdid?: string | undefined;
@@ -4720,14 +5339,19 @@ export type ListApprovalsResponse = {
4720
5339
  [x: string]: any;
4721
5340
  };
4722
5341
  }) | undefined;
4723
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
5342
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
4724
5343
  feeSponsorId?: string | undefined;
4725
5344
  } | {
4726
5345
  kind: "Trc20";
5346
+ /** The smart contract address. */
4727
5347
  contract: string;
5348
+ /** The destination address. */
4728
5349
  to: string;
5350
+ /** The amount of tokens to transfer in minimum denomination. */
4729
5351
  amount: string;
5352
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
4730
5353
  externalId?: string | undefined;
5354
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
4731
5355
  travelRule?: ({
4732
5356
  kind: "Notabene";
4733
5357
  beneficiaryVASPdid?: string | undefined;
@@ -4741,14 +5365,19 @@ export type ListApprovalsResponse = {
4741
5365
  [x: string]: any;
4742
5366
  };
4743
5367
  }) | undefined;
4744
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
5368
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
4745
5369
  feeSponsorId?: string | undefined;
4746
5370
  } | {
4747
5371
  kind: "Trc721";
5372
+ /** The smart contract address. */
4748
5373
  contract: string;
5374
+ /** The destination address. */
4749
5375
  to: string;
5376
+ /** The token to transfer. */
4750
5377
  tokenId: string;
5378
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
4751
5379
  externalId?: string | undefined;
5380
+ /** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
4752
5381
  travelRule?: ({
4753
5382
  kind: "Notabene";
4754
5383
  beneficiaryVASPdid?: string | undefined;
@@ -4762,7 +5391,7 @@ export type ListApprovalsResponse = {
4762
5391
  [x: string]: any;
4763
5392
  };
4764
5393
  }) | undefined;
4765
- /** Id of the fee sponsor that will be used to pay for your transfer fee, it might not be available for all blockchains */
5394
+ /** Id of the fee sponsor that will be used to pay for your transfer fees, it might not be available for all blockchains. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
4766
5395
  feeSponsorId?: string | undefined;
4767
5396
  };
4768
5397
  metadata: {
@@ -4797,15 +5426,19 @@ export type ListApprovalsResponse = {
4797
5426
  };
4798
5427
  requestBody: {
4799
5428
  kind: "Transaction";
5429
+ /** The unsigned hex encoded transaction. EVM transactions also accept JSON objects. */
4800
5430
  transaction: string | {};
5431
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
4801
5432
  externalId?: string | undefined;
4802
5433
  } | {
4803
5434
  kind: "Evm";
4804
5435
  to?: string | undefined;
4805
5436
  value?: (string | string) | undefined;
4806
5437
  data?: string | undefined;
5438
+ /** The current nonce of the signer EOA. */
4807
5439
  nonce?: (number | string | string) | undefined;
4808
5440
  gasLimit?: (string | string) | undefined;
5441
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
4809
5442
  externalId?: string | undefined;
4810
5443
  } | {
4811
5444
  kind: "Eip1559";
@@ -4816,32 +5449,43 @@ export type ListApprovalsResponse = {
4816
5449
  gasLimit?: (string | string) | undefined;
4817
5450
  maxFeePerGas?: (string | string) | undefined;
4818
5451
  maxPriorityFeePerGas?: (string | string) | undefined;
5452
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
4819
5453
  externalId?: string | undefined;
4820
5454
  } | {
4821
5455
  kind: "Psbt";
5456
+ /** The hex encoded PSBT. */
4822
5457
  psbt: string;
5458
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
4823
5459
  externalId?: string | undefined;
4824
5460
  } | {
4825
5461
  kind: "Json";
4826
5462
  transaction: {};
5463
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
4827
5464
  externalId?: string | undefined;
4828
5465
  } | {
4829
5466
  kind: "SignDocDirect";
4830
5467
  signDoc: string;
5468
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
4831
5469
  externalId?: string | undefined;
4832
5470
  } | {
4833
5471
  kind: "UserOperations";
4834
5472
  userOperations: {
5473
+ /** The destination address or target contract. */
4835
5474
  to: string;
5475
+ /** The amount of native tokens to transfer in minimum denomination. */
4836
5476
  value?: string | undefined;
5477
+ /** ABI encoded function call data in hex format. */
4837
5478
  data?: string | undefined;
4838
5479
  }[];
5480
+ /** A fee sponsor id to sponsor the transaction fee by another wallet. (read more [here](https://docs.dfns.co/features/fee-sponsors)) */
4839
5481
  feeSponsorId: string;
5482
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
4840
5483
  externalId?: string | undefined;
4841
5484
  } | {
4842
5485
  kind: "SettleOffer";
4843
5486
  txHash: string;
4844
5487
  decision: "Accept" | "Reject";
5488
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
4845
5489
  externalId?: string | undefined;
4846
5490
  };
4847
5491
  status: "Pending" | "Executing" | "Broadcasted" | "Confirmed" | "Failed" | "Rejected";
@@ -4864,90 +5508,165 @@ export type ListApprovalsResponse = {
4864
5508
  };
4865
5509
  requestBody: {
4866
5510
  kind: "Hash";
5511
+ /** 32-byte hash in hex encoded format. */
4867
5512
  hash: string;
5513
+ /** Required when signing with a Schnorr key. Specify the merkle root for tweaking the signing key, or the empty string "" to tweak with the default merkle root. */
4868
5514
  taprootMerkleRoot?: string | undefined;
4869
5515
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
4870
5516
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
5517
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
4871
5518
  externalId?: string | undefined;
4872
5519
  } | {
4873
5520
  kind: "Message";
5521
+ /** An arbitrary hex encoded message. */
4874
5522
  message: string;
4875
5523
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
4876
5524
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
5525
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
4877
5526
  externalId?: string | undefined;
4878
5527
  } | {
4879
5528
  kind: "Eip7702";
5529
+ /** The address of the contract the signer's EOA will be delegated to. */
4880
5530
  address: string;
5531
+ /** The current nonce of the signer EOA. */
4881
5532
  nonce: number;
5533
+ /** Chain ID. */
4882
5534
  chainId: number;
4883
5535
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
4884
5536
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
5537
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
4885
5538
  externalId?: string | undefined;
4886
5539
  } | {
4887
5540
  kind: "Transaction";
5541
+ /** The unsigned hex-encoded transaction. */
4888
5542
  transaction: string;
4889
5543
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
4890
5544
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
5545
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
4891
5546
  externalId?: string | undefined;
4892
5547
  } | {
4893
5548
  kind: "Eip712";
5549
+ /** Type definitions. */
4894
5550
  types: {
4895
5551
  [x: string]: {
4896
5552
  name: string;
4897
5553
  type: string;
4898
5554
  }[];
4899
5555
  };
5556
+ /** Domain separator. */
4900
5557
  domain: {
5558
+ /** Name of the signing domain. */
4901
5559
  name?: string | undefined;
5560
+ /** Current major version of the signing domain. */
4902
5561
  version?: string | undefined;
5562
+ /** Chain ID. */
4903
5563
  chainId?: (number | string) | undefined;
5564
+ /** The address of the contract that will verify the signature. */
4904
5565
  verifyingContract?: string | undefined;
5566
+ /** 32-byte value as a last-resort domain separator. */
4905
5567
  salt?: string | undefined;
4906
5568
  };
5569
+ /** Structured message to sign. */
4907
5570
  message: {
4908
5571
  [x: string]: unknown;
4909
5572
  };
4910
5573
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
4911
5574
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
5575
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
4912
5576
  externalId?: string | undefined;
4913
5577
  } | {
4914
5578
  kind: "Psbt";
5579
+ /** The hex encoded PSBT. */
4915
5580
  psbt: string;
4916
5581
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
4917
5582
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
5583
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
4918
5584
  externalId?: string | undefined;
4919
5585
  } | {
4920
5586
  kind: "Bip322";
5587
+ /** The generic message hex encoded. */
4921
5588
  message: string;
5589
+ /** Defaults to Simple if not present. The formatted signature is returned in the `signedData` field in the response. */
4922
5590
  format?: ("Simple" | "Full") | undefined;
4923
5591
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
4924
5592
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
5593
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
4925
5594
  externalId?: string | undefined;
4926
5595
  } | {
4927
5596
  kind: "PactCommand";
5597
+ /** The Pact command JSON, serialized into a string. */
4928
5598
  command: string;
4929
5599
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
4930
5600
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
5601
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
4931
5602
  externalId?: string | undefined;
4932
5603
  } | {
4933
5604
  kind: "SignDocDirect";
5605
+ /** The hex encoded `SignDoc` Protobuf. */
4934
5606
  signDoc: string;
4935
5607
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
4936
5608
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
5609
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
4937
5610
  externalId?: string | undefined;
4938
5611
  } | {
4939
5612
  kind: "SignerPayload";
5613
+ /** The unsigned Signer Payload formatted as JSON, or as a serialized hex-encoded buffer.
5614
+
5615
+ Please refer to the original Polkadot definition for more details: [SignerPayloadJson](https://github.com/polkadot-js/api/blob/v16.2.2/packages/types/src/types/extrinsic.ts#L32). Note that additional fields will be rejected.
5616
+
5617
+ | Field | Description | Type - Optional |
5618
+ | -------------------- | ---------------------------------------------------------------------------------------- | -------------------- |
5619
+ | `address` | ss58-encoded address of the sending account. | String |
5620
+ | `blockHash` | The hash of the checkpoint block, hex encoded. | String |
5621
+ | `blockNumber` | The checkpoint block number, hex encoded. | String |
5622
+ | `era` | The number of blocks after the checkpoint for which a transaction is valid, hex encoded. | String |
5623
+ | `genesisHash` | The genesis hash of the chain, hex encoded. | String |
5624
+ | `metadataHash` | The metadataHash for the CheckMetadataHash SignedExtension, hex encoded. | String *(optional)* |
5625
+ | `mode` | flag indicating whether to verify the metadata hash or not. | Integer *(optional)* |
5626
+ | `method` | The encoded method with arguments, hex encoded. | String |
5627
+ | `nonce` | The nonce for the transaction, hex encoded. | String |
5628
+ | `tip` | The tip to increase transaction priority, hex encoded. | String |
5629
+ | `version` | The version of the extrinsic. | Integer |
5630
+ | `specVersion` | The current spec version for the runtime, hex encoded. | String |
5631
+ | `transactionVersion` | The current transaction version for the runtime, hex encoded. | String |
5632
+ | `signedExtensions` | The applicable signed extensions for this runtime. | Array<String> |
5633
+
5634
+ ```json
5635
+ {
5636
+ "network": "Polymesh",
5637
+ "kind": "SignerPayload",
5638
+ "payload": {
5639
+ "address": "5H5tTnmLUqRgvTZvTwCdBKYjKLBm2gkp7u38Q9UUdJa8m6rX",
5640
+ "blockHash": "0x2ace05e703aa50b48c0ccccfc8b424f7aab9a1e2c424ed12e45d20b1e8ffd0d6",
5641
+ "blockNumber": "0x00000000",
5642
+ "era": "0x00",
5643
+ "genesisHash": "0x2ace05e703aa50b48c0ccccfc8b424f7aab9a1e2c424ed12e45d20b1e8ffd0d6",
5644
+ "method": "0x07141f3da32e72ac6eb6cb40d9e757594363a617b2c3964a2b6ec6895c6648f48d500000",
5645
+ "nonce": "0x00000000",
5646
+ "tip": "0x00000000000000000000000000000000",
5647
+ "version": 4,
5648
+ "specVersion": "0x006adb7a",
5649
+ "transactionVersion": "0x00000007",
5650
+ "signedExtensions": []
5651
+ }
5652
+ }
5653
+ ```
5654
+ */
4940
5655
  payload: string | {};
4941
5656
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
4942
5657
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
5658
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
4943
5659
  externalId?: string | undefined;
4944
5660
  } | {
4945
5661
  kind: "Cip8";
5662
+ /** The generic message hex encoded. */
4946
5663
  payload?: string | undefined;
5664
+ /** Allows an application to ask the user to sign some extra data but NOT put it inside the COSE structure (only as part of the data to sign). */
4947
5665
  externalAad?: string | undefined;
4948
5666
  context: "Signature1";
4949
5667
  network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "KadenaTestnet4" | "KadenaTestnet4:1" | "KadenaTestnet4:2" | "KadenaTestnet4:3" | "KadenaTestnet4:4" | "KadenaTestnet4:5" | "KadenaTestnet4:6" | "KadenaTestnet4:7" | "KadenaTestnet4:8" | "KadenaTestnet4:9" | "KadenaTestnet4:10" | "KadenaTestnet4:11" | "KadenaTestnet4:12" | "KadenaTestnet4:13" | "KadenaTestnet4:14" | "KadenaTestnet4:15" | "KadenaTestnet4:16" | "KadenaTestnet4:17" | "KadenaTestnet4:18" | "KadenaTestnet4:19" | "Kadena" | "Kadena:1" | "Kadena:2" | "Kadena:3" | "Kadena:4" | "Kadena:5" | "Kadena:6" | "Kadena:7" | "Kadena:8" | "Kadena:9" | "Kadena:10" | "Kadena:11" | "Kadena:12" | "Kadena:13" | "Kadena:14" | "Kadena:15" | "Kadena:16" | "Kadena:17" | "Kadena:18" | "Kadena:19" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plume" | "PlumeSepolia" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tsc" | "TscTestnet1" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
4950
5668
  blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kadena" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
5669
+ /** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
4951
5670
  externalId?: string | undefined;
4952
5671
  };
4953
5672
  status: "Pending" | "Executing" | "Signed" | "Confirmed" | "Failed" | "Rejected";
@@ -4980,6 +5699,7 @@ export type ListApprovalsResponse = {
4980
5699
  quoteId: string;
4981
5700
  reference: string | null;
4982
5701
  sourceWalletId: string;
5702
+ walletId: string;
4983
5703
  targetWalletId: string;
4984
5704
  status: "PendingPolicyApproval" | "InProgress" | "Completed" | "Failed" | "Rejected";
4985
5705
  provider: "UniswapX" | "UniswapClassic";
@@ -5016,11 +5736,33 @@ export type ListApprovalsResponse = {
5016
5736
  };
5017
5737
  };
5018
5738
  slippageToleranceInBps: number;
5739
+ slippageBps: number;
5019
5740
  dateCreated: string;
5020
5741
  requestBody: {
5021
- sourceWalletId: string;
5022
5742
  quoteId: string;
5023
5743
  reference?: string | undefined;
5744
+ provider?: ("UniswapX" | "UniswapClassic") | undefined;
5745
+ sourceWalletId?: string | undefined;
5746
+ walletId?: string | undefined;
5747
+ targetWalletId?: string | undefined;
5748
+ slippageToleranceInBps?: number | undefined;
5749
+ slippageBps?: number | undefined;
5750
+ sourceAsset?: ({
5751
+ kind: "Native";
5752
+ amount: string;
5753
+ } | {
5754
+ kind: "Erc20";
5755
+ contract: string;
5756
+ amount: string;
5757
+ }) | undefined;
5758
+ targetAsset?: ({
5759
+ kind: "Native";
5760
+ amount: string;
5761
+ } | {
5762
+ kind: "Erc20";
5763
+ contract: string;
5764
+ amount: string;
5765
+ }) | undefined;
5024
5766
  };
5025
5767
  requester: {
5026
5768
  userId: string;
@@ -5655,6 +6397,7 @@ export type ListApprovalsResponse = {
5655
6397
  dateCreated?: string | undefined;
5656
6398
  dateUpdated?: string | undefined;
5657
6399
  activityKind: "Alias:Modify";
6400
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
5658
6401
  rule: {
5659
6402
  kind: "AlwaysTrigger";
5660
6403
  configuration?: {} | undefined;
@@ -5669,6 +6412,8 @@ export type ListApprovalsResponse = {
5669
6412
  in: string[];
5670
6413
  } | undefined;
5671
6414
  };
6415
+ /** Whether the initiator of the activity can participate in the approval. */
6416
+ initiatorCanApprove?: boolean | undefined;
5672
6417
  }[];
5673
6418
  autoRejectTimeout?: (number | undefined) | null;
5674
6419
  } | {
@@ -5682,6 +6427,7 @@ export type ListApprovalsResponse = {
5682
6427
  dateCreated?: string | undefined;
5683
6428
  dateUpdated?: string | undefined;
5684
6429
  activityKind: "Permissions:Assign";
6430
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
5685
6431
  rule: {
5686
6432
  kind: "AlwaysTrigger";
5687
6433
  configuration?: {} | undefined;
@@ -5696,6 +6442,8 @@ export type ListApprovalsResponse = {
5696
6442
  in: string[];
5697
6443
  } | undefined;
5698
6444
  };
6445
+ /** Whether the initiator of the activity can participate in the approval. */
6446
+ initiatorCanApprove?: boolean | undefined;
5699
6447
  }[];
5700
6448
  autoRejectTimeout?: (number | undefined) | null;
5701
6449
  } | {
@@ -5713,6 +6461,7 @@ export type ListApprovalsResponse = {
5713
6461
  dateCreated?: string | undefined;
5714
6462
  dateUpdated?: string | undefined;
5715
6463
  activityKind: "Permissions:Modify";
6464
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
5716
6465
  rule: {
5717
6466
  kind: "AlwaysTrigger";
5718
6467
  configuration?: {} | undefined;
@@ -5727,6 +6476,8 @@ export type ListApprovalsResponse = {
5727
6476
  in: string[];
5728
6477
  } | undefined;
5729
6478
  };
6479
+ /** Whether the initiator of the activity can participate in the approval. */
6480
+ initiatorCanApprove?: boolean | undefined;
5730
6481
  }[];
5731
6482
  autoRejectTimeout?: (number | undefined) | null;
5732
6483
  } | {
@@ -5744,6 +6495,7 @@ export type ListApprovalsResponse = {
5744
6495
  dateCreated?: string | undefined;
5745
6496
  dateUpdated?: string | undefined;
5746
6497
  activityKind: "Policies:Modify";
6498
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
5747
6499
  rule: {
5748
6500
  kind: "AlwaysTrigger";
5749
6501
  configuration?: {} | undefined;
@@ -5758,6 +6510,8 @@ export type ListApprovalsResponse = {
5758
6510
  in: string[];
5759
6511
  } | undefined;
5760
6512
  };
6513
+ /** Whether the initiator of the activity can participate in the approval. */
6514
+ initiatorCanApprove?: boolean | undefined;
5761
6515
  }[];
5762
6516
  autoRejectTimeout?: (number | undefined) | null;
5763
6517
  };
@@ -5779,25 +6533,33 @@ export type ListApprovalsResponse = {
5779
6533
  } | {
5780
6534
  kind: "TransactionRecipientWhitelist";
5781
6535
  configuration: {
6536
+ /** Whitelisted recipient addresses */
5782
6537
  addresses: string[];
5783
6538
  };
5784
6539
  } | {
5785
6540
  kind: "TransactionAmountLimit";
5786
6541
  configuration: {
6542
+ /** Amount limit in `currency` */
5787
6543
  limit: number;
6544
+ /** Fiat currency, currently only `USD` */
5788
6545
  currency: "USD";
5789
6546
  };
5790
6547
  } | {
5791
6548
  kind: "TransactionAmountVelocity";
5792
6549
  configuration: {
6550
+ /** Amount limit in `currency` */
5793
6551
  limit: number;
6552
+ /** Currency for the amount limit above */
5794
6553
  currency: "USD";
6554
+ /** Time period in minutes. Minimum 1, Maximum 43,200. */
5795
6555
  timeframe: number;
5796
6556
  };
5797
6557
  } | {
5798
6558
  kind: "TransactionCountVelocity";
5799
6559
  configuration: {
6560
+ /** Count limit */
5800
6561
  limit: number;
6562
+ /** Time period in minutes. Minimum 1, Maximum 43,200. */
5801
6563
  timeframe: number;
5802
6564
  };
5803
6565
  } | {
@@ -5840,6 +6602,8 @@ export type ListApprovalsResponse = {
5840
6602
  in: string[];
5841
6603
  } | undefined;
5842
6604
  };
6605
+ /** Whether the initiator of the activity can participate in the approval. */
6606
+ initiatorCanApprove?: boolean | undefined;
5843
6607
  }[];
5844
6608
  autoRejectTimeout?: (number | undefined) | null;
5845
6609
  } | {
@@ -6021,6 +6785,7 @@ export type ListPoliciesResponse = {
6021
6785
  dateCreated?: string | undefined;
6022
6786
  dateUpdated?: string | undefined;
6023
6787
  activityKind: "Alias:Modify";
6788
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
6024
6789
  rule: {
6025
6790
  kind: "AlwaysTrigger";
6026
6791
  configuration?: {} | undefined;
@@ -6035,6 +6800,8 @@ export type ListPoliciesResponse = {
6035
6800
  in: string[];
6036
6801
  } | undefined;
6037
6802
  };
6803
+ /** Whether the initiator of the activity can participate in the approval. */
6804
+ initiatorCanApprove?: boolean | undefined;
6038
6805
  }[];
6039
6806
  autoRejectTimeout?: (number | undefined) | null;
6040
6807
  } | {
@@ -6048,6 +6815,7 @@ export type ListPoliciesResponse = {
6048
6815
  dateCreated?: string | undefined;
6049
6816
  dateUpdated?: string | undefined;
6050
6817
  activityKind: "Permissions:Assign";
6818
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
6051
6819
  rule: {
6052
6820
  kind: "AlwaysTrigger";
6053
6821
  configuration?: {} | undefined;
@@ -6062,6 +6830,8 @@ export type ListPoliciesResponse = {
6062
6830
  in: string[];
6063
6831
  } | undefined;
6064
6832
  };
6833
+ /** Whether the initiator of the activity can participate in the approval. */
6834
+ initiatorCanApprove?: boolean | undefined;
6065
6835
  }[];
6066
6836
  autoRejectTimeout?: (number | undefined) | null;
6067
6837
  } | {
@@ -6079,6 +6849,7 @@ export type ListPoliciesResponse = {
6079
6849
  dateCreated?: string | undefined;
6080
6850
  dateUpdated?: string | undefined;
6081
6851
  activityKind: "Permissions:Modify";
6852
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
6082
6853
  rule: {
6083
6854
  kind: "AlwaysTrigger";
6084
6855
  configuration?: {} | undefined;
@@ -6093,6 +6864,8 @@ export type ListPoliciesResponse = {
6093
6864
  in: string[];
6094
6865
  } | undefined;
6095
6866
  };
6867
+ /** Whether the initiator of the activity can participate in the approval. */
6868
+ initiatorCanApprove?: boolean | undefined;
6096
6869
  }[];
6097
6870
  autoRejectTimeout?: (number | undefined) | null;
6098
6871
  } | {
@@ -6110,6 +6883,7 @@ export type ListPoliciesResponse = {
6110
6883
  dateCreated?: string | undefined;
6111
6884
  dateUpdated?: string | undefined;
6112
6885
  activityKind: "Policies:Modify";
6886
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
6113
6887
  rule: {
6114
6888
  kind: "AlwaysTrigger";
6115
6889
  configuration?: {} | undefined;
@@ -6124,6 +6898,8 @@ export type ListPoliciesResponse = {
6124
6898
  in: string[];
6125
6899
  } | undefined;
6126
6900
  };
6901
+ /** Whether the initiator of the activity can participate in the approval. */
6902
+ initiatorCanApprove?: boolean | undefined;
6127
6903
  }[];
6128
6904
  autoRejectTimeout?: (number | undefined) | null;
6129
6905
  };
@@ -6145,25 +6921,33 @@ export type ListPoliciesResponse = {
6145
6921
  } | {
6146
6922
  kind: "TransactionRecipientWhitelist";
6147
6923
  configuration: {
6924
+ /** Whitelisted recipient addresses */
6148
6925
  addresses: string[];
6149
6926
  };
6150
6927
  } | {
6151
6928
  kind: "TransactionAmountLimit";
6152
6929
  configuration: {
6930
+ /** Amount limit in `currency` */
6153
6931
  limit: number;
6932
+ /** Fiat currency, currently only `USD` */
6154
6933
  currency: "USD";
6155
6934
  };
6156
6935
  } | {
6157
6936
  kind: "TransactionAmountVelocity";
6158
6937
  configuration: {
6938
+ /** Amount limit in `currency` */
6159
6939
  limit: number;
6940
+ /** Currency for the amount limit above */
6160
6941
  currency: "USD";
6942
+ /** Time period in minutes. Minimum 1, Maximum 43,200. */
6161
6943
  timeframe: number;
6162
6944
  };
6163
6945
  } | {
6164
6946
  kind: "TransactionCountVelocity";
6165
6947
  configuration: {
6948
+ /** Count limit */
6166
6949
  limit: number;
6950
+ /** Time period in minutes. Minimum 1, Maximum 43,200. */
6167
6951
  timeframe: number;
6168
6952
  };
6169
6953
  } | {
@@ -6206,6 +6990,8 @@ export type ListPoliciesResponse = {
6206
6990
  in: string[];
6207
6991
  } | undefined;
6208
6992
  };
6993
+ /** Whether the initiator of the activity can participate in the approval. */
6994
+ initiatorCanApprove?: boolean | undefined;
6209
6995
  }[];
6210
6996
  autoRejectTimeout?: (number | undefined) | null;
6211
6997
  } | {
@@ -6283,6 +7069,7 @@ export type ListPoliciesResponse = {
6283
7069
  dateCreated?: string | undefined;
6284
7070
  dateUpdated?: string | undefined;
6285
7071
  activityKind: "Alias:Modify";
7072
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
6286
7073
  rule: {
6287
7074
  kind: "AlwaysTrigger";
6288
7075
  configuration?: {} | undefined;
@@ -6297,6 +7084,8 @@ export type ListPoliciesResponse = {
6297
7084
  in: string[];
6298
7085
  } | undefined;
6299
7086
  };
7087
+ /** Whether the initiator of the activity can participate in the approval. */
7088
+ initiatorCanApprove?: boolean | undefined;
6300
7089
  }[];
6301
7090
  autoRejectTimeout?: (number | undefined) | null;
6302
7091
  } | {
@@ -6310,6 +7099,7 @@ export type ListPoliciesResponse = {
6310
7099
  dateCreated?: string | undefined;
6311
7100
  dateUpdated?: string | undefined;
6312
7101
  activityKind: "Permissions:Assign";
7102
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
6313
7103
  rule: {
6314
7104
  kind: "AlwaysTrigger";
6315
7105
  configuration?: {} | undefined;
@@ -6324,6 +7114,8 @@ export type ListPoliciesResponse = {
6324
7114
  in: string[];
6325
7115
  } | undefined;
6326
7116
  };
7117
+ /** Whether the initiator of the activity can participate in the approval. */
7118
+ initiatorCanApprove?: boolean | undefined;
6327
7119
  }[];
6328
7120
  autoRejectTimeout?: (number | undefined) | null;
6329
7121
  } | {
@@ -6341,6 +7133,7 @@ export type ListPoliciesResponse = {
6341
7133
  dateCreated?: string | undefined;
6342
7134
  dateUpdated?: string | undefined;
6343
7135
  activityKind: "Permissions:Modify";
7136
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
6344
7137
  rule: {
6345
7138
  kind: "AlwaysTrigger";
6346
7139
  configuration?: {} | undefined;
@@ -6355,6 +7148,8 @@ export type ListPoliciesResponse = {
6355
7148
  in: string[];
6356
7149
  } | undefined;
6357
7150
  };
7151
+ /** Whether the initiator of the activity can participate in the approval. */
7152
+ initiatorCanApprove?: boolean | undefined;
6358
7153
  }[];
6359
7154
  autoRejectTimeout?: (number | undefined) | null;
6360
7155
  } | {
@@ -6372,6 +7167,7 @@ export type ListPoliciesResponse = {
6372
7167
  dateCreated?: string | undefined;
6373
7168
  dateUpdated?: string | undefined;
6374
7169
  activityKind: "Policies:Modify";
7170
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
6375
7171
  rule: {
6376
7172
  kind: "AlwaysTrigger";
6377
7173
  configuration?: {} | undefined;
@@ -6386,6 +7182,8 @@ export type ListPoliciesResponse = {
6386
7182
  in: string[];
6387
7183
  } | undefined;
6388
7184
  };
7185
+ /** Whether the initiator of the activity can participate in the approval. */
7186
+ initiatorCanApprove?: boolean | undefined;
6389
7187
  }[];
6390
7188
  autoRejectTimeout?: (number | undefined) | null;
6391
7189
  };
@@ -6407,25 +7205,33 @@ export type ListPoliciesResponse = {
6407
7205
  } | {
6408
7206
  kind: "TransactionRecipientWhitelist";
6409
7207
  configuration: {
7208
+ /** Whitelisted recipient addresses */
6410
7209
  addresses: string[];
6411
7210
  };
6412
7211
  } | {
6413
7212
  kind: "TransactionAmountLimit";
6414
7213
  configuration: {
7214
+ /** Amount limit in `currency` */
6415
7215
  limit: number;
7216
+ /** Fiat currency, currently only `USD` */
6416
7217
  currency: "USD";
6417
7218
  };
6418
7219
  } | {
6419
7220
  kind: "TransactionAmountVelocity";
6420
7221
  configuration: {
7222
+ /** Amount limit in `currency` */
6421
7223
  limit: number;
7224
+ /** Currency for the amount limit above */
6422
7225
  currency: "USD";
7226
+ /** Time period in minutes. Minimum 1, Maximum 43,200. */
6423
7227
  timeframe: number;
6424
7228
  };
6425
7229
  } | {
6426
7230
  kind: "TransactionCountVelocity";
6427
7231
  configuration: {
7232
+ /** Count limit */
6428
7233
  limit: number;
7234
+ /** Time period in minutes. Minimum 1, Maximum 43,200. */
6429
7235
  timeframe: number;
6430
7236
  };
6431
7237
  } | {
@@ -6468,6 +7274,8 @@ export type ListPoliciesResponse = {
6468
7274
  in: string[];
6469
7275
  } | undefined;
6470
7276
  };
7277
+ /** Whether the initiator of the activity can participate in the approval. */
7278
+ initiatorCanApprove?: boolean | undefined;
6471
7279
  }[];
6472
7280
  autoRejectTimeout?: (number | undefined) | null;
6473
7281
  } | {
@@ -6534,6 +7342,7 @@ export type ListPoliciesRequest = {
6534
7342
  export type UpdatePolicyBody = {
6535
7343
  name: string;
6536
7344
  activityKind: "Alias:Modify";
7345
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
6537
7346
  rule: {
6538
7347
  kind: "AlwaysTrigger";
6539
7348
  configuration?: {} | undefined;
@@ -6548,6 +7357,8 @@ export type UpdatePolicyBody = {
6548
7357
  in: string[];
6549
7358
  } | undefined;
6550
7359
  };
7360
+ /** Whether the initiator of the activity can participate in the approval. */
7361
+ initiatorCanApprove?: boolean | undefined;
6551
7362
  }[];
6552
7363
  autoRejectTimeout?: (number | undefined) | null;
6553
7364
  } | {
@@ -6557,6 +7368,7 @@ export type UpdatePolicyBody = {
6557
7368
  } | {
6558
7369
  name: string;
6559
7370
  activityKind: "Permissions:Assign";
7371
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
6560
7372
  rule: {
6561
7373
  kind: "AlwaysTrigger";
6562
7374
  configuration?: {} | undefined;
@@ -6571,6 +7383,8 @@ export type UpdatePolicyBody = {
6571
7383
  in: string[];
6572
7384
  } | undefined;
6573
7385
  };
7386
+ /** Whether the initiator of the activity can participate in the approval. */
7387
+ initiatorCanApprove?: boolean | undefined;
6574
7388
  }[];
6575
7389
  autoRejectTimeout?: (number | undefined) | null;
6576
7390
  } | {
@@ -6584,6 +7398,7 @@ export type UpdatePolicyBody = {
6584
7398
  } | {
6585
7399
  name: string;
6586
7400
  activityKind: "Permissions:Modify";
7401
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
6587
7402
  rule: {
6588
7403
  kind: "AlwaysTrigger";
6589
7404
  configuration?: {} | undefined;
@@ -6598,6 +7413,8 @@ export type UpdatePolicyBody = {
6598
7413
  in: string[];
6599
7414
  } | undefined;
6600
7415
  };
7416
+ /** Whether the initiator of the activity can participate in the approval. */
7417
+ initiatorCanApprove?: boolean | undefined;
6601
7418
  }[];
6602
7419
  autoRejectTimeout?: (number | undefined) | null;
6603
7420
  } | {
@@ -6611,6 +7428,7 @@ export type UpdatePolicyBody = {
6611
7428
  } | {
6612
7429
  name: string;
6613
7430
  activityKind: "Policies:Modify";
7431
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
6614
7432
  rule: {
6615
7433
  kind: "AlwaysTrigger";
6616
7434
  configuration?: {} | undefined;
@@ -6625,6 +7443,8 @@ export type UpdatePolicyBody = {
6625
7443
  in: string[];
6626
7444
  } | undefined;
6627
7445
  };
7446
+ /** Whether the initiator of the activity can participate in the approval. */
7447
+ initiatorCanApprove?: boolean | undefined;
6628
7448
  }[];
6629
7449
  autoRejectTimeout?: (number | undefined) | null;
6630
7450
  };
@@ -6642,25 +7462,33 @@ export type UpdatePolicyBody = {
6642
7462
  } | {
6643
7463
  kind: "TransactionRecipientWhitelist";
6644
7464
  configuration: {
7465
+ /** Whitelisted recipient addresses */
6645
7466
  addresses: string[];
6646
7467
  };
6647
7468
  } | {
6648
7469
  kind: "TransactionAmountLimit";
6649
7470
  configuration: {
7471
+ /** Amount limit in `currency` */
6650
7472
  limit: number;
7473
+ /** Fiat currency, currently only `USD` */
6651
7474
  currency: "USD";
6652
7475
  };
6653
7476
  } | {
6654
7477
  kind: "TransactionAmountVelocity";
6655
7478
  configuration: {
7479
+ /** Amount limit in `currency` */
6656
7480
  limit: number;
7481
+ /** Currency for the amount limit above */
6657
7482
  currency: "USD";
7483
+ /** Time period in minutes. Minimum 1, Maximum 43,200. */
6658
7484
  timeframe: number;
6659
7485
  };
6660
7486
  } | {
6661
7487
  kind: "TransactionCountVelocity";
6662
7488
  configuration: {
7489
+ /** Count limit */
6663
7490
  limit: number;
7491
+ /** Time period in minutes. Minimum 1, Maximum 43,200. */
6664
7492
  timeframe: number;
6665
7493
  };
6666
7494
  } | {
@@ -6703,6 +7531,8 @@ export type UpdatePolicyBody = {
6703
7531
  in: string[];
6704
7532
  } | undefined;
6705
7533
  };
7534
+ /** Whether the initiator of the activity can participate in the approval. */
7535
+ initiatorCanApprove?: boolean | undefined;
6706
7536
  }[];
6707
7537
  autoRejectTimeout?: (number | undefined) | null;
6708
7538
  } | {
@@ -6765,6 +7595,7 @@ export type UpdatePolicyResponse = {
6765
7595
  dateCreated?: string | undefined;
6766
7596
  dateUpdated?: string | undefined;
6767
7597
  activityKind: "Alias:Modify";
7598
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
6768
7599
  rule: {
6769
7600
  kind: "AlwaysTrigger";
6770
7601
  configuration?: {} | undefined;
@@ -6779,6 +7610,8 @@ export type UpdatePolicyResponse = {
6779
7610
  in: string[];
6780
7611
  } | undefined;
6781
7612
  };
7613
+ /** Whether the initiator of the activity can participate in the approval. */
7614
+ initiatorCanApprove?: boolean | undefined;
6782
7615
  }[];
6783
7616
  autoRejectTimeout?: (number | undefined) | null;
6784
7617
  } | {
@@ -6792,6 +7625,7 @@ export type UpdatePolicyResponse = {
6792
7625
  dateCreated?: string | undefined;
6793
7626
  dateUpdated?: string | undefined;
6794
7627
  activityKind: "Permissions:Assign";
7628
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
6795
7629
  rule: {
6796
7630
  kind: "AlwaysTrigger";
6797
7631
  configuration?: {} | undefined;
@@ -6806,6 +7640,8 @@ export type UpdatePolicyResponse = {
6806
7640
  in: string[];
6807
7641
  } | undefined;
6808
7642
  };
7643
+ /** Whether the initiator of the activity can participate in the approval. */
7644
+ initiatorCanApprove?: boolean | undefined;
6809
7645
  }[];
6810
7646
  autoRejectTimeout?: (number | undefined) | null;
6811
7647
  } | {
@@ -6823,6 +7659,7 @@ export type UpdatePolicyResponse = {
6823
7659
  dateCreated?: string | undefined;
6824
7660
  dateUpdated?: string | undefined;
6825
7661
  activityKind: "Permissions:Modify";
7662
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
6826
7663
  rule: {
6827
7664
  kind: "AlwaysTrigger";
6828
7665
  configuration?: {} | undefined;
@@ -6837,6 +7674,8 @@ export type UpdatePolicyResponse = {
6837
7674
  in: string[];
6838
7675
  } | undefined;
6839
7676
  };
7677
+ /** Whether the initiator of the activity can participate in the approval. */
7678
+ initiatorCanApprove?: boolean | undefined;
6840
7679
  }[];
6841
7680
  autoRejectTimeout?: (number | undefined) | null;
6842
7681
  } | {
@@ -6854,6 +7693,7 @@ export type UpdatePolicyResponse = {
6854
7693
  dateCreated?: string | undefined;
6855
7694
  dateUpdated?: string | undefined;
6856
7695
  activityKind: "Policies:Modify";
7696
+ /** This rule will always be triggered, meaning that if this rule is defined on a policy, the policy will always trigger the policy action, regardless of the activity details. */
6857
7697
  rule: {
6858
7698
  kind: "AlwaysTrigger";
6859
7699
  configuration?: {} | undefined;
@@ -6868,6 +7708,8 @@ export type UpdatePolicyResponse = {
6868
7708
  in: string[];
6869
7709
  } | undefined;
6870
7710
  };
7711
+ /** Whether the initiator of the activity can participate in the approval. */
7712
+ initiatorCanApprove?: boolean | undefined;
6871
7713
  }[];
6872
7714
  autoRejectTimeout?: (number | undefined) | null;
6873
7715
  };
@@ -6889,25 +7731,33 @@ export type UpdatePolicyResponse = {
6889
7731
  } | {
6890
7732
  kind: "TransactionRecipientWhitelist";
6891
7733
  configuration: {
7734
+ /** Whitelisted recipient addresses */
6892
7735
  addresses: string[];
6893
7736
  };
6894
7737
  } | {
6895
7738
  kind: "TransactionAmountLimit";
6896
7739
  configuration: {
7740
+ /** Amount limit in `currency` */
6897
7741
  limit: number;
7742
+ /** Fiat currency, currently only `USD` */
6898
7743
  currency: "USD";
6899
7744
  };
6900
7745
  } | {
6901
7746
  kind: "TransactionAmountVelocity";
6902
7747
  configuration: {
7748
+ /** Amount limit in `currency` */
6903
7749
  limit: number;
7750
+ /** Currency for the amount limit above */
6904
7751
  currency: "USD";
7752
+ /** Time period in minutes. Minimum 1, Maximum 43,200. */
6905
7753
  timeframe: number;
6906
7754
  };
6907
7755
  } | {
6908
7756
  kind: "TransactionCountVelocity";
6909
7757
  configuration: {
7758
+ /** Count limit */
6910
7759
  limit: number;
7760
+ /** Time period in minutes. Minimum 1, Maximum 43,200. */
6911
7761
  timeframe: number;
6912
7762
  };
6913
7763
  } | {
@@ -6950,6 +7800,8 @@ export type UpdatePolicyResponse = {
6950
7800
  in: string[];
6951
7801
  } | undefined;
6952
7802
  };
7803
+ /** Whether the initiator of the activity can participate in the approval. */
7804
+ initiatorCanApprove?: boolean | undefined;
6953
7805
  }[];
6954
7806
  autoRejectTimeout?: (number | undefined) | null;
6955
7807
  } | {