Define action parameter of MakeProposalRequest object

When using the makeProposal function @dfinity/nns library, you pass a MakeProposalRequest object. I’m just wondering how to define the action parameter within the request?

Thanks,
James

The Action type is defined here: ic-js/packages/nns/src/types/governance_converters.ts at 5b3ee2b6299644abd72407e06cb0c5e850061529 · dfinity/ic-js · GitHub

What it should be depends on the kind of proposal you want to make.
But valuing players is not something the NNS does.
Maybe you want to use the @dfinitity/sns package instead?

1 Like