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

x/lucid/src/mod.ts>Core.HeaderBody

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

Static Methods

from_bytes(bytes: Uint8Array): HeaderBody
from_json(json: string): HeaderBody
new(
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,
): HeaderBody