Indexer
This endpoint facilitates the recovery and proper storage in Firebase of escrow-related information submitted to the Stellar Blockchain via external applications, bypassing the standard application.
Key Components
External Transaction: This endpoint handles cases where the XDR generated by any endpoint of our REST API is signed and sent directly by external applications.
Internal Queue: Information initially generated by the application is stored in an internal queue, awaiting association with a specific transaction identified by its hash (
txHash
).Firebase Storage: Once retrieved from the internal queue, the information is permanently stored in Firebase.
Roles Involved
External Application: Signs and sends the XDR without using the standard endpoint (
helper/send-transaction
).Indexer: Responsible for retrieving information from the internal queue and storing it in Firebase upon receiving the transaction hash (
txHash
).
Endpoint Workflow
The XDR is obtained from any transaction (not signed) generated with any of the endpoints of our REST API.
The generated XDR is signed and sent externally (without using
helper/send-transaction
).The external application provides the corresponding
txHash
.The
txHash
is sent toindexer/update-from-txHash
.The endpoint retrieves information stored in the internal queue and saves it in Firebase.
Usage Example
Request:
{
"txHash": "your-txHash-value"
}
Response:
The information associated with the provided txHash
is successfully stored in Firebase, ensuring the integrity of the generated escrow.
Benefits of Usage
Enables external integrations while maintaining information consistency.
Prevents data loss when bypassing the standard workflow.
Ensures secure and accurate storage in Firebase using the transaction hash.
This endpoint enhances the system's flexibility and robustness, ensuring all transactions, regardless of the method used, are adequately recorded in Firebase.

Last updated
Was this helpful?