Skip to main content


readonly payTo: (
address: Address | AddressStr,
amount: number | bigint | Value,
datum?: CanBeData,
refScript?: Script
) => TxBuilderRunner

adds a transaction output.

if amount is number or bigint it is intended to be lovelaces only.

if datum is present is always added as inline datum.

returns a reference to the same TxBuilderRunner.