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

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

Parameters

optional
port: number
optional
ipv4: Ipv4
optional
ipv6: Ipv6