Interface UnsignedClaim
- All Known Implementing Classes:
ImmutableUnsignedClaim
@Immutable
public interface UnsignedClaim
A payment channel claim that can be signed by the source account of a payment channel and presented to the
destination account. Once the destination account has this information, as well as the signature, it can submit a
PaymentChannelClaim to claim their XRP.-
Method Details
-
builder
Construct a builder for this class.- Returns:
- An
ImmutableUnsignedClaim.Builder.
-
channel
Hash256 channel()The Channel ID of the channel that provides the XRP.- Returns:
- A
Hash256containing the Channel ID.
-
amount
XrpCurrencyAmount amount()The amount of XRP, in drops, that the signature of this claim authorizes.- Returns:
- An
XrpCurrencyAmountrepresenting the amount of the claim.
-