XRPSCAN
HomeMetricsValidatorsAmendments
  • 📖Build with XRPSCAN
  • 📘API Documentation
    • Introduction
    • Pricing
      • Pay as you Go (PAYG)
    • API Concepts
      • Pagination
    • Account
      • Account info
      • Activations
      • Ancestry
      • Assets
      • Deposit Preauths
      • DEX Orders
      • Escrows
      • Issued tokens
      • Issued token balance
      • NFTs
      • Settings
      • Trustlines
      • Transactions
      • Xumm KYC status
    • Transaction
      • Transaction info
    • Ledger
      • Ledgers
      • Ledger info
      • Transactions
    • NFT
      • NFT info
    • AMM
      • AMM info
      • Pools
    • Object
      • Object info
    • Amendment
      • Amendments
      • Amendment info
    • Validator
      • Registry
      • Validator info
      • Report
    • Node
      • Nodes
      • Node info
    • Network
      • Fee
      • Server info
      • Server versions
    • Account Name
      • Well known accounts
    • Balance
      • Balances
    • Fact
      • Facts in namespace
      • Fact
    • Metrics
      • Metrics
    • Health
      • Ping
  • 📗Help
    • Integration guide
    • Validator
    • Contribute
    • Privacy policy
    • Contact us
  • 📙FAQs
    • How to report scams
Powered by GitBook
On this page
  • Request
  • Example
  • Response
  1. API Documentation
  2. Account

Escrows

PreviousDEX OrdersNextIssued tokens

Last updated 1 year ago

This endpoint retrieves XRP locked in on-ledger time based escrows for a given account.

Escrow is a feature of the XRP Ledger that allows you to send conditional XRP payments. These conditional payments, called escrows, set aside XRP and deliver it later when certain conditions are met.

Request

GET /api/v1/account/{ACCOUNT}/escrows

Example

curl https://api.xrpscan.com/api/v1/account/rPEPPER7kfTD9w2To4CQk6UCfuHM9c6GDY/escrows

Response

[
  {
    "Account": "rPEPPER7kfTD9w2To4CQk6UCfuHM9c6GDY",
    "Amount": "250000000",
    "Destination": "rHhuUU6kb2DVaHYVkNjeH5NLuFPiVz98Pa",
    "DestinationNode": "0",
    "DestinationTag": 0,
    "FinishAfter": 734639400,
    "Flags": 0,
    "LedgerEntryType": "Escrow",
    "OwnerNode": "1",
    "PreviousTxnID": "A6AEA6C63575A09157A2DA74C6D50DA6C2A88E8172823578E6B79DEFB780B7EE",
    "PreviousTxnLgrSeq": 43448639,
    "SourceTag": 20145,
    "index": "CD87787EC9BF895988871B56855F446BB85652A9E7FF6B4CABD4A9104324CCF0",
    "AccountName": {
      "name": "XRP Tip Bot",
      "account": "rPEPPER7kfTD9w2To4CQk6UCfuHM9c6GDY",
      "domain": "xrptipbot.com",
      "twitter": "xrptipbot",
      "verified": true
    }
  },
  {
    "Account": "rPEPPER7kfTD9w2To4CQk6UCfuHM9c6GDY",
    "Amount": "10000000",
    "Destination": "rp31TCoguTHzVgS5sV6BVYo1L4r6GLPtUZ",
    "DestinationNode": "0",
    "DestinationTag": 0,
    "FinishAfter": 739737000,
    "Flags": 0,
    "LedgerEntryType": "Escrow",
    "OwnerNode": "2",
    "PreviousTxnID": "4C7EA45CCE5CA877182F0D40E53CA389B71C8421D854870FDB5E074C954EBE94",
    "PreviousTxnLgrSeq": 44260645,
    "SourceTag": 7316,
    "index": "D0EA95685C9C08DE1D4AB7ABF64D563C22DFB9B6B29F4189291C2993CECC3D45",
    "AccountName": {
      "name": "XRP Tip Bot",
      "account": "rPEPPER7kfTD9w2To4CQk6UCfuHM9c6GDY",
      "domain": "xrptipbot.com",
      "twitter": "xrptipbot",
      "verified": true
    }
  },
  ...
]
📘
Logoaccount_objects | XRPL.org
Read more about account_objects on xrpl.org