@ledgerhq/coin-module-framework 8.4.0 → 9.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @ledgerhq/coin-module-framework
2
2
 
3
+ ## 9.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#893](https://github.com/LedgerHQ/coin-modules/pull/893) [`9c2ae60`](https://github.com/LedgerHQ/coin-modules/commit/9c2ae60cd78d21b58af56f5926b3e141f5631b76) Thanks [@francois-guerin-ledger](https://github.com/francois-guerin-ledger)! - chore(framework): add `context` parameter to `listFeeOptions`
8
+
9
+ ## 8.5.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#872](https://github.com/LedgerHQ/coin-modules/pull/872) [`9b2a726`](https://github.com/LedgerHQ/coin-modules/commit/9b2a72676e32ad1d25276e8e304c39b5f8b77719) Thanks [@francois-guerin-ledger](https://github.com/francois-guerin-ledger)! - chore(framework): pass validator IDs to `getStakes`
14
+
3
15
  ## 8.4.0
4
16
 
5
17
  ### Minor Changes
@@ -419,6 +419,18 @@ export type BalanceOptions = {
419
419
  /** Asset whitelist (if provided, only matching assets are included) */
420
420
  includeAssets?: (asset: AssetInfo) => Promise<boolean>;
421
421
  };
422
+ export type StakesOptions = {
423
+ /**
424
+ * Opaque pagination token returned by a previous `getStakes` call as
425
+ * `Page.next`.
426
+ */
427
+ cursor?: Cursor;
428
+ /**
429
+ * Validator IDs to probe unconditionally, in addition to those returned by
430
+ * the chain's delegation-listing call.
431
+ */
432
+ knownValidatorIds?: string[] | undefined;
433
+ };
422
434
  /** Parameters for {@link CoinModuleApi.call}. */
423
435
  export type CallParams = Record<string, unknown> | unknown[];
424
436
  /** Result of {@link CoinModuleApi.call}. */
@@ -429,10 +441,10 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
429
441
  *
430
442
  * This must return the same result as {@link getBlockInfo} for the latest block height.
431
443
  *
444
+ * @param context the {@link Context} carrying the coin config accessor and logger
432
445
  * @returns the latest block metadata (height, hash, time)
433
446
  * @see getBlockInfo
434
447
  * @see getBlock
435
- * @param context the {@link Context} carrying the coin config accessor and logger
436
448
  */
437
449
  lastBlock: (context: Context<ConfigType>) => Promise<BlockInfo>;
438
450
  /**
@@ -443,10 +455,10 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
443
455
  * This API is optional and may not be supported on all networks: implementation should raise a "not supported" error
444
456
  * in such case.
445
457
  *
458
+ * @param context the {@link Context} carrying the coin config accessor and logger
446
459
  * @param height the block height to query
447
460
  * @returns the block metadata (height, hash, time)
448
461
  * @throws "not supported" if the blockchain does not support querying historical blocks
449
- * @param context the {@link Context} carrying the coin config accessor and logger
450
462
  */
451
463
  getBlockInfo: (context: Context<ConfigType>, height: number) => Promise<BlockInfo>;
452
464
  /**
@@ -459,10 +471,10 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
459
471
  * This API is optional and may not be supported on all networks: implementation should raise a "not supported" error
460
472
  * in such case.
461
473
  *
474
+ * @param context the {@link Context} carrying the coin config accessor and logger
462
475
  * @param height the block height to query
463
476
  * @returns the complete block with transactions
464
477
  * @throws "not supported" if the blockchain does not support querying full blocks
465
- * @param context the {@link Context} carrying the coin config accessor and logger
466
478
  */
467
479
  getBlock: (context: Context<ConfigType>, height: number) => Promise<Block>;
468
480
  /**
@@ -477,20 +489,22 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
477
489
  * This API is optional and may not be supported on all networks: implementations should raise a
478
490
  * "not supported" error in such cases.
479
491
  *
492
+ * @param context the {@link Context} carrying the coin config accessor and logger
480
493
  * @param params opaque, network-defined parameters for the read-only call
481
494
  * @returns the opaque, network-defined result
482
495
  * @throws "not supported" if the network or implementation does not support contract calls
483
- * @param context the {@link Context} carrying the coin config accessor and logger
484
496
  */
485
497
  call: (context: Context<ConfigType>, params: CallParams) => Promise<CallResult>;
486
498
  /**
487
499
  * Get the list of validators available on the network.
488
- * @param cursor a pagination cursor to resume listing (the implementation must guarantee the cursor is not volatile,
500
+ *
501
+ * @param context the {@link Context} carrying the coin config accessor and logger
502
+ * @param options optional parameters
503
+ * @param options.cursor a pagination cursor to resume listing (the implementation must guarantee the cursor is not volatile,
489
504
  * i.e. it can be used long after the last request and still provide consistent results - for instance,
490
505
  * a date or transaction hash).
491
506
  * The concrete implementation may return all validators in a single page when the underlying SDK
492
507
  * does not provide cursor-based pagination.
493
- * @param context the {@link Context} carrying the coin config accessor and logger
494
508
  */
495
509
  getValidators: (context: Context<ConfigType>, options?: {
496
510
  cursor?: Cursor;
@@ -503,12 +517,12 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
503
517
  *
504
518
  * If account is not found, implementation must return an empty balance.
505
519
  *
520
+ * @param context the {@link Context} carrying the coin config accessor and logger
506
521
  * @param address the account address
507
522
  * @param options optional parameters to filter/restrict the returned balances (see {@link BalanceOptions})
508
523
  * @returns an array of balances for all assets held by the address
509
524
  * @see getStakes
510
525
  * @see listOperations
511
- * @param context the {@link Context} carrying the coin config accessor and logger
512
526
  */
513
527
  getBalance: (context: Context<ConfigType>, address: string, options?: BalanceOptions) => Promise<Balance[]>;
514
528
  /**
@@ -516,11 +530,11 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
516
530
  *
517
531
  * If account is not found, implementation must return an empty result.
518
532
  *
533
+ * @param context the {@link Context} carrying the coin config accessor and logger
519
534
  * @param address the owner account address
520
535
  * @param options see {@link ListOperationsOptions}
521
536
  * @returns a page of operations
522
537
  * @see getBalance
523
- * @param context the {@link Context} carrying the coin config accessor and logger
524
538
  */
525
539
  listOperations: (context: Context<ConfigType>, address: string, options: ListOperationsOptions) => Promise<Page<Operation>>;
526
540
  /**
@@ -534,17 +548,16 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
534
548
  * Since this API can make no sense/be complex to implement/require too many RPC calls on some blockchains, it is
535
549
  * optional: implementation should raise a "not supported" error in such case.
536
550
  *
551
+ * @param context the {@link Context} carrying the coin config accessor and logger
537
552
  * @param address the owner account address
538
- * @param cursor a pagination cursor to resume listing (the implementation must guarantee the cursor is not volatile,
553
+ * @param options optional parameters
554
+ * @param options.cursor a pagination cursor to resume listing (the implementation must guarantee the cursor is not volatile,
539
555
  * i.e. it can be used long after the last request and still provide consistent results - for instance,
540
556
  * a date or transaction hash)
541
557
  * @see getBalance
542
558
  * @see getRewards
543
- * @param context the {@link Context} carrying the coin config accessor and logger
544
559
  */
545
- getStakes: (context: Context<ConfigType>, address: string, options?: {
546
- cursor?: Cursor;
547
- }) => Promise<Page<Stake>>;
560
+ getStakes: (context: Context<ConfigType>, address: string, options?: StakesOptions) => Promise<Page<Stake>>;
548
561
  /**
549
562
  * Get staking reward distribution events since address/account inception.
550
563
  *
@@ -561,13 +574,14 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
561
574
  * Since this API can make no sense/be complex to implement/require too many RPC calls on some blockchains, it is
562
575
  * optional: implementation should raise a "not supported" error in such case.
563
576
  *
577
+ * @param context the {@link Context} carrying the coin config accessor and logger
564
578
  * @param address the account address (see doc, exact scope of the request is implementation dependent)
565
- * @param cursor a pagination cursor to resume listing (the implementation must guarantee the cursor is not volatile,
579
+ * @param options optional parameters
580
+ * @param options.cursor a pagination cursor to resume listing (the implementation must guarantee the cursor is not volatile,
566
581
  * i.e. it can be used long after the last request and still provide consistent results - for instance,
567
582
  * a date or transaction hash)
568
583
  * @see getBalance
569
584
  * @see getStakes
570
- * @param context the {@link Context} carrying the coin config accessor and logger
571
585
  */
572
586
  getRewards: (context: Context<ConfigType>, address: string, options?: {
573
587
  cursor?: Cursor;
@@ -579,10 +593,10 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
579
593
  * This API is optional: implementations that expose no extra metadata simply omit it, and callers
580
594
  * must treat an absent method as `{ type: 'none' }`.
581
595
  *
596
+ * @param context the {@link Context} carrying the coin config accessor and logger
582
597
  * @param address the account address
583
598
  * @returns the network-specific account metadata (see {@link AccountInfo})
584
599
  * @see getBalance
585
- * @param context the {@link Context} carrying the coin config accessor and logger
586
600
  */
587
601
  getAccountInfo?: (context: Context<ConfigType>, address: string) => Promise<AccountInfo>;
588
602
  /**
@@ -594,9 +608,9 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
594
608
  * Implementations without an indexing enrollment backend must raise a "not supported" error.
595
609
  *
596
610
  * @see https://ledgerhq.atlassian.net/wiki/spaces/CF/pages/7282851852/Coin+modules+-+ADR-046+-+Register+method+account+enrollment+for+indexing
611
+ * @param context the {@link Context} carrying the coin config accessor and logger
597
612
  * @param address the account identifier to register (address for most families; Aleo view key when applicable)
598
613
  * @returns the handle assigned by the selected indexing backend
599
- * @param context the {@link Context} carrying the coin config accessor and logger
600
614
  */
601
615
  register: (context: Context<ConfigType>, address: string) => Promise<Registration>;
602
616
  /**
@@ -605,11 +619,12 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
605
619
  * The crafted transaction is ready to be signed by the hardware wallet and then combined
606
620
  * with the signature using {@link combine}.
607
621
  *
622
+ * @param context the {@link Context} carrying the coin config accessor and logger
608
623
  * @param transactionIntent the transaction intent describing what the user wants to do
609
- * @param customFees optional custom fees to use instead of the default estimation
624
+ * @param options optional parameters
625
+ * @param options.customFees custom fees to use instead of the default estimation
610
626
  * @returns the crafted transaction with optional blockchain-specific details
611
627
  * @see craftRawTransaction
612
- * @param context the {@link Context} carrying the coin config accessor and logger
613
628
  */
614
629
  craftTransaction: (context: Context<ConfigType>, transactionIntent: TransactionIntent<MemoType, TxDataType>, options?: {
615
630
  customFees?: FeeEstimation;
@@ -620,6 +635,7 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
620
635
  * This is an alternative to {@link craftTransaction} for cases where the transaction
621
636
  * is already built externally (e.g., by a dApp or smart contract interaction).
622
637
  *
638
+ * @param context the {@link Context} carrying the coin config accessor and logger
623
639
  * @param transaction the raw transaction to wrap/prepare for signing
624
640
  * @param sender the sender address
625
641
  * @param publicKey the sender's public key
@@ -627,7 +643,6 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
627
643
  * @returns the crafted transaction ready for signing
628
644
  * @throws "not supported" if the blockchain does not support raw transaction crafting
629
645
  * @see craftTransaction
630
- * @param context the {@link Context} carrying the coin config accessor and logger
631
646
  */
632
647
  craftRawTransaction: (context: Context<ConfigType>, transaction: string, sender: string, publicKey: string, sequence: bigint) => Promise<CraftedTransaction>;
633
648
  /**
@@ -635,12 +650,13 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
635
650
  *
636
651
  * The estimation should be based on current network conditions (e.g., gas price, fee rate).
637
652
  *
653
+ * @param context the {@link Context} carrying the coin config accessor and logger
638
654
  * @param transactionIntent the transaction intent describing what the user wants to do
639
- * @param customFeesParameters optional blockchain-specific parameters to customize the fee estimation
655
+ * @param options optional parameters
656
+ * @param options.customFeesParameters optional blockchain-specific parameters to customize the fee estimation
640
657
  * (e.g., gas limit, priority fee)
641
- * @param options optional selection inputs; see {@link EstimateFeesOptions}
658
+ * @param options.feeOption optional fee option selection; see {@link EstimateFeesOptions}
642
659
  * @returns the estimated fees and optional parameters that can be passed to {@link craftTransaction}
643
- * @param context the {@link Context} carrying the coin config accessor and logger
644
660
  */
645
661
  estimateFees: (context: Context<ConfigType>, transactionIntent: TransactionIntent<MemoType, TxDataType>, options?: {
646
662
  customFeesParameters?: FeeEstimation['parameters'];
@@ -654,19 +670,21 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
654
670
  * Optional: omitting this method implicitly exposes a single `standard` option; when implemented it
655
671
  * must return the full list including `standard` (e.g. `[sponsored, standard]` or `[standard]`).
656
672
  *
673
+ * @param context the {@link Context} carrying the coin config accessor and logger
657
674
  * @param transactionIntent the transaction intent describing what the user wants to do
658
675
  * @returns the available fee options (metadata only)
659
676
  */
660
- listFeeOptions?: (transactionIntent: TransactionIntent<MemoType, TxDataType>) => Promise<FeeOptionMeta[]>;
677
+ listFeeOptions?: (context: Context<ConfigType>, transactionIntent: TransactionIntent<MemoType, TxDataType>) => Promise<FeeOptionMeta[]>;
661
678
  /**
662
679
  * Combine a crafted transaction with a signature to produce a signed transaction ready for broadcast.
663
680
  *
681
+ * @param context the {@link Context} carrying the coin config accessor and logger
664
682
  * @param tx the unsigned/crafted transaction (as returned by {@link craftTransaction})
665
683
  * @param signature ordered list of signatures produced by the hardware wallet — root intent first,
666
684
  * nested calls after. Single-signature blockchains must throw if `signature.length !== 1`.
667
- * @param pubkey the public key used to sign (required for some blockchains to verify/embed in the transaction)
685
+ * @param options optional parameters
686
+ * @param options.pubkey the public key used to sign (required for some blockchains to verify/embed in the transaction)
668
687
  * @returns the signed transaction ready for {@link broadcast}
669
- * @param context the {@link Context} carrying the coin config accessor and logger
670
688
  */
671
689
  combine: (context: Context<ConfigType>, tx: string, signature: string[], options?: {
672
690
  pubkey?: string;
@@ -674,11 +692,12 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
674
692
  /**
675
693
  * Broadcast a signed transaction to the network.
676
694
  *
695
+ * @param context the {@link Context} carrying the coin config accessor and logger
677
696
  * @param tx the signed transaction (encoding is blockchain dependent, typically hex-encoded)
678
- * @param broadcastConfig optional configuration for the broadcast (e.g., retry settings)
697
+ * @param options optional parameters
698
+ * @param options.broadcastConfig optional configuration for the broadcast (e.g., retry settings)
679
699
  * @returns the transaction hash/digest once successfully submitted to the network
680
700
  * @throws if the transaction is rejected by the network (e.g., invalid signature, insufficient funds)
681
- * @param context the {@link Context} carrying the coin config accessor and logger
682
701
  */
683
702
  broadcast: (context: Context<ConfigType>, tx: string, options?: {
684
703
  broadcastConfig?: BroadcastConfig;
@@ -686,11 +705,12 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
686
705
  /**
687
706
  * Validate a transaction intent.
688
707
  *
708
+ * @param context the {@link Context} carrying the coin config accessor and logger
689
709
  * @param transactionIntent the transaction intent describing what the user wants to do
690
710
  * @param balances current balances of the intent sender
691
- * @param customFees optional custom fees to use instead of the default estimation
711
+ * @param options optional parameters
712
+ * @param options.customFees custom fees to use instead of the default estimation
692
713
  * @returns additional values the intent has been validated with, and optional errors/warnings
693
- * @param context the {@link Context} carrying the coin config accessor and logger
694
714
  */
695
715
  validateIntent: (context: Context<ConfigType>, transactionIntent: TransactionIntent<MemoType, TxDataType>, balances: Balance[], options?: {
696
716
  customFees?: FeeEstimation;
@@ -698,27 +718,27 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
698
718
  /**
699
719
  * Get the next sequence number (nonce) for an address
700
720
  *
721
+ * @param context the {@link Context} carrying the coin config accessor and logger
701
722
  * @param address the account address
702
723
  * @returns the next usable sequence number
703
- * @param context the {@link Context} carrying the coin config accessor and logger
704
724
  */
705
725
  getNextSequence: (context: Context<ConfigType>, address: string) => Promise<bigint>;
706
726
  /**
707
727
  * Validate whether an address is well-formed for the blockchain.
708
728
  *
729
+ * @param context the {@link Context} carrying the coin config accessor and logger
709
730
  * @param address the address to validate
710
731
  * @param parameters currency-specific validation parameters
711
732
  * @returns `true` if the address is valid, `false` otherwise
712
- * @param context the {@link Context} carrying the coin config accessor and logger
713
733
  */
714
734
  validateAddress: (context: Context<ConfigType>, address: string, parameters: Partial<AddressValidationCurrencyParameters>) => Promise<boolean>;
715
735
  /**
716
736
  * Get a blockchain specific payload. For Ethereum, it would be a calldata,
717
737
  * for Solana, it would be instructions, and so on
718
738
  *
739
+ * @param context the {@link Context} carrying the coin config accessor and logger
719
740
  * @param intent transaction intent
720
741
  * @returns blockchain-specific {@link TxData} for this module
721
- * @param context the {@link Context} carrying the coin config accessor and logger
722
742
  */
723
743
  craftTransactionData: (context: Context<ConfigType>, intent: TransactionIntent<MemoType, TxDataType>) => TxDataType;
724
744
  };
@@ -1 +1 @@
1
- {"version":3,"file":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QAAE,UAAU,CAAC,EAAE,aAAa,CAAA;KAAE,KACrC,OAAO,CAAC,qBAAqB,CAAC,CAAA;IAEnC;;;;;;OAMG;IACH,eAAe,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,UAAU,CAAC,EAAE,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAA;IAEnF;;;;;;;OAOG;IACH,eAAe,EAAE,CACf,OAAO,EAAE,OAAO,CAAC,UAAU,CAAC,EAC5B,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,OAAO,CAAC,mCAAmC,CAAC,KACrD,OAAO,CAAC,OAAO,CAAC,CAAA;IAErB;;;;;;;OAOG;IACH,oBAAoB,EAAE,CACpB,OAAO,EAAE,OAAO,CAAC,UAAU,CAAC,EAC5B,MAAM,EAAE,iBAAiB,CAAC,QAAQ,EAAE,UAAU,CAAC,KAC5C,UAAU,CAAA;CAChB,CAAA"}
@@ -419,6 +419,18 @@ export type BalanceOptions = {
419
419
  /** Asset whitelist (if provided, only matching assets are included) */
420
420
  includeAssets?: (asset: AssetInfo) => Promise<boolean>;
421
421
  };
422
+ export type StakesOptions = {
423
+ /**
424
+ * Opaque pagination token returned by a previous `getStakes` call as
425
+ * `Page.next`.
426
+ */
427
+ cursor?: Cursor;
428
+ /**
429
+ * Validator IDs to probe unconditionally, in addition to those returned by
430
+ * the chain's delegation-listing call.
431
+ */
432
+ knownValidatorIds?: string[] | undefined;
433
+ };
422
434
  /** Parameters for {@link CoinModuleApi.call}. */
423
435
  export type CallParams = Record<string, unknown> | unknown[];
424
436
  /** Result of {@link CoinModuleApi.call}. */
@@ -429,10 +441,10 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
429
441
  *
430
442
  * This must return the same result as {@link getBlockInfo} for the latest block height.
431
443
  *
444
+ * @param context the {@link Context} carrying the coin config accessor and logger
432
445
  * @returns the latest block metadata (height, hash, time)
433
446
  * @see getBlockInfo
434
447
  * @see getBlock
435
- * @param context the {@link Context} carrying the coin config accessor and logger
436
448
  */
437
449
  lastBlock: (context: Context<ConfigType>) => Promise<BlockInfo>;
438
450
  /**
@@ -443,10 +455,10 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
443
455
  * This API is optional and may not be supported on all networks: implementation should raise a "not supported" error
444
456
  * in such case.
445
457
  *
458
+ * @param context the {@link Context} carrying the coin config accessor and logger
446
459
  * @param height the block height to query
447
460
  * @returns the block metadata (height, hash, time)
448
461
  * @throws "not supported" if the blockchain does not support querying historical blocks
449
- * @param context the {@link Context} carrying the coin config accessor and logger
450
462
  */
451
463
  getBlockInfo: (context: Context<ConfigType>, height: number) => Promise<BlockInfo>;
452
464
  /**
@@ -459,10 +471,10 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
459
471
  * This API is optional and may not be supported on all networks: implementation should raise a "not supported" error
460
472
  * in such case.
461
473
  *
474
+ * @param context the {@link Context} carrying the coin config accessor and logger
462
475
  * @param height the block height to query
463
476
  * @returns the complete block with transactions
464
477
  * @throws "not supported" if the blockchain does not support querying full blocks
465
- * @param context the {@link Context} carrying the coin config accessor and logger
466
478
  */
467
479
  getBlock: (context: Context<ConfigType>, height: number) => Promise<Block>;
468
480
  /**
@@ -477,20 +489,22 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
477
489
  * This API is optional and may not be supported on all networks: implementations should raise a
478
490
  * "not supported" error in such cases.
479
491
  *
492
+ * @param context the {@link Context} carrying the coin config accessor and logger
480
493
  * @param params opaque, network-defined parameters for the read-only call
481
494
  * @returns the opaque, network-defined result
482
495
  * @throws "not supported" if the network or implementation does not support contract calls
483
- * @param context the {@link Context} carrying the coin config accessor and logger
484
496
  */
485
497
  call: (context: Context<ConfigType>, params: CallParams) => Promise<CallResult>;
486
498
  /**
487
499
  * Get the list of validators available on the network.
488
- * @param cursor a pagination cursor to resume listing (the implementation must guarantee the cursor is not volatile,
500
+ *
501
+ * @param context the {@link Context} carrying the coin config accessor and logger
502
+ * @param options optional parameters
503
+ * @param options.cursor a pagination cursor to resume listing (the implementation must guarantee the cursor is not volatile,
489
504
  * i.e. it can be used long after the last request and still provide consistent results - for instance,
490
505
  * a date or transaction hash).
491
506
  * The concrete implementation may return all validators in a single page when the underlying SDK
492
507
  * does not provide cursor-based pagination.
493
- * @param context the {@link Context} carrying the coin config accessor and logger
494
508
  */
495
509
  getValidators: (context: Context<ConfigType>, options?: {
496
510
  cursor?: Cursor;
@@ -503,12 +517,12 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
503
517
  *
504
518
  * If account is not found, implementation must return an empty balance.
505
519
  *
520
+ * @param context the {@link Context} carrying the coin config accessor and logger
506
521
  * @param address the account address
507
522
  * @param options optional parameters to filter/restrict the returned balances (see {@link BalanceOptions})
508
523
  * @returns an array of balances for all assets held by the address
509
524
  * @see getStakes
510
525
  * @see listOperations
511
- * @param context the {@link Context} carrying the coin config accessor and logger
512
526
  */
513
527
  getBalance: (context: Context<ConfigType>, address: string, options?: BalanceOptions) => Promise<Balance[]>;
514
528
  /**
@@ -516,11 +530,11 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
516
530
  *
517
531
  * If account is not found, implementation must return an empty result.
518
532
  *
533
+ * @param context the {@link Context} carrying the coin config accessor and logger
519
534
  * @param address the owner account address
520
535
  * @param options see {@link ListOperationsOptions}
521
536
  * @returns a page of operations
522
537
  * @see getBalance
523
- * @param context the {@link Context} carrying the coin config accessor and logger
524
538
  */
525
539
  listOperations: (context: Context<ConfigType>, address: string, options: ListOperationsOptions) => Promise<Page<Operation>>;
526
540
  /**
@@ -534,17 +548,16 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
534
548
  * Since this API can make no sense/be complex to implement/require too many RPC calls on some blockchains, it is
535
549
  * optional: implementation should raise a "not supported" error in such case.
536
550
  *
551
+ * @param context the {@link Context} carrying the coin config accessor and logger
537
552
  * @param address the owner account address
538
- * @param cursor a pagination cursor to resume listing (the implementation must guarantee the cursor is not volatile,
553
+ * @param options optional parameters
554
+ * @param options.cursor a pagination cursor to resume listing (the implementation must guarantee the cursor is not volatile,
539
555
  * i.e. it can be used long after the last request and still provide consistent results - for instance,
540
556
  * a date or transaction hash)
541
557
  * @see getBalance
542
558
  * @see getRewards
543
- * @param context the {@link Context} carrying the coin config accessor and logger
544
559
  */
545
- getStakes: (context: Context<ConfigType>, address: string, options?: {
546
- cursor?: Cursor;
547
- }) => Promise<Page<Stake>>;
560
+ getStakes: (context: Context<ConfigType>, address: string, options?: StakesOptions) => Promise<Page<Stake>>;
548
561
  /**
549
562
  * Get staking reward distribution events since address/account inception.
550
563
  *
@@ -561,13 +574,14 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
561
574
  * Since this API can make no sense/be complex to implement/require too many RPC calls on some blockchains, it is
562
575
  * optional: implementation should raise a "not supported" error in such case.
563
576
  *
577
+ * @param context the {@link Context} carrying the coin config accessor and logger
564
578
  * @param address the account address (see doc, exact scope of the request is implementation dependent)
565
- * @param cursor a pagination cursor to resume listing (the implementation must guarantee the cursor is not volatile,
579
+ * @param options optional parameters
580
+ * @param options.cursor a pagination cursor to resume listing (the implementation must guarantee the cursor is not volatile,
566
581
  * i.e. it can be used long after the last request and still provide consistent results - for instance,
567
582
  * a date or transaction hash)
568
583
  * @see getBalance
569
584
  * @see getStakes
570
- * @param context the {@link Context} carrying the coin config accessor and logger
571
585
  */
572
586
  getRewards: (context: Context<ConfigType>, address: string, options?: {
573
587
  cursor?: Cursor;
@@ -579,10 +593,10 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
579
593
  * This API is optional: implementations that expose no extra metadata simply omit it, and callers
580
594
  * must treat an absent method as `{ type: 'none' }`.
581
595
  *
596
+ * @param context the {@link Context} carrying the coin config accessor and logger
582
597
  * @param address the account address
583
598
  * @returns the network-specific account metadata (see {@link AccountInfo})
584
599
  * @see getBalance
585
- * @param context the {@link Context} carrying the coin config accessor and logger
586
600
  */
587
601
  getAccountInfo?: (context: Context<ConfigType>, address: string) => Promise<AccountInfo>;
588
602
  /**
@@ -594,9 +608,9 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
594
608
  * Implementations without an indexing enrollment backend must raise a "not supported" error.
595
609
  *
596
610
  * @see https://ledgerhq.atlassian.net/wiki/spaces/CF/pages/7282851852/Coin+modules+-+ADR-046+-+Register+method+account+enrollment+for+indexing
611
+ * @param context the {@link Context} carrying the coin config accessor and logger
597
612
  * @param address the account identifier to register (address for most families; Aleo view key when applicable)
598
613
  * @returns the handle assigned by the selected indexing backend
599
- * @param context the {@link Context} carrying the coin config accessor and logger
600
614
  */
601
615
  register: (context: Context<ConfigType>, address: string) => Promise<Registration>;
602
616
  /**
@@ -605,11 +619,12 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
605
619
  * The crafted transaction is ready to be signed by the hardware wallet and then combined
606
620
  * with the signature using {@link combine}.
607
621
  *
622
+ * @param context the {@link Context} carrying the coin config accessor and logger
608
623
  * @param transactionIntent the transaction intent describing what the user wants to do
609
- * @param customFees optional custom fees to use instead of the default estimation
624
+ * @param options optional parameters
625
+ * @param options.customFees custom fees to use instead of the default estimation
610
626
  * @returns the crafted transaction with optional blockchain-specific details
611
627
  * @see craftRawTransaction
612
- * @param context the {@link Context} carrying the coin config accessor and logger
613
628
  */
614
629
  craftTransaction: (context: Context<ConfigType>, transactionIntent: TransactionIntent<MemoType, TxDataType>, options?: {
615
630
  customFees?: FeeEstimation;
@@ -620,6 +635,7 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
620
635
  * This is an alternative to {@link craftTransaction} for cases where the transaction
621
636
  * is already built externally (e.g., by a dApp or smart contract interaction).
622
637
  *
638
+ * @param context the {@link Context} carrying the coin config accessor and logger
623
639
  * @param transaction the raw transaction to wrap/prepare for signing
624
640
  * @param sender the sender address
625
641
  * @param publicKey the sender's public key
@@ -627,7 +643,6 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
627
643
  * @returns the crafted transaction ready for signing
628
644
  * @throws "not supported" if the blockchain does not support raw transaction crafting
629
645
  * @see craftTransaction
630
- * @param context the {@link Context} carrying the coin config accessor and logger
631
646
  */
632
647
  craftRawTransaction: (context: Context<ConfigType>, transaction: string, sender: string, publicKey: string, sequence: bigint) => Promise<CraftedTransaction>;
633
648
  /**
@@ -635,12 +650,13 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
635
650
  *
636
651
  * The estimation should be based on current network conditions (e.g., gas price, fee rate).
637
652
  *
653
+ * @param context the {@link Context} carrying the coin config accessor and logger
638
654
  * @param transactionIntent the transaction intent describing what the user wants to do
639
- * @param customFeesParameters optional blockchain-specific parameters to customize the fee estimation
655
+ * @param options optional parameters
656
+ * @param options.customFeesParameters optional blockchain-specific parameters to customize the fee estimation
640
657
  * (e.g., gas limit, priority fee)
641
- * @param options optional selection inputs; see {@link EstimateFeesOptions}
658
+ * @param options.feeOption optional fee option selection; see {@link EstimateFeesOptions}
642
659
  * @returns the estimated fees and optional parameters that can be passed to {@link craftTransaction}
643
- * @param context the {@link Context} carrying the coin config accessor and logger
644
660
  */
645
661
  estimateFees: (context: Context<ConfigType>, transactionIntent: TransactionIntent<MemoType, TxDataType>, options?: {
646
662
  customFeesParameters?: FeeEstimation['parameters'];
@@ -654,19 +670,21 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
654
670
  * Optional: omitting this method implicitly exposes a single `standard` option; when implemented it
655
671
  * must return the full list including `standard` (e.g. `[sponsored, standard]` or `[standard]`).
656
672
  *
673
+ * @param context the {@link Context} carrying the coin config accessor and logger
657
674
  * @param transactionIntent the transaction intent describing what the user wants to do
658
675
  * @returns the available fee options (metadata only)
659
676
  */
660
- listFeeOptions?: (transactionIntent: TransactionIntent<MemoType, TxDataType>) => Promise<FeeOptionMeta[]>;
677
+ listFeeOptions?: (context: Context<ConfigType>, transactionIntent: TransactionIntent<MemoType, TxDataType>) => Promise<FeeOptionMeta[]>;
661
678
  /**
662
679
  * Combine a crafted transaction with a signature to produce a signed transaction ready for broadcast.
663
680
  *
681
+ * @param context the {@link Context} carrying the coin config accessor and logger
664
682
  * @param tx the unsigned/crafted transaction (as returned by {@link craftTransaction})
665
683
  * @param signature ordered list of signatures produced by the hardware wallet — root intent first,
666
684
  * nested calls after. Single-signature blockchains must throw if `signature.length !== 1`.
667
- * @param pubkey the public key used to sign (required for some blockchains to verify/embed in the transaction)
685
+ * @param options optional parameters
686
+ * @param options.pubkey the public key used to sign (required for some blockchains to verify/embed in the transaction)
668
687
  * @returns the signed transaction ready for {@link broadcast}
669
- * @param context the {@link Context} carrying the coin config accessor and logger
670
688
  */
671
689
  combine: (context: Context<ConfigType>, tx: string, signature: string[], options?: {
672
690
  pubkey?: string;
@@ -674,11 +692,12 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
674
692
  /**
675
693
  * Broadcast a signed transaction to the network.
676
694
  *
695
+ * @param context the {@link Context} carrying the coin config accessor and logger
677
696
  * @param tx the signed transaction (encoding is blockchain dependent, typically hex-encoded)
678
- * @param broadcastConfig optional configuration for the broadcast (e.g., retry settings)
697
+ * @param options optional parameters
698
+ * @param options.broadcastConfig optional configuration for the broadcast (e.g., retry settings)
679
699
  * @returns the transaction hash/digest once successfully submitted to the network
680
700
  * @throws if the transaction is rejected by the network (e.g., invalid signature, insufficient funds)
681
- * @param context the {@link Context} carrying the coin config accessor and logger
682
701
  */
683
702
  broadcast: (context: Context<ConfigType>, tx: string, options?: {
684
703
  broadcastConfig?: BroadcastConfig;
@@ -686,11 +705,12 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
686
705
  /**
687
706
  * Validate a transaction intent.
688
707
  *
708
+ * @param context the {@link Context} carrying the coin config accessor and logger
689
709
  * @param transactionIntent the transaction intent describing what the user wants to do
690
710
  * @param balances current balances of the intent sender
691
- * @param customFees optional custom fees to use instead of the default estimation
711
+ * @param options optional parameters
712
+ * @param options.customFees custom fees to use instead of the default estimation
692
713
  * @returns additional values the intent has been validated with, and optional errors/warnings
693
- * @param context the {@link Context} carrying the coin config accessor and logger
694
714
  */
695
715
  validateIntent: (context: Context<ConfigType>, transactionIntent: TransactionIntent<MemoType, TxDataType>, balances: Balance[], options?: {
696
716
  customFees?: FeeEstimation;
@@ -698,27 +718,27 @@ export type CoinModuleApi<ConfigType extends CurrencyConfig, MemoType extends Me
698
718
  /**
699
719
  * Get the next sequence number (nonce) for an address
700
720
  *
721
+ * @param context the {@link Context} carrying the coin config accessor and logger
701
722
  * @param address the account address
702
723
  * @returns the next usable sequence number
703
- * @param context the {@link Context} carrying the coin config accessor and logger
704
724
  */
705
725
  getNextSequence: (context: Context<ConfigType>, address: string) => Promise<bigint>;
706
726
  /**
707
727
  * Validate whether an address is well-formed for the blockchain.
708
728
  *
729
+ * @param context the {@link Context} carrying the coin config accessor and logger
709
730
  * @param address the address to validate
710
731
  * @param parameters currency-specific validation parameters
711
732
  * @returns `true` if the address is valid, `false` otherwise
712
- * @param context the {@link Context} carrying the coin config accessor and logger
713
733
  */
714
734
  validateAddress: (context: Context<ConfigType>, address: string, parameters: Partial<AddressValidationCurrencyParameters>) => Promise<boolean>;
715
735
  /**
716
736
  * Get a blockchain specific payload. For Ethereum, it would be a calldata,
717
737
  * for Solana, it would be instructions, and so on
718
738
  *
739
+ * @param context the {@link Context} carrying the coin config accessor and logger
719
740
  * @param intent transaction intent
720
741
  * @returns blockchain-specific {@link TxData} for this module
721
- * @param context the {@link Context} carrying the coin config accessor and logger
722
742
  */
723
743
  craftTransactionData: (context: Context<ConfigType>, intent: TransactionIntent<MemoType, TxDataType>) => TxDataType;
724
744
  };
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/api/types.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAA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CAAC,OAAO,EAAE,OAAO,CAAC,UAAU,CAAC,EAAE,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAA;IAEnF;;;;;;;OAOG;IACH,eAAe,EAAE,CACf,OAAO,EAAE,OAAO,CAAC,UAAU,CAAC,EAC5B,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,OAAO,CAAC,mCAAmC,CAAC,KACrD,OAAO,CAAC,OAAO,CAAC,CAAA;IAErB;;;;;;;OAOG;IACH,oBAAoB,EAAE,CACpB,OAAO,EAAE,OAAO,CAAC,UAAU,CAAC,EAC5B,MAAM,EAAE,iBAAiB,CAAC,QAAQ,EAAE,UAAU,CAAC,KAC5C,UAAU,CAAA;CAChB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/coin-module-framework",
3
- "version": "8.4.0",
3
+ "version": "9.0.0",
4
4
  "description": "Ledger framework for Coin integration",
5
5
  "keywords": [
6
6
  "Ledger",
package/src/api/types.ts CHANGED
@@ -548,6 +548,19 @@ export type BalanceOptions = {
548
548
  includeAssets?: (asset: AssetInfo) => Promise<boolean>
549
549
  }
550
550
 
551
+ export type StakesOptions = {
552
+ /**
553
+ * Opaque pagination token returned by a previous `getStakes` call as
554
+ * `Page.next`.
555
+ */
556
+ cursor?: Cursor
557
+ /**
558
+ * Validator IDs to probe unconditionally, in addition to those returned by
559
+ * the chain's delegation-listing call.
560
+ */
561
+ knownValidatorIds?: string[] | undefined
562
+ }
563
+
551
564
  /** Parameters for {@link CoinModuleApi.call}. */
552
565
  export type CallParams = Record<string, unknown> | unknown[]
553
566
 
@@ -566,10 +579,10 @@ export type CoinModuleApi<
566
579
  *
567
580
  * This must return the same result as {@link getBlockInfo} for the latest block height.
568
581
  *
582
+ * @param context the {@link Context} carrying the coin config accessor and logger
569
583
  * @returns the latest block metadata (height, hash, time)
570
584
  * @see getBlockInfo
571
585
  * @see getBlock
572
- * @param context the {@link Context} carrying the coin config accessor and logger
573
586
  */
574
587
  lastBlock: (context: Context<ConfigType>) => Promise<BlockInfo>
575
588
 
@@ -581,10 +594,10 @@ export type CoinModuleApi<
581
594
  * This API is optional and may not be supported on all networks: implementation should raise a "not supported" error
582
595
  * in such case.
583
596
  *
597
+ * @param context the {@link Context} carrying the coin config accessor and logger
584
598
  * @param height the block height to query
585
599
  * @returns the block metadata (height, hash, time)
586
600
  * @throws "not supported" if the blockchain does not support querying historical blocks
587
- * @param context the {@link Context} carrying the coin config accessor and logger
588
601
  */
589
602
  getBlockInfo: (context: Context<ConfigType>, height: number) => Promise<BlockInfo>
590
603
 
@@ -598,10 +611,10 @@ export type CoinModuleApi<
598
611
  * This API is optional and may not be supported on all networks: implementation should raise a "not supported" error
599
612
  * in such case.
600
613
  *
614
+ * @param context the {@link Context} carrying the coin config accessor and logger
601
615
  * @param height the block height to query
602
616
  * @returns the complete block with transactions
603
617
  * @throws "not supported" if the blockchain does not support querying full blocks
604
- * @param context the {@link Context} carrying the coin config accessor and logger
605
618
  */
606
619
  getBlock: (context: Context<ConfigType>, height: number) => Promise<Block>
607
620
 
@@ -617,21 +630,23 @@ export type CoinModuleApi<
617
630
  * This API is optional and may not be supported on all networks: implementations should raise a
618
631
  * "not supported" error in such cases.
619
632
  *
633
+ * @param context the {@link Context} carrying the coin config accessor and logger
620
634
  * @param params opaque, network-defined parameters for the read-only call
621
635
  * @returns the opaque, network-defined result
622
636
  * @throws "not supported" if the network or implementation does not support contract calls
623
- * @param context the {@link Context} carrying the coin config accessor and logger
624
637
  */
625
638
  call: (context: Context<ConfigType>, params: CallParams) => Promise<CallResult>
626
639
 
627
640
  /**
628
641
  * Get the list of validators available on the network.
629
- * @param cursor a pagination cursor to resume listing (the implementation must guarantee the cursor is not volatile,
642
+ *
643
+ * @param context the {@link Context} carrying the coin config accessor and logger
644
+ * @param options optional parameters
645
+ * @param options.cursor a pagination cursor to resume listing (the implementation must guarantee the cursor is not volatile,
630
646
  * i.e. it can be used long after the last request and still provide consistent results - for instance,
631
647
  * a date or transaction hash).
632
648
  * The concrete implementation may return all validators in a single page when the underlying SDK
633
649
  * does not provide cursor-based pagination.
634
- * @param context the {@link Context} carrying the coin config accessor and logger
635
650
  */
636
651
  getValidators: (
637
652
  context: Context<ConfigType>,
@@ -648,12 +663,12 @@ export type CoinModuleApi<
648
663
  *
649
664
  * If account is not found, implementation must return an empty balance.
650
665
  *
666
+ * @param context the {@link Context} carrying the coin config accessor and logger
651
667
  * @param address the account address
652
668
  * @param options optional parameters to filter/restrict the returned balances (see {@link BalanceOptions})
653
669
  * @returns an array of balances for all assets held by the address
654
670
  * @see getStakes
655
671
  * @see listOperations
656
- * @param context the {@link Context} carrying the coin config accessor and logger
657
672
  */
658
673
  getBalance: (
659
674
  context: Context<ConfigType>,
@@ -666,11 +681,11 @@ export type CoinModuleApi<
666
681
  *
667
682
  * If account is not found, implementation must return an empty result.
668
683
  *
684
+ * @param context the {@link Context} carrying the coin config accessor and logger
669
685
  * @param address the owner account address
670
686
  * @param options see {@link ListOperationsOptions}
671
687
  * @returns a page of operations
672
688
  * @see getBalance
673
- * @param context the {@link Context} carrying the coin config accessor and logger
674
689
  */
675
690
  listOperations: (
676
691
  context: Context<ConfigType>,
@@ -689,18 +704,19 @@ export type CoinModuleApi<
689
704
  * Since this API can make no sense/be complex to implement/require too many RPC calls on some blockchains, it is
690
705
  * optional: implementation should raise a "not supported" error in such case.
691
706
  *
707
+ * @param context the {@link Context} carrying the coin config accessor and logger
692
708
  * @param address the owner account address
693
- * @param cursor a pagination cursor to resume listing (the implementation must guarantee the cursor is not volatile,
709
+ * @param options optional parameters
710
+ * @param options.cursor a pagination cursor to resume listing (the implementation must guarantee the cursor is not volatile,
694
711
  * i.e. it can be used long after the last request and still provide consistent results - for instance,
695
712
  * a date or transaction hash)
696
713
  * @see getBalance
697
714
  * @see getRewards
698
- * @param context the {@link Context} carrying the coin config accessor and logger
699
715
  */
700
716
  getStakes: (
701
717
  context: Context<ConfigType>,
702
718
  address: string,
703
- options?: { cursor?: Cursor }
719
+ options?: StakesOptions
704
720
  ) => Promise<Page<Stake>>
705
721
 
706
722
  /**
@@ -719,13 +735,14 @@ export type CoinModuleApi<
719
735
  * Since this API can make no sense/be complex to implement/require too many RPC calls on some blockchains, it is
720
736
  * optional: implementation should raise a "not supported" error in such case.
721
737
  *
738
+ * @param context the {@link Context} carrying the coin config accessor and logger
722
739
  * @param address the account address (see doc, exact scope of the request is implementation dependent)
723
- * @param cursor a pagination cursor to resume listing (the implementation must guarantee the cursor is not volatile,
740
+ * @param options optional parameters
741
+ * @param options.cursor a pagination cursor to resume listing (the implementation must guarantee the cursor is not volatile,
724
742
  * i.e. it can be used long after the last request and still provide consistent results - for instance,
725
743
  * a date or transaction hash)
726
744
  * @see getBalance
727
745
  * @see getStakes
728
- * @param context the {@link Context} carrying the coin config accessor and logger
729
746
  */
730
747
  getRewards: (
731
748
  context: Context<ConfigType>,
@@ -740,10 +757,10 @@ export type CoinModuleApi<
740
757
  * This API is optional: implementations that expose no extra metadata simply omit it, and callers
741
758
  * must treat an absent method as `{ type: 'none' }`.
742
759
  *
760
+ * @param context the {@link Context} carrying the coin config accessor and logger
743
761
  * @param address the account address
744
762
  * @returns the network-specific account metadata (see {@link AccountInfo})
745
763
  * @see getBalance
746
- * @param context the {@link Context} carrying the coin config accessor and logger
747
764
  */
748
765
  getAccountInfo?: (context: Context<ConfigType>, address: string) => Promise<AccountInfo>
749
766
 
@@ -756,9 +773,9 @@ export type CoinModuleApi<
756
773
  * Implementations without an indexing enrollment backend must raise a "not supported" error.
757
774
  *
758
775
  * @see https://ledgerhq.atlassian.net/wiki/spaces/CF/pages/7282851852/Coin+modules+-+ADR-046+-+Register+method+account+enrollment+for+indexing
776
+ * @param context the {@link Context} carrying the coin config accessor and logger
759
777
  * @param address the account identifier to register (address for most families; Aleo view key when applicable)
760
778
  * @returns the handle assigned by the selected indexing backend
761
- * @param context the {@link Context} carrying the coin config accessor and logger
762
779
  */
763
780
  register: (context: Context<ConfigType>, address: string) => Promise<Registration>
764
781
 
@@ -770,11 +787,12 @@ export type CoinModuleApi<
770
787
  * The crafted transaction is ready to be signed by the hardware wallet and then combined
771
788
  * with the signature using {@link combine}.
772
789
  *
790
+ * @param context the {@link Context} carrying the coin config accessor and logger
773
791
  * @param transactionIntent the transaction intent describing what the user wants to do
774
- * @param customFees optional custom fees to use instead of the default estimation
792
+ * @param options optional parameters
793
+ * @param options.customFees custom fees to use instead of the default estimation
775
794
  * @returns the crafted transaction with optional blockchain-specific details
776
795
  * @see craftRawTransaction
777
- * @param context the {@link Context} carrying the coin config accessor and logger
778
796
  */
779
797
  craftTransaction: (
780
798
  context: Context<ConfigType>,
@@ -788,6 +806,7 @@ export type CoinModuleApi<
788
806
  * This is an alternative to {@link craftTransaction} for cases where the transaction
789
807
  * is already built externally (e.g., by a dApp or smart contract interaction).
790
808
  *
809
+ * @param context the {@link Context} carrying the coin config accessor and logger
791
810
  * @param transaction the raw transaction to wrap/prepare for signing
792
811
  * @param sender the sender address
793
812
  * @param publicKey the sender's public key
@@ -795,7 +814,6 @@ export type CoinModuleApi<
795
814
  * @returns the crafted transaction ready for signing
796
815
  * @throws "not supported" if the blockchain does not support raw transaction crafting
797
816
  * @see craftTransaction
798
- * @param context the {@link Context} carrying the coin config accessor and logger
799
817
  */
800
818
  craftRawTransaction: (
801
819
  context: Context<ConfigType>,
@@ -810,12 +828,13 @@ export type CoinModuleApi<
810
828
  *
811
829
  * The estimation should be based on current network conditions (e.g., gas price, fee rate).
812
830
  *
831
+ * @param context the {@link Context} carrying the coin config accessor and logger
813
832
  * @param transactionIntent the transaction intent describing what the user wants to do
814
- * @param customFeesParameters optional blockchain-specific parameters to customize the fee estimation
833
+ * @param options optional parameters
834
+ * @param options.customFeesParameters optional blockchain-specific parameters to customize the fee estimation
815
835
  * (e.g., gas limit, priority fee)
816
- * @param options optional selection inputs; see {@link EstimateFeesOptions}
836
+ * @param options.feeOption optional fee option selection; see {@link EstimateFeesOptions}
817
837
  * @returns the estimated fees and optional parameters that can be passed to {@link craftTransaction}
818
- * @param context the {@link Context} carrying the coin config accessor and logger
819
838
  */
820
839
  estimateFees: (
821
840
  context: Context<ConfigType>,
@@ -834,22 +853,25 @@ export type CoinModuleApi<
834
853
  * Optional: omitting this method implicitly exposes a single `standard` option; when implemented it
835
854
  * must return the full list including `standard` (e.g. `[sponsored, standard]` or `[standard]`).
836
855
  *
856
+ * @param context the {@link Context} carrying the coin config accessor and logger
837
857
  * @param transactionIntent the transaction intent describing what the user wants to do
838
858
  * @returns the available fee options (metadata only)
839
859
  */
840
860
  listFeeOptions?: (
861
+ context: Context<ConfigType>,
841
862
  transactionIntent: TransactionIntent<MemoType, TxDataType>
842
863
  ) => Promise<FeeOptionMeta[]>
843
864
 
844
865
  /**
845
866
  * Combine a crafted transaction with a signature to produce a signed transaction ready for broadcast.
846
867
  *
868
+ * @param context the {@link Context} carrying the coin config accessor and logger
847
869
  * @param tx the unsigned/crafted transaction (as returned by {@link craftTransaction})
848
870
  * @param signature ordered list of signatures produced by the hardware wallet — root intent first,
849
871
  * nested calls after. Single-signature blockchains must throw if `signature.length !== 1`.
850
- * @param pubkey the public key used to sign (required for some blockchains to verify/embed in the transaction)
872
+ * @param options optional parameters
873
+ * @param options.pubkey the public key used to sign (required for some blockchains to verify/embed in the transaction)
851
874
  * @returns the signed transaction ready for {@link broadcast}
852
- * @param context the {@link Context} carrying the coin config accessor and logger
853
875
  */
854
876
  combine: (
855
877
  context: Context<ConfigType>,
@@ -861,11 +883,12 @@ export type CoinModuleApi<
861
883
  /**
862
884
  * Broadcast a signed transaction to the network.
863
885
  *
886
+ * @param context the {@link Context} carrying the coin config accessor and logger
864
887
  * @param tx the signed transaction (encoding is blockchain dependent, typically hex-encoded)
865
- * @param broadcastConfig optional configuration for the broadcast (e.g., retry settings)
888
+ * @param options optional parameters
889
+ * @param options.broadcastConfig optional configuration for the broadcast (e.g., retry settings)
866
890
  * @returns the transaction hash/digest once successfully submitted to the network
867
891
  * @throws if the transaction is rejected by the network (e.g., invalid signature, insufficient funds)
868
- * @param context the {@link Context} carrying the coin config accessor and logger
869
892
  */
870
893
  broadcast: (
871
894
  context: Context<ConfigType>,
@@ -876,11 +899,12 @@ export type CoinModuleApi<
876
899
  /**
877
900
  * Validate a transaction intent.
878
901
  *
902
+ * @param context the {@link Context} carrying the coin config accessor and logger
879
903
  * @param transactionIntent the transaction intent describing what the user wants to do
880
904
  * @param balances current balances of the intent sender
881
- * @param customFees optional custom fees to use instead of the default estimation
905
+ * @param options optional parameters
906
+ * @param options.customFees custom fees to use instead of the default estimation
882
907
  * @returns additional values the intent has been validated with, and optional errors/warnings
883
- * @param context the {@link Context} carrying the coin config accessor and logger
884
908
  */
885
909
  validateIntent: (
886
910
  context: Context<ConfigType>,
@@ -892,19 +916,19 @@ export type CoinModuleApi<
892
916
  /**
893
917
  * Get the next sequence number (nonce) for an address
894
918
  *
919
+ * @param context the {@link Context} carrying the coin config accessor and logger
895
920
  * @param address the account address
896
921
  * @returns the next usable sequence number
897
- * @param context the {@link Context} carrying the coin config accessor and logger
898
922
  */
899
923
  getNextSequence: (context: Context<ConfigType>, address: string) => Promise<bigint>
900
924
 
901
925
  /**
902
926
  * Validate whether an address is well-formed for the blockchain.
903
927
  *
928
+ * @param context the {@link Context} carrying the coin config accessor and logger
904
929
  * @param address the address to validate
905
930
  * @param parameters currency-specific validation parameters
906
931
  * @returns `true` if the address is valid, `false` otherwise
907
- * @param context the {@link Context} carrying the coin config accessor and logger
908
932
  */
909
933
  validateAddress: (
910
934
  context: Context<ConfigType>,
@@ -916,9 +940,9 @@ export type CoinModuleApi<
916
940
  * Get a blockchain specific payload. For Ethereum, it would be a calldata,
917
941
  * for Solana, it would be instructions, and so on
918
942
  *
943
+ * @param context the {@link Context} carrying the coin config accessor and logger
919
944
  * @param intent transaction intent
920
945
  * @returns blockchain-specific {@link TxData} for this module
921
- * @param context the {@link Context} carrying the coin config accessor and logger
922
946
  */
923
947
  craftTransactionData: (
924
948
  context: Context<ConfigType>,