@dfinity/nns 0.16.6 → 0.16.7-next-2023-09-04

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/README.md CHANGED
@@ -121,7 +121,7 @@ Parameters:
121
121
 
122
122
  ### :factory: AccountIdentifier
123
123
 
124
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/account_identifier.ts#L12)
124
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/account_identifier.ts#L13)
125
125
 
126
126
  #### Methods
127
127
 
@@ -139,7 +139,7 @@ Parameters:
139
139
  | --------- | ------------------------------------ |
140
140
  | `fromHex` | `(hex: string) => AccountIdentifier` |
141
141
 
142
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/account_identifier.ts#L15)
142
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/account_identifier.ts#L16)
143
143
 
144
144
  ##### :gear: fromPrincipal
145
145
 
@@ -147,7 +147,7 @@ Parameters:
147
147
  | --------------- | ------------------------------------------------------------------------------------------------------- |
148
148
  | `fromPrincipal` | `({ principal, subAccount, }: { principal: Principal; subAccount?: SubAccount; }) => AccountIdentifier` |
149
149
 
150
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/account_identifier.ts#L19)
150
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/account_identifier.ts#L20)
151
151
 
152
152
  ##### :gear: toProto
153
153
 
@@ -155,7 +155,7 @@ Parameters:
155
155
  | --------- | ---------------------------------- |
156
156
  | `toProto` | `() => Promise<AccountIdentifier>` |
157
157
 
158
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/account_identifier.ts#L46)
158
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/account_identifier.ts#L49)
159
159
 
160
160
  ##### :gear: toHex
161
161
 
@@ -163,7 +163,7 @@ Parameters:
163
163
  | ------- | -------------- |
164
164
  | `toHex` | `() => string` |
165
165
 
166
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/account_identifier.ts#L54)
166
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/account_identifier.ts#L57)
167
167
 
168
168
  ##### :gear: toUint8Array
169
169
 
@@ -171,7 +171,7 @@ Parameters:
171
171
  | -------------- | ------------------ |
172
172
  | `toUint8Array` | `() => Uint8Array` |
173
173
 
174
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/account_identifier.ts#L58)
174
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/account_identifier.ts#L61)
175
175
 
176
176
  ##### :gear: toNumbers
177
177
 
@@ -179,7 +179,7 @@ Parameters:
179
179
  | ----------- | ---------------- |
180
180
  | `toNumbers` | `() => number[]` |
181
181
 
182
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/account_identifier.ts#L62)
182
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/account_identifier.ts#L65)
183
183
 
184
184
  ##### :gear: toAccountIdentifierHash
185
185
 
@@ -187,11 +187,11 @@ Parameters:
187
187
  | ------------------------- | ------------------------- |
188
188
  | `toAccountIdentifierHash` | `() => AccountIdentifier` |
189
189
 
190
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/account_identifier.ts#L66)
190
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/account_identifier.ts#L69)
191
191
 
192
192
  ### :factory: SubAccount
193
193
 
194
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/account_identifier.ts#L73)
194
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/account_identifier.ts#L76)
195
195
 
196
196
  #### Methods
197
197
 
@@ -206,7 +206,7 @@ Parameters:
206
206
  | ----------- | -------------------------------------------- |
207
207
  | `fromBytes` | `(bytes: Uint8Array) => SubAccount or Error` |
208
208
 
209
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/account_identifier.ts#L76)
209
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/account_identifier.ts#L79)
210
210
 
211
211
  ##### :gear: fromPrincipal
212
212
 
@@ -214,7 +214,7 @@ Parameters:
214
214
  | --------------- | -------------------------------------- |
215
215
  | `fromPrincipal` | `(principal: Principal) => SubAccount` |
216
216
 
217
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/account_identifier.ts#L84)
217
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/account_identifier.ts#L87)
218
218
 
219
219
  ##### :gear: fromID
220
220
 
@@ -222,7 +222,7 @@ Parameters:
222
222
  | -------- | ---------------------------- |
223
223
  | `fromID` | `(id: number) => SubAccount` |
224
224
 
225
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/account_identifier.ts#L97)
225
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/account_identifier.ts#L100)
226
226
 
227
227
  ##### :gear: toUint8Array
228
228
 
@@ -230,7 +230,7 @@ Parameters:
230
230
  | -------------- | ------------------ |
231
231
  | `toUint8Array` | `() => Uint8Array` |
232
232
 
233
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/account_identifier.ts#L109)
233
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/account_identifier.ts#L112)
234
234
 
235
235
  ### :factory: GenesisTokenCanister
236
236
 
@@ -312,7 +312,7 @@ Returns the index of the block containing the tx if it was successful.
312
312
 
313
313
  ### :factory: GovernanceCanister
314
314
 
315
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L106)
315
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L107)
316
316
 
317
317
  #### Methods
318
318
 
@@ -353,7 +353,7 @@ Returns the index of the block containing the tx if it was successful.
353
353
  | -------- | ------------------------------------------------------------- |
354
354
  | `create` | `(options?: GovernanceCanisterOptions) => GovernanceCanister` |
355
355
 
356
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L121)
356
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L122)
357
357
 
358
358
  ##### :gear: listNeurons
359
359
 
@@ -368,7 +368,7 @@ it is fetched using a query call.
368
368
  | ------------- | ----------------------------------------------------------------------------------------------------- |
369
369
  | `listNeurons` | `({ certified, neuronIds, }: { certified: boolean; neuronIds?: bigint[]; }) => Promise<NeuronInfo[]>` |
370
370
 
371
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L153)
371
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L154)
372
372
 
373
373
  ##### :gear: listKnownNeurons
374
374
 
@@ -382,7 +382,7 @@ it is fetched using a query call.
382
382
  | ------------------ | ------------------------------------------------- |
383
383
  | `listKnownNeurons` | `(certified?: boolean) => Promise<KnownNeuron[]>` |
384
384
 
385
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L185)
385
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L186)
386
386
 
387
387
  ##### :gear: getLastestRewardEvent
388
388
 
@@ -395,7 +395,7 @@ it's fetched using a query call.
395
395
  | ----------------------- | ----------------------------------------------- |
396
396
  | `getLastestRewardEvent` | `(certified?: boolean) => Promise<RewardEvent>` |
397
397
 
398
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L208)
398
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L209)
399
399
 
400
400
  ##### :gear: listProposals
401
401
 
@@ -414,7 +414,7 @@ Parameters:
414
414
  - `request`: the options to list the proposals (limit number of results, topics to search for, etc.)
415
415
  - `certified`: query or update calls
416
416
 
417
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L224)
417
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L225)
418
418
 
419
419
  ##### :gear: stakeNeuron
420
420
 
@@ -422,7 +422,7 @@ Parameters:
422
422
  | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
423
423
  | `stakeNeuron` | `({ stake, principal, fromSubAccount, ledgerCanister, createdAt, fee, }: { stake: bigint; principal: Principal; fromSubAccount?: number[]; ledgerCanister: LedgerCanister; createdAt?: bigint; fee?: bigint; }) => Promise<bigint>` |
424
424
 
425
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L244)
425
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L245)
426
426
 
427
427
  ##### :gear: increaseDissolveDelay
428
428
 
@@ -432,7 +432,7 @@ Increases dissolve delay of a neuron
432
432
  | ----------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
433
433
  | `increaseDissolveDelay` | `({ neuronId, additionalDissolveDelaySeconds, }: { neuronId: bigint; additionalDissolveDelaySeconds: number; }) => Promise<void>` |
434
434
 
435
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L305)
435
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L306)
436
436
 
437
437
  ##### :gear: setDissolveDelay
438
438
 
@@ -443,7 +443,7 @@ The new date is now + dissolveDelaySeconds.
443
443
  | ------------------ | ------------------------------------------------------------------------------------------------------------- |
444
444
  | `setDissolveDelay` | `({ neuronId, dissolveDelaySeconds, }: { neuronId: bigint; dissolveDelaySeconds: number; }) => Promise<void>` |
445
445
 
446
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L337)
446
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L338)
447
447
 
448
448
  ##### :gear: startDissolving
449
449
 
@@ -453,7 +453,7 @@ Start dissolving process of a neuron
453
453
  | ----------------- | ------------------------------------- |
454
454
  | `startDissolving` | `(neuronId: bigint) => Promise<void>` |
455
455
 
456
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L360)
456
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L361)
457
457
 
458
458
  ##### :gear: stopDissolving
459
459
 
@@ -463,7 +463,7 @@ Stop dissolving process of a neuron
463
463
  | ---------------- | ------------------------------------- |
464
464
  | `stopDissolving` | `(neuronId: bigint) => Promise<void>` |
465
465
 
466
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L377)
466
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L378)
467
467
 
468
468
  ##### :gear: joinCommunityFund
469
469
 
@@ -473,7 +473,7 @@ Neuron joins the community fund
473
473
  | ------------------- | ------------------------------------- |
474
474
  | `joinCommunityFund` | `(neuronId: bigint) => Promise<void>` |
475
475
 
476
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L394)
476
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L395)
477
477
 
478
478
  ##### :gear: autoStakeMaturity
479
479
 
@@ -488,7 +488,7 @@ Parameters:
488
488
  - `neuronId`: The id of the neuron for which to request a change of the auto stake feature
489
489
  - `autoStake`: `true` to enable the auto-stake maturity for this neuron, `false` to turn it off
490
490
 
491
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L416)
491
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L417)
492
492
 
493
493
  ##### :gear: leaveCommunityFund
494
494
 
@@ -498,7 +498,7 @@ Neuron leaves the community fund
498
498
  | -------------------- | ------------------------------------- |
499
499
  | `leaveCommunityFund` | `(neuronId: bigint) => Promise<void>` |
500
500
 
501
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L430)
501
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L431)
502
502
 
503
503
  ##### :gear: setNodeProviderAccount
504
504
 
@@ -509,7 +509,7 @@ Where the reward is paid to.
509
509
  | ------------------------ | ---------------------------------------------- |
510
510
  | `setNodeProviderAccount` | `(accountIdentifier: string) => Promise<void>` |
511
511
 
512
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L447)
512
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L448)
513
513
 
514
514
  ##### :gear: mergeNeurons
515
515
 
@@ -519,7 +519,7 @@ Merge two neurons
519
519
  | -------------- | --------------------------------------------------------------------------------- |
520
520
  | `mergeNeurons` | `(request: { sourceNeuronId: bigint; targetNeuronId: bigint; }) => Promise<void>` |
521
521
 
522
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L467)
522
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L468)
523
523
 
524
524
  ##### :gear: simulateMergeNeurons
525
525
 
@@ -529,7 +529,7 @@ Simulate merging two neurons
529
529
  | ---------------------- | --------------------------------------------------------------------------------------- |
530
530
  | `simulateMergeNeurons` | `(request: { sourceNeuronId: bigint; targetNeuronId: bigint; }) => Promise<NeuronInfo>` |
531
531
 
532
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L484)
532
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L485)
533
533
 
534
534
  ##### :gear: splitNeuron
535
535
 
@@ -539,7 +539,7 @@ Splits a neuron creating a new one
539
539
  | ------------- | ----------------------------------------------------------------------------------- |
540
540
  | `splitNeuron` | `({ neuronId, amount, }: { neuronId: bigint; amount: bigint; }) => Promise<bigint>` |
541
541
 
542
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L529)
542
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L530)
543
543
 
544
544
  ##### :gear: getProposal
545
545
 
@@ -552,7 +552,7 @@ it is fetched using a query call.
552
552
  | ------------- | ----------------------------------------------------------------------------------------------------- |
553
553
  | `getProposal` | `({ proposalId, certified, }: { proposalId: bigint; certified?: boolean; }) => Promise<ProposalInfo>` |
554
554
 
555
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L569)
555
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L570)
556
556
 
557
557
  ##### :gear: makeProposal
558
558
 
@@ -562,7 +562,7 @@ Create new proposal
562
562
  | -------------- | ------------------------------------------------- |
563
563
  | `makeProposal` | `(request: MakeProposalRequest) => Promise<void>` |
564
564
 
565
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L586)
565
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L587)
566
566
 
567
567
  ##### :gear: registerVote
568
568
 
@@ -572,7 +572,7 @@ Registers vote for a proposal from the neuron passed.
572
572
  | -------------- | ----------------------------------------------------------------------------------------------------------- |
573
573
  | `registerVote` | `({ neuronId, vote, proposalId, }: { neuronId: bigint; vote: Vote; proposalId: bigint; }) => Promise<void>` |
574
574
 
575
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L601)
575
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L602)
576
576
 
577
577
  ##### :gear: setFollowees
578
578
 
@@ -582,7 +582,7 @@ Edit neuron followees per topic
582
582
  | -------------- | ------------------------------------------------- |
583
583
  | `setFollowees` | `(followRequest: FollowRequest) => Promise<void>` |
584
584
 
585
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L623)
585
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L624)
586
586
 
587
587
  ##### :gear: disburse
588
588
 
@@ -592,7 +592,7 @@ Disburse neuron on Account
592
592
  | ---------- | --------------------------------------------------------------------------------------------------------------------- |
593
593
  | `disburse` | `({ neuronId, toAccountId, amount, }: { neuronId: bigint; toAccountId?: string; amount?: bigint; }) => Promise<void>` |
594
594
 
595
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L638)
595
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L639)
596
596
 
597
597
  ##### :gear: mergeMaturity
598
598
 
@@ -602,7 +602,7 @@ Merge Maturity of a neuron
602
602
  | --------------- | ------------------------------------------------------------------------------------------------------- |
603
603
  | `mergeMaturity` | `({ neuronId, percentageToMerge, }: { neuronId: bigint; percentageToMerge: number; }) => Promise<void>` |
604
604
 
605
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L677)
605
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L678)
606
606
 
607
607
  ##### :gear: stakeMaturity
608
608
 
@@ -617,7 +617,7 @@ Parameters:
617
617
  - `neuronId`: The id of the neuron for which to stake the maturity
618
618
  - `percentageToStake`: Optional. Percentage of the current maturity to stake. If not provided, all of the neuron's current maturity will be staked.
619
619
 
620
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L710)
620
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L711)
621
621
 
622
622
  ##### :gear: spawnNeuron
623
623
 
@@ -627,7 +627,7 @@ Merge Maturity of a neuron
627
627
  | ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
628
628
  | `spawnNeuron` | `({ neuronId, percentageToSpawn, newController, nonce, }: { neuronId: bigint; percentageToSpawn?: number; newController?: Principal; nonce?: bigint; }) => Promise<bigint>` |
629
629
 
630
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L732)
630
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L733)
631
631
 
632
632
  ##### :gear: addHotkey
633
633
 
@@ -637,7 +637,7 @@ Add hotkey to neuron
637
637
  | ----------- | ------------------------------------------------------------------------------------------ |
638
638
  | `addHotkey` | `({ neuronId, principal, }: { neuronId: bigint; principal: Principal; }) => Promise<void>` |
639
639
 
640
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L786)
640
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L787)
641
641
 
642
642
  ##### :gear: removeHotkey
643
643
 
@@ -647,7 +647,7 @@ Remove hotkey to neuron
647
647
  | -------------- | ------------------------------------------------------------------------------------------ |
648
648
  | `removeHotkey` | `({ neuronId, principal, }: { neuronId: bigint; principal: Principal; }) => Promise<void>` |
649
649
 
650
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L810)
650
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L811)
651
651
 
652
652
  ##### :gear: claimOrRefreshNeuronFromAccount
653
653
 
@@ -657,7 +657,7 @@ Gets the NeuronID of a newly created neuron.
657
657
  | --------------------------------- | --------------------------------------------------------------------------------------- |
658
658
  | `claimOrRefreshNeuronFromAccount` | `({ memo, controller, }: { memo: bigint; controller?: Principal; }) => Promise<bigint>` |
659
659
 
660
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L831)
660
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L832)
661
661
 
662
662
  ##### :gear: claimOrRefreshNeuron
663
663
 
@@ -668,7 +668,7 @@ Uses query call only.
668
668
  | ---------------------- | ----------------------------------------------------------- |
669
669
  | `claimOrRefreshNeuron` | `(request: ClaimOrRefreshNeuronRequest) => Promise<bigint>` |
670
670
 
671
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L862)
671
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L863)
672
672
 
673
673
  ##### :gear: getNeuron
674
674
 
@@ -678,7 +678,7 @@ Return the data of the neuron provided as id.
678
678
  | ----------- | ---------------------------------------------------------------------------------------------- |
679
679
  | `getNeuron` | `({ certified, neuronId, }: { certified: boolean; neuronId: bigint; }) => Promise<NeuronInfo>` |
680
680
 
681
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L897)
681
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L905)
682
682
 
683
683
  ### :factory: ICP
684
684