Last updated
Edit

EscrowCancel

[Source]

Return escrowed XRP to the sender.

(Added by the Escrow amendment.)

Example EscrowCancel JSON

{
    "Account": "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn",
    "TransactionType": "EscrowCancel",
    "Owner": "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn",
    "OfferSequence": 7,
}
Query example transaction

EscrowCancel Fields

In addition to the common fields, EscrowCancel transactions use the following fields:

FieldJSON TypeInternal TypeDescription
OwnerString - AddressAccountIDThe account that funded the escrow payment.
OfferSequenceNumberUInt32Transaction sequence (or Ticket number) of EscrowCreate transaction that created the escrow to cancel.

Any account may submit an EscrowCancel transaction.

  • If the corresponding EscrowCreate transaction did not specify a CancelAfter time, the EscrowCancel transaction fails.
  • Otherwise the EscrowCancel transaction fails if the CancelAfter time is after the close time of the most recently-closed ledger.