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

x/lucid/src/mod.ts>Tx#delegateTo

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.delegateTo
Re-export
import { Tx } from "https://deno.land/x/lucid@0.7.8/src/mod.ts";

Delegate to a stake pool.

Parameters

rewardAddress: RewardAddress
poolId: PoolId
optional
redeemer: Redeemer