CreateNeuronRequest
Defined in: packages/canisters/src/declarations/nns/governance_test.d.ts:181
Request to create a new neuron using ICRC-2 transfer_from. The caller must have previously approved the governance canister to spend the specified amount.
Properties
Section titled “Properties”amount_e8s
Section titled “amount_e8s”amount_e8s: [] | [
bigint]
Defined in: packages/canisters/src/declarations/nns/governance_test.d.ts:201
Required. The amount of ICP to stake in e8s.
auto_stake_maturity
Section titled “auto_stake_maturity”auto_stake_maturity: [] | [
boolean]
Defined in: packages/canisters/src/declarations/nns/governance_test.d.ts:197
Whether to automatically stake maturity. Defaults to false.
controller
Section titled “controller”controller: [] | [
Principal]
Defined in: packages/canisters/src/declarations/nns/governance_test.d.ts:185
The controller of the new neuron. Defaults to the caller.
dissolve_delay_seconds
Section titled “dissolve_delay_seconds”dissolve_delay_seconds: [] | [
bigint]
Defined in: packages/canisters/src/declarations/nns/governance_test.d.ts:193
The dissolve delay in seconds. Defaults to 7 days. Clamped to [0, 8 years].
dissolving
Section titled “dissolving”dissolving: [] | [
boolean]
Defined in: packages/canisters/src/declarations/nns/governance_test.d.ts:209
Whether the neuron should start dissolving immediately. Defaults to false.
followees
Section titled “followees”followees: [] | [
SetFollowing]
Defined in: packages/canisters/src/declarations/nns/governance_test.d.ts:205
The followees to set for the new neuron. Defaults to the network’s default followees.
source_subaccount
Section titled “source_subaccount”source_subaccount: [] | [
Uint8Array<ArrayBufferLike>]
Defined in: packages/canisters/src/declarations/nns/governance_test.d.ts:189
The subaccount of the caller to transfer ICP from. Defaults to the default subaccount.