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

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

Parameters

block_number: number
slot: BigNum
prev_hash: BlockHash | undefined
issuer_vkey: Vkey
vrf_vkey: VRFVKey
nonce_vrf: VRFCert
leader_vrf: VRFCert
block_body_size: number
block_body_hash: BlockHash
operational_cert: OperationalCert
protocol_version: ProtocolVersion