Recovery Request Lookups by Account
These two endpoints of the Recovery UX API find a Safe account's recovery requests by account address instead of by request ID. Start with the UX API reference for the main flow, authentication, and how moduleAddress selects the Social Recovery Module. To fetch one request by its ID, use /v1/recoveries/fetchById.
Endpoints at a Glance
| Endpoint | Key params | Returns |
|---|---|---|
GET /v1/recoveries/fetchByAddress | account, chainId, moduleAddress?, nonce | Array of recovery requests |
GET /v1/recoveries/listByAddress | account, chainId, moduleAddress?; optional filters status, executed, finalized, nonce, createdAt, orderBy, order, limit, offset | Array of recovery requests |
Fetch recovery by address
Fetch all discoverable requests matching a Safe account, chain, module, and recovery nonce. The response is an array, which can be empty. Supply nonce as a hexadecimal string; it is the account's nonce on the module named by moduleAddress.
GET /v1/recoveries/fetchByAddress
- Example Request
- Example Response
- Query Parameters
- Response
curl -G "https://yourcompany.recovery.candide.dev/v1/recoveries/fetchByAddress" \
-H 'Authorization: Bearer YOUR_BEARER_TOKEN' \
--data-urlencode "account=0xD422B9d638a7BA4eBeF9e33Af9456007eAB4ccba" \
--data-urlencode "chainId=1" \
--data-urlencode "moduleAddress=0x00480F5ecC008995469fA7e12c70Ef3DC9FEe7fD" \
--data-urlencode "nonce=0x1"
[
{
"id": "123456789",
"emoji": "🤖😅🥵👻🖖",
"account": "0xd422b9d638a7ba4ebef9e33af9456007eab4ccba",
"chainId": 1,
"newOwners": [
"0x41153290c995c8c4410d50f95d87ee86a1b07eec",
"0xb97a1c3993a551f0febf030539630acb77e6832d"
],
"newThreshold": 2,
"nonce": "0x1",
"moduleAddress": "0x00480f5ecc008995469fa7e12c70ef3dc9fee7fd",
"recoveryHash": "0x6b1e4d9a2c7f8e0b3d5a9c1f4e7b2d8a0c3f6e9b1d4a7c0e3f5b8d2a6c9e1f4b",
"signatures": [
[
"0x795B9cD1E5419C54B07768d4AD09809407dfAF5b",
"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
]
],
"executeData": {
"sponsored": false,
"transactionHash": ""
},
"finalizeData": {
"sponsored": false,
"transactionHash": ""
},
"status": "PENDING",
"discoverable": true,
"createdAt": "2023-04-18T12:34:56.789Z",
"updatedAt": "2023-04-18T12:34:56.789Z"
},
{
"id": "72682373",
"emoji": "💳📿🪣📥📹",
"account": "0xd422b9d638a7ba4ebef9e33af9456007eab4ccba",
"chainId": 1,
"newOwners": [
"0x73f7b1184b5cd361cc0f7654998953e2a251dd58",
"0x7cb027917b27bcb5963c548657a008bf45b25bdc"
],
"newThreshold": 2,
"nonce": "0x1",
"moduleAddress": "0x00480f5ecc008995469fa7e12c70ef3dc9fee7fd",
"recoveryHash": "0x6b1e4d9a2c7f8e0b3d5a9c1f4e7b2d8a0c3f6e9b1d4a7c0e3f5b8d2a6c9e1f4b",
"signatures": [
[
"0x795B9cD1E5419C54B07768d4AD09809407dfAF5b",
"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
]
],
"executeData": {
"sponsored": false,
"transactionHash": ""
},
"finalizeData": {
"sponsored": false,
"transactionHash": ""
},
"status": "PENDING",
"discoverable": true,
"createdAt": "2023-04-18T12:34:56.789Z",
"updatedAt": "2023-04-18T12:34:56.789Z"
}
]
| key | type | description |
|---|---|---|
account | string | The Safe account address that the owner wants to recover. Must be a valid Ethereum address |
chainId | number | The chainId of the network where the Safe account resides |
moduleAddress | string | (Optional) Return the requests made on this Social Recovery Module only. When omitted, the network's default module is used (the moduleAddress returned by /v1/config/getNetworkConfig) |
nonce | string | The account's recovery nonce on that module as a hexadecimal string, such as 0x1 |
| key | type | description |
|---|---|---|
RecoveryRequest[] | object | A list of ongoing Recovery Requests for a Safe account address |
RecoveryRequest[].id | string | The ID associated with the Recovery Request |
RecoveryRequest[].emoji | string | The emojis associated with the recovery request |
RecoveryRequest[].account | string | The Safe account address that the owner wants to recover. Must be a valid Ethereum address |
RecoveryRequest[].chainId | number | The chainId of the network where the Safe account resides |
RecoveryRequest[].newOwners | string[] | The new owners for the Safe account |
RecoveryRequest[].newThreshold | number | The signing threshold for the new Safe owners after recovery; not the guardian approval threshold |
RecoveryRequest[].nonce | string | Recovery module nonce serialized as a hexadecimal string in JSON responses. Every module starts each account's nonce at 0 |
RecoveryRequest[].moduleAddress | string | The Social Recovery Module the request was made on. Guardian signatures, execution, and finalization all use this module |
RecoveryRequest[].recoveryHash | string | The recovery hash guardians sign, computed by the request's module at the request's nonce |
RecoveryRequest[].signatures | json | The collected guardian signatures as [signer, signature] pairs, sorted by signer address |
RecoveryRequest[].executeData | object | Execution transaction details |
RecoveryRequest[].executeData.sponsored | boolean | If the recovery execution tx is gas-sponsored or not |
RecoveryRequest[].executeData.transactionHash | string | The transaction hash of the recovery execution |
RecoveryRequest[].finalizeData | object | Finalization transaction details |
RecoveryRequest[].finalizeData.sponsored | boolean | If the recovery finalization tx after the grace period ends is gas-sponsored or not |
RecoveryRequest[].finalizeData.transactionHash | string | The transaction hash of the finalization execution |
RecoveryRequest[].status | string | The status of the recovery request: PENDING | EXECUTION-IN-PROGRESS | EXECUTED | FINALIZATION-IN-PROGRESS | FINALIZED |
RecoveryRequest[].discoverable | boolean | Whether the recovery request is discoverable |
RecoveryRequest[].createdAt | datetime | The date the recovery request was created |
RecoveryRequest[].updatedAt | datetime | The date and time the recovery request was last updated |
List all recoveries by address
Lists the recovery requests made for a Safe account on one module, with filtering, pagination, and ordering. The executed and finalized filters are cross-checked with the on-chain events indexed for that module.
GET /v1/recoveries/listByAddress
- Example Request
- Example Response
- Query Parameters
- Response
curl -G "https://yourcompany.recovery.candide.dev/v1/recoveries/listByAddress" \
-H 'Authorization: Bearer YOUR_BEARER_TOKEN' \
--data-urlencode "account=0xD422B9d638a7BA4eBeF9e33Af9456007eAB4ccba" \
--data-urlencode "chainId=1" \
--data-urlencode "moduleAddress=0x00480F5ecC008995469fA7e12c70Ef3DC9FEe7fD" \
--data-urlencode "limit=20" \
--data-urlencode "offset=0"
[
{
"id": "123456789",
"emoji": "🤖😅🥵👻🖖",
"account": "0xd422b9d638a7ba4ebef9e33af9456007eab4ccba",
"chainId": 1,
"newOwners": [
"0x41153290c995c8c4410d50f95d87ee86a1b07eec",
"0xb97a1c3993a551f0febf030539630acb77e6832d"
],
"newThreshold": 2,
"nonce": "0x1",
"moduleAddress": "0x00480f5ecc008995469fa7e12c70ef3dc9fee7fd",
"recoveryHash": "0x6b1e4d9a2c7f8e0b3d5a9c1f4e7b2d8a0c3f6e9b1d4a7c0e3f5b8d2a6c9e1f4b",
"signatures": [
[
"0x795B9cD1E5419C54B07768d4AD09809407dfAF5b",
"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
]
],
"executeData": {
"sponsored": false,
"transactionHash": ""
},
"finalizeData": {
"sponsored": false,
"transactionHash": ""
},
"status": "PENDING",
"discoverable": true,
"createdAt": "2023-04-18T12:34:56.789Z",
"updatedAt": "2023-04-18T12:34:56.789Z"
}
]
The response is a plain array with no total count. Request each next page by increasing offset by limit.
For queries without the executed and finalized filters, stop when fewer than limit items are returned. These two filters are applied after pagination, so queries using either filter can return a short or empty page even when later pages contain matching requests. For those queries, response length does not reliably indicate the end of the results.
| key | type | description |
|---|---|---|
account | string | The Safe account address. Must be a valid Ethereum address |
chainId | number | The chainId of the network where the Safe account resides |
moduleAddress | string | (Optional) Return the requests made on this Social Recovery Module only. When omitted, the network's default module is used (the moduleAddress returned by /v1/config/getNetworkConfig) |
status | string | (Optional) Filter by status: PENDING, EXECUTED, FINALIZED, EXECUTION-IN-PROGRESS, FINALIZATION-IN-PROGRESS |
executed | boolean | (Optional) Filter by executed status. Cross-checked with indexed data |
finalized | boolean | (Optional) Filter by finalized status. Cross-checked with indexed data |
nonce | string | (Optional) Filter by recovery nonce as a hex string. Use nonce__lt, nonce__gt, nonce__lte, or nonce__gte for range comparisons |
createdAt | string | (Optional) Filter by creation time as an ISO 8601 date. Use createdAt__lt, createdAt__gt, createdAt__lte, or createdAt__gte for range comparisons |
orderBy | string | (Optional) Field to order by: 'createdAt' or 'nonce' |
order | string | (Optional) Order direction: 'asc' or 'desc'. Defaults to 'desc' |
limit | number | (Optional) Maximum number of requests to return, between 1 and 50. Defaults to 20 |
offset | number | (Optional) Number of requests to skip for pagination. Defaults to 0 |
| key | type | description |
|---|---|---|
RecoveryRequest[] | object | A list of Recovery Requests matching the filters, as a plain array |
RecoveryRequest[].id | string | The ID associated with the Recovery Request |
RecoveryRequest[].emoji | string | The emojis associated with the recovery request |
RecoveryRequest[].account | string | The Safe account address that the owner wants to recover. Must be a valid Ethereum address |
RecoveryRequest[].chainId | number | The chainId of the network where the Safe account resides |
RecoveryRequest[].newOwners | string[] | The new owners for the Safe account |
RecoveryRequest[].newThreshold | number | The signing threshold for the new Safe owners after recovery; not the guardian approval threshold |
RecoveryRequest[].nonce | string | Recovery module nonce serialized as a hexadecimal string in JSON responses. Every module starts each account's nonce at 0 |
RecoveryRequest[].moduleAddress | string | The Social Recovery Module the request was made on. Guardian signatures, execution, and finalization all use this module |
RecoveryRequest[].recoveryHash | string | The recovery hash guardians sign, computed by the request's module at the request's nonce |
RecoveryRequest[].signatures | json | The collected guardian signatures as [signer, signature] pairs, sorted by signer address |
RecoveryRequest[].executeData | object | Execution transaction details |
RecoveryRequest[].executeData.sponsored | boolean | If the recovery execution tx is gas-sponsored or not |
RecoveryRequest[].executeData.transactionHash | string | The transaction hash of the recovery execution |
RecoveryRequest[].finalizeData | object | Finalization transaction details |
RecoveryRequest[].finalizeData.sponsored | boolean | If the recovery finalization tx after the grace period ends is gas-sponsored or not |
RecoveryRequest[].finalizeData.transactionHash | string | The transaction hash of the finalization execution |
RecoveryRequest[].status | string | The status of the recovery request: PENDING | EXECUTION-IN-PROGRESS | EXECUTED | FINALIZATION-IN-PROGRESS | FINALIZED |
RecoveryRequest[].discoverable | boolean | Whether the recovery request is discoverable |
RecoveryRequest[].createdAt | datetime | The date the recovery request was created |
RecoveryRequest[].updatedAt | datetime | The date and time the recovery request was last updated |
Choosing between the two endpoints:
/v1/recoveries/fetchByAddress: Use when you know the exact nonce. Ideal for checking a specific pending request or looking up the current recovery state./v1/recoveries/listByAddress: Use when you need to query multiple requests with filtering, pagination, or sorting. Better for dashboard UIs showing recovery history.