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

x/lucid/src/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.
Go to Latest
method Tx.prototype.retirePool
Re-export
import { Tx } from "https://deno.land/x/lucid@0.7.7/src/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