Skip to main content
Module

x/lucid/src/lucid/mod.ts>Tx#payToAddressWithData

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
Latest
method Tx.prototype.payToAddressWithData
Re-export
import { Tx } from "https://deno.land/x/lucid@0.10.10/src/lucid/mod.ts";

Pay to a public key or native script address with datum or scriptRef.

Parameters

address: Address
outputData: Datum | OutputData
assets: Assets