PaymentOutput (Class)¶
A payment destination with address and amount.
Represents a single output in a transaction, specifying where funds should be sent and how much.
__eq__
¶
__eq__(other: PaymentOutput) -> bool
Equality comparison.
| PARAMETER | DESCRIPTION |
|---|---|
other
|
Another PaymentOutput to compare against.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if both outputs have identical address and amount.
TYPE:
|
__new__
¶
__new__(address: Address, amount: int) -> PaymentOutput
Create a new Payment Output.
| PARAMETER | DESCRIPTION |
|---|---|
address
|
The address to send this output to.
TYPE:
|
amount
|
The amount, in sompi, to send on this output.
TYPE:
|