sdk/builders/operations/Propose.ts
Propose overview
Propose operation - submit governance action proposals.
Added in v2.0.0
Table of contents
programs
createProposeProgram
Creates a ProgramStep for propose operation. Fetches govActionDeposit from protocol parameters and constructs ProposalProcedure.
Implementation:
- Fetches govActionDeposit from protocol parameters (like registerStake)
- Constructs ProposalProcedure with the fetched deposit
- Merges with existing proposal procedures if any
- No redeemers needed - proposing is not script-controlled
Note: The deposit is deducted from transaction inputs during balancing.
Signature
export declare const createProposeProgram: (
params: ProposeParams
) => Effect.Effect<void, TransactionBuilderError, TxContext | TxBuilderConfigTag>Added in v2.0.0