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

x/lucid/src/mod.ts>Core.PoolParams.new

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 Core.PoolParams.new
import { Core } from "https://deno.land/x/lucid@0.5.2/src/mod.ts";
const { PoolParams } = Core;

Parameters

operator: Ed25519KeyHash
vrf_keyhash: VRFKeyHash
pledge: BigNum
cost: BigNum
margin: UnitInterval
reward_account: RewardAddress
pool_owners: Ed25519KeyHashes
relays: Relays
optional
pool_metadata: PoolMetadata