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