import { Utils } from "https://deno.land/x/lucid@0.5.2/src/mod.ts";
Constructors
new
Utils(lucid: Lucid)Properties
private
lucid: LucidMethods
datumToHash(datum: Datum): DatumHash
getAddressDetails(address: string): AddressDetails
Address can be in bech32 or hex
keyHashToCredential(keyHash: KeyHash): Credential
mintingPolicyToId(mintingPolicy: MintingPolicy): PolicyId
scriptHashToCredential(scriptHash: ScriptHash): Credential
slotToUnixTime(slot: Slot): UnixTime
unixTimeToSlot(unixTime: UnixTime): Slot
validatorToAddress(validator: SpendingValidator, stakeCredential?: Credential): Address
validatorToScriptHash(validator: Validator): ScriptHash