import { Tx } from "https://deno.land/x/lucid@0.5.2/src/mod.ts";
Constructors
Properties
Methods
Needs to be a public key address
The PaymentKeyHash is taken when providing a Base, Enterprise or Pointer address
The StakeKeyHash is taken when providing a Reward address
Add a payment or stake key hash as a required signer of the transaction.
Conditionally add to the transaction
Converts strings to bytes if prefixed with '0x'
Converts strings to bytes if prefixed with '0x'
Uses version 2 of CIP-0025
You don't need to add policy id and asset name to the metadata, only add the details
A public key or native script input
With redeemer a plutus script input
Delegate to a stake pool
All assets should be of the same Policy Id.
You can chain mintAssets events together if you need to mint assets with different Policy Ids.
If the plutus script doesn't need a redeemer, you still neeed to specifiy the empty redeemer.
Pay to a public key or native script address
Pay to a public key or native script address with datum or scriptRef
Pay to a plutus script address with datum or scriptRef