> ## Documentation Index
> Fetch the complete documentation index at: https://docs.validationcloud.io/llms.txt
> Use this file to discover all available pages before exploring further.

# account_objects

Returns all ledger entries owned by an account, in their raw ledger format. Use it for entry types that don't have a specialized method (such as `account_lines` or `account_offers`), or when you want the raw form.

This method will use `40` [Compute Units](/nodeapi/about/billing).

***

## Reference: [Here](https://xrpl.org/docs/references/http-websocket-apis/public-api-methods/account-methods/account_objects)

## **Parameters**

* `account` (string, required) Get ledger entries associated with this account.
* `deletion_blockers_only` (boolean, optional) If `true`, only return ledger entries that would block this account from being deleted. The default is `false`.
* `ledger_hash` (string, optional) The unique hash of the ledger version to use.
* `ledger_index` (number or string, optional) The ledger index of the ledger to use, or a shortcut string such as `validated`, `closed` or `current`.
* `limit` (number, optional) The maximum number of ledger entries to include in the results. Must be within the inclusive range 10 to 400. The default is 200.
* `marker` (marker, optional) Value from a previous paginated response. Resume retrieving data where that response left off.
* `sponsored` (boolean, optional) If `true`, return only sponsored ledger entries; if `false`, only entries that are not sponsored. Requires the Sponsor amendment.
* `type` (string, optional) Filter results to a specific type of ledger entry, such as `check`, `escrow`, `nft_offer`, `offer`, `payment_channel`, `signer_list`, `state` (trust line) or `ticket`.

## Returns

* `account` (string) The account this request corresponds to.
* `account_objects` (array) Array of ledger entries in this account's owner directory, each in its raw ledger format.
* `ledger_hash` (string) The identifying hash of the ledger that was used to generate this response.
* `ledger_index` (number) The ledger index of the ledger that was used to generate this response.
* `ledger_current_index` (number) The ledger index of the open ledger, if used.
* `limit` (number) The limit that was used in this request, if any.
* `marker` (marker) Server-defined value indicating the response is paginated. Omitted when there are no additional pages.
* `validated` (boolean) If `true`, the information comes from a validated ledger version.

```json theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
// Result
{
  "result": {
    "ledger_hash": "DF018504A94B1DEC419322D390C2AAACD27621F3EBC47BB38DD844AAE5DD87A9",
    "ledger_index": 107292915,
    "validated": true,
    "limit": 10,
    "account": "rMxCKbEDwqr76QuheSUMdEGf4B9xJ8m5De",
    "account_objects": [
      {
        "Balance": {
          "currency": "524C555344000000000000000000000000000000",
          "issuer": "rrrrrrrrrrrrrrrrrrrrBZbvji",
          "value": "0.00204230364"
        },
        "Flags": 65536,
        "HighLimit": {
          "currency": "524C555344000000000000000000000000000000",
          "issuer": "rMxCKbEDwqr76QuheSUMdEGf4B9xJ8m5De",
          "value": "0"
        },
        "HighNode": "0",
        "LedgerEntryType": "RippleState",
        "LowLimit": {
          "currency": "524C555344000000000000000000000000000000",
          "issuer": "rMwNibdiFaEzsTaFCG1NnmAM3Rv3vHUy5L",
          "value": "1000000000"
        },
        "LowNode": "0",
        "PreviousTxnID": "C6478F458E66C9D5A54883CB7C1D45ECDB19907EF5D7EAACC7C738A7C70C93B6",
        "PreviousTxnLgrSeq": 99193744,
        "index": "10E2F33F909E976AE30747F0F0A6DE3EE762F868ECB0B77FA3D9857FE8BBF277"
      },
      // ...
    ],
    "marker": "0C9844B21E960CFBB1F4A96F2ECA185C57F4C53681ECCD56DCE9E4C45E065058,1",
    "status": "success"
  }
}
```

<CodeGroup>
  ```bash title="mainnet" theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
  curl https://mainnet.xrpl.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
      -X POST \
      -H "Content-Type: application/json" \
      -d '{"method":"account_objects","params":[{"account":"rMxCKbEDwqr76QuheSUMdEGf4B9xJ8m5De","ledger_index":"validated","limit":10}]}'
  ```
</CodeGroup>

Over WebSocket, send `{"id":1,"command":"account_objects","account":"rMxCKbEDwqr76QuheSUMdEGf4B9xJ8m5De","ledger_index":"validated","limit":10}` to `wss://mainnet.xrpl.validationcloud.io/v1/<YOUR_API_KEY_HERE>`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.