cURL
Intents
GetEdgeStatus
POST
cURL
Overview
TheGetEdgeStatus endpoint returns the current status of an edge rail leg created by QuoteIntentEdge. Use it to track the external (Solana / Tron) bridge hop’s progress alongside the inner intent’s WaitIntentReceipt/GetIntentReceipt stream.
Request Parameters
Required Fields
- edgeId (string): The Trails edge quote ID returned by
QuoteIntentEdge. The server resolves the underlyingrelayRequestIdand origin chain from this ID, then queries the external provider.
Response
- status (string): The edge rail status. Maps to the
EdgeStatusenum values:PENDING,DEPOSITED,FILLED,REFUNDED,FAILED. - initTransactionHash (string, optional): The transaction hash that initiated the edge leg (deposit on the non-EVM origin chain, or handoff transfer for destination mode).
- fillTransactionHash (string, optional): The transaction hash that filled the edge leg.
- refundTransactionHash (string, optional): The transaction hash that refunded the edge leg when it could not be filled.
- transactionStates (array, optional): Detailed per-transaction state info.
- failReason (string, optional): Populated when the edge rail failed.
Example
Next Steps
QuoteIntentEdge
Create the edge quote
WaitIntentReceipt
Stream the inner intent’s receipt updates