sdk.txbuilder.addretirepool
Home > @blaze-cardano/sdk > TxBuilder > addRetirePool
TxBuilder.addRetirePool() method
Adds a Pool Retirement certificate.
Retires a stake pool at the provided epoch.
Signature:
addRetirePool(poolId: PoolId, epoch: EpochNo): TxBuilder;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
poolId |
The pool identifier. | |
|
epoch |
The epoch in which the pool retires. |
Returns:
{TxBuilder} The updated transaction builder.