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

Deposit Preauths

PreviousAssetsNextDEX Orders

Last updated 1 year ago

This endpoint retrieves pre-authorized accounts that can deposit funds to a given account.

Deposit Authorization is an optional account setting in the XRP Ledger. If enabled, Deposit Authorization blocks all transfers from strangers, including transfers of XRP and tokens. An account with Deposit Authorization can only receive value in two ways - from accounts it has pre-authorized or by sending a transaction to recive funds.

Request

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

Example

curl https://api.xrpscan.com/api/v1/account/rMND5vHirAL1AUCDfqvGtBkgnEgVeB4X7h/deposit_preauths

Response

[
  {
    "Account": "rMND5vHirAL1AUCDfqvGtBkgnEgVeB4X7h",
    "Authorize": "rNKpohy2aF3ZJg27QLAhQHT5muoXYNrzSu"
  },
  {
    "Account": "rMND5vHirAL1AUCDfqvGtBkgnEgVeB4X7h",
    "Authorize": "rLyUreVzNcAtAkBhwaiw9WyxmnoSdaAyTs"
  },
  {
    "Account": "rMND5vHirAL1AUCDfqvGtBkgnEgVeB4X7h",
    "Authorize": "rBg2FuZT91C52Nny68houguJ4vt5x1o91m"
  },
  {
    "Account": "rMND5vHirAL1AUCDfqvGtBkgnEgVeB4X7h",
    "Authorize": "rpQVujdWMw2odm8gQHiyGM7qrbkyQmf1sZ"
  }
]
📘
LogoDeposit Authorization | XRPL.org
Read more about Deposit Pre-authorization on xrpl.org