Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/lucid/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.
Very Popular
Go to Latest
class Core.HeaderBody
import { Core } from "https://deno.land/x/lucid@0.5.2/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