Skip to main content

Type Alias: Payment

type Payment = {
amount: PtbArgumentLike;
recipient: AddressLike;
};

A single payment: a recipient address paired with the amount to send.

Properties

amount

amount: PtbArgumentLike;

The amount to send, in the coin's smallest unit.


recipient

recipient: AddressLike;

The recipient address.