Issue Summary: XDC Safe Vault Creation Fails Due to API Error
Description of the Issue:
I attempted to create a new Safe Account on XDC Safe using the Apothem test
network. While the interface shows that the *Safe Account is successfully created, the process stalls at the *"Indexing" step and never proceeds to the final "Safe Account is ready" stage. This indicates a backend issue post-account creation.
Environment Details:
- Platform: XDC Safe (https://xdcsafe.xdcobserver.io)
- Network:Apothem (Testnet)
- Browser: Chrome (Latest version, confirmed with DevTools)
- Wallet Address:
txdcxdcdcac2B_44fE
(displayed) - Transaction Hash (initial indexing):**
0xed27d...3a0e
- Date/Time of Issue: Tue, 27 May 2025, 10:01 GMT
*Technical Details & Observations:
- API Endpoint Failing:
*Request URL:
https://cpw.xdcsafe.xdcobserver.io/v1/chains/51/safes/0xf327d29ae19125c4Deb2853dC5d1f7a4997fbc0b
* **Method:** GET
* **Status Code:** `404 Not Found`
* **Error Location:** Browser DevTools > Network tab > XHR request
* **Response:**
404 Not Found - No record found for Safe vault ID
2. *Backend API Failure:*
* The API is attempting to retrieve vault data for a newly created Safe, but the response returns a 404 error, indicating that the Safe vault is **not indexed or not available on backend services** yet.
* **This is not an RPC failure**: All connected RPC nodes are responsive and processing transactions properly (e.g., creation transaction is visible and confirmed).
3. Client Behavior:
* The UI hangs on the **"Indexing"** stage indefinitely.
* Despite successful transaction validation, the frontend cannot proceed due to the missing vault data from the API.
* Console and Network tabs show multiple failed requests to the same or related endpoints, indicating repeated polling attempts from the frontend.
**Impact:**
* Users are unable to proceed with using their Safe account on the Apothem test network.
* Testing workflows, contract deployments, and multisig management are blocked due to incomplete setup.
* The problem is reproducible consistently.
*Suggested Actions for XDC Tech Support:
1. **Verify indexing pipeline or database ingestion** for Safe vaults post-creation. Ensure vault data is correctly populated and retrievable via the API.
2. **Review endpoint:** `/v1/chains/51/safes/{vaultAddress}` on Apothem chain ID (`51`) to confirm it is accepting and serving data for new safes.
3. **Log & trace transaction hash:** `0xed27d...3a0e` to verify backend indexing and safe creation completion status.
*Attachments:
* Screenshot showing:
* XDC Safe creation flow hanging on "Indexing"
* Network error log in DevTools showing the 404 on the relevant API call.
Discussion (1)
I just created an XDC Safe wallet on the XDC Apothem network using the RPC endpoint: earpc.apothem.network.
You can find the working RPC details here: chainlist.org/chain/51. please check and try creating the Safe account using working RPC...
Here’s the transaction link for reference:
testnet.xdcscan.com/tx/0x365978efd...
If you're facing any issues, try refreshing the loading page once.