Skip to main content
Module

x/lucid/src/core/wasm_modules/cardano_multiplatform_lib_web/cardano_multiplatform_lib.d.ts>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.
Go to Latest
method TransactionBuilder.prototype.balance
import { TransactionBuilder } from "https://deno.land/x/lucid@0.7.9/src/core/wasm_modules/cardano_multiplatform_lib_web/cardano_multiplatform_lib.d.ts";

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

change_address: Address
optional
datum: Datum