Skip to main content
Module

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

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

Pay to a plutus script address with datum or scriptRef.

Parameters

address: Address
outputData: Datum | OutputData
assets: Assets