EscrowCancel

[Source]

Added by the Escrow amendment.

Return escrowed XRP to the sender.

Example EscrowCancel JSON

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

EscrowCancel Fields

In addition to the common fields, a EscrowCancel transaction uses the following fields:

Field JSON Type Internal Type Description
Owner String AccountID Address of the source account that funded the escrow payment.
OfferSequence Number UInt32 Transaction 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.