Skip to main content

TxOutput

Midnight.js API Reference v2.0.2


Midnight.js API Reference / @midnight-ntwrk/midnight-js-testing / TxOutput

Type Alias: TxOutput

TxOutput = object

Represents a transaction output with token type, amount and receiver details.

Properties

amount

amount: bigint

The amount of tokens to transfer


receiverAddress

receiverAddress: string

The address of the recipient who will receive the tokens


type

type: string

The type/identifier of the token being transferred