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
  • Response format
  1. API Documentation
  2. Account

DEX Orders

This endpoint retrieves a list of DEX orders (or, offers) made by a given account that are outstanding as of the last validated ledger.

Request

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

Example

curl https://api.xrpscan.com/api/v1/account/rBTwLga3i2gz3doX6Gva3MgEV8ZCD8jjah/orders

Response

[
  {
    "specification": {
      "direction": "buy",
      "quantity": {
        "currency": "USD",
        "value": "53934.3279",
        "counterparty": "rhub8VRN55s94qWKDv6jmDy1pUykJzF3wq"
      },
      "totalPrice": {
        "currency": "XRP",
        "value": "72045"
      }
    },
    "properties": {
      "maker": "rBTwLga3i2gz3doX6Gva3MgEV8ZCD8jjah",
      "sequence": 102024952,
      "makerExchangeRate": "0.74862"
    }
  },
  {
    "specification": {
      "direction": "buy",
      "quantity": {
        "currency": "EUR",
        "value": "49134.41118585",
        "counterparty": "rhub8VRN55s94qWKDv6jmDy1pUykJzF3wq"
      },
      "totalPrice": {
        "currency": "XRP",
        "value": "72045"
      }
    },
    "properties": {
      "maker": "rBTwLga3i2gz3doX6Gva3MgEV8ZCD8jjah",
      "sequence": 102024953,
      "makerExchangeRate": "0.68199613"
    }
  },
  ...
]

Response format

Additional properties may be available in the response based on rippled account_offers command.

PreviousDeposit PreauthsNextEscrows

Last updated 1 year ago

📘
Logoaccount_offers | XRPL.org