Deposit Preauths

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.

Read more about Deposit Pre-authorization on xrpl.org

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"
  }
]

Last updated