Skip to main content

Payment

Payment

struct Payment

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

init(recipient:amount:)

init(recipient: Address, amount: PtbArgument)

amount

var amount: PtbArgument

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

recipient

var recipient: Address

The recipient address.