Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lucid/mod.ts>Tx#retirePool

Lucid is a library, which allows you to create Cardano transactions and off-chain code for your Plutus contracts in JavaScript, Deno and Node.js.
Very Popular
Latest
method Tx.prototype.retirePool
Re-export
import { Tx } from "https://deno.land/x/lucid@0.10.10/mod.ts";

Retire a stake pool. The epoch needs to be the greater than the current epoch + 1 and less than current epoch + eMax. The pool deposit will be sent to reward address as reward after full retirement of the pool.

Parameters

poolId: PoolId
epoch: number