import { Core } from "https://deno.land/x/lucid@0.5.2/src/mod.ts";
const { TransactionBody } = Core;
Methods
auxiliary_data_hash(): AuxiliaryDataHash | undefined
certs(): Certificates | undefined
collateral(): TransactionInputs | undefined
collateral_return(): TransactionOutput | undefined
free(): void
multiassets(): Mint | undefined
This function returns the mint value of the transaction
Use .mint()
instead.
network_id(): NetworkId | undefined
reference_inputs(): TransactionInputs | undefined
required_signers(): Ed25519KeyHashes | undefined
script_data_hash(): ScriptDataHash | undefined
set_auxiliary_data_hash(auxiliary_data_hash: AuxiliaryDataHash): void
set_certs(certs: Certificates): void
set_collateral(collateral: TransactionInputs): void
set_collateral_return(collateral_return: TransactionOutput): void
set_network_id(network_id: NetworkId): void
set_reference_inputs(reference_inputs: TransactionInputs): void
set_required_signers(required_signers: Ed25519KeyHashes): void
set_script_data_hash(script_data_hash: ScriptDataHash): void
set_total_collateral(total_collateral: BigNum): void
set_update(update: Update): void
set_validity_start_interval(validity_start_interval: BigNum): void
set_withdrawals(withdrawals: Withdrawals): void
to_bytes(): Uint8Array
to_json(): string
total_collateral(): BigNum | undefined
validity_start_interval(): BigNum | undefined
withdrawals(): Withdrawals | undefined
Static Methods
from_bytes(bytes: Uint8Array): TransactionBody
from_json(json: string): TransactionBody