> For the complete documentation index, see [llms.txt](https://docs.intents.aurora.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.intents.aurora.dev/intents-deposits/api-reference/persistent-deposit-status.md).

# Persistent deposit status

{% hint style="info" %}
This API is currently work in progress.
{% endhint %}

## GET /api/persistent-deposit-status/{apiKey}

> Returns deposits for a persistent deposit address in a unified shape. \`type\` selects the source and status filter: \`received\`, \`success\`, \`failed\`. \`address\` is a deposit address returned by this API; the chain is resolved from the stored record.

```json
{"openapi":"3.0.3","info":{"title":"@aurora-is-near/intents-fee-service","version":"0.0.1"},"servers":[{"url":"https://intents-api.aurora.dev"}],"security":[],"paths":{"/api/persistent-deposit-status/{apiKey}":{"get":{"tags":["deposit"],"description":"Returns deposits for a persistent deposit address in a unified shape. `type` selects the source and status filter: `received`, `success`, `failed`. `address` is a deposit address returned by this API; the chain is resolved from the stored record.","parameters":[{"schema":{"type":"string","enum":["received","success","failed"]},"in":"query","name":"type","required":true,"description":"Which deposits to return:\n- `received` — deposits that reached the Intents account.\n- `success` — completed outbound withdrawals to the recipient.\n- `failed` — failed outbound withdrawals to the recipient."},{"schema":{"type":"string","minLength":1},"in":"query","name":"address","required":true,"description":"A deposit address returned by this API. The chain is resolved internally from the stored record."},{"schema":{"type":"integer","exclusiveMinimum":true,"maximum":9007199254740991},"in":"query","name":"limit","required":false,"description":"Max deposits to return per page (POA pagination, `received`)."},{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"in":"query","name":"offset","required":false,"description":"Number of deposits to skip (POA pagination, `received`)."},{"schema":{"type":"string"},"in":"path","name":"apiKey","required":true,"description":"API key generated at [https://studio.aurora.dev](https://studio.aurora.dev)"}],"responses":{"200":{"description":"Deposits in a unified shape","content":{"application/json":{"schema":{"type":"object","properties":{"deposits":{"type":"array","items":{"type":"object","properties":{"tx_hash":{"type":"string"},"fromChain":{"description":"Origin chain alias (e.g. \"arb\"). Set for `process` deposits.","nullable":true,"type":"string"},"destinationChain":{"description":"Destination chain alias (e.g. \"base\"). Set for `success`/`failed` withdrawals.","nullable":true,"type":"string"},"asset_id":{"nullable":true,"type":"string"},"decimals":{"nullable":true,"description":"Token decimals. Null when it cannot be resolved.","type":"number"},"amount":{"type":"string"},"from":{"type":"string"},"created_at":{"type":"string"},"intents_account":{"type":"string"},"deposit_address":{"type":"string","description":"Deposit address (generated by POA) where the user sent funds."},"recipient":{"type":"string","description":"Target end account that receives the funds."}},"required":["tx_hash","asset_id","decimals","amount","created_at","intents_account","deposit_address","recipient"],"additionalProperties":false}}},"required":["deposits"],"additionalProperties":false,"description":"Deposits in a unified shape"}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"error":{"type":"string"},"data":{"type":"object","additionalProperties":{}},"statusCode":{"type":"number"}},"required":["message","statusCode"],"additionalProperties":false}}}},"404":{"description":"Application key is not assigned or no record exists for the given address","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"error":{"type":"string"},"data":{"type":"object","additionalProperties":{}},"statusCode":{"type":"number","enum":[404]}},"required":["message","statusCode"],"additionalProperties":false,"description":"Application key is not assigned or no record exists for the given address"}}}},"500":{"description":"Internal Server Error - Failed to reach an upstream service","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"error":{"type":"string"},"data":{"type":"object","additionalProperties":{}},"statusCode":{"type":"number","enum":[500]}},"required":["message","statusCode"],"additionalProperties":false,"description":"Internal Server Error - Failed to reach an upstream service"}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.intents.aurora.dev/intents-deposits/api-reference/persistent-deposit-status.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
