Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/lucid/src/core/mod.ts>Core.TransactionBuilder#balance

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
Go to Latest
method Core.TransactionBuilder.prototype.balance
import { Core } from "https://deno.land/x/lucid@0.5.2/src/core/mod.ts";
const { TransactionBuilder } = Core;

Warning: this function will mutate the /fee/ field Make sure to call this function last after setting all other tx-body properties Editing inputs, outputs, mint, etc. after change been calculated might cause a mismatch in calculated fee versus the required fee

Parameters

address: Address
optional
datum: Datum