sdk/builders/operations/Pool.ts
Pool overview
Pool operations - stake pool registration and retirement.
Added in v2.0.0
Table of contents
programs
createRegisterPoolProgram
Creates a ProgramStep for registerPool operation. Adds a PoolRegistration certificate to the transaction. Used for both new pool registration and updating existing pool parameters.
Signature
export declare const createRegisterPoolProgram: (
params: RegisterPoolParams
) => Effect.Effect<void, TransactionBuilderError, TxContext | TxBuilderConfigTag>Added in v2.0.0
createRetirePoolProgram
Creates a ProgramStep for retirePool operation. Adds a PoolRetirement certificate to the transaction. Announces pool retirement effective at the specified epoch.
Signature
export declare const createRetirePoolProgram: (params: RetirePoolParams) => Effect.Effect<void, never, TxContext>Added in v2.0.0