GetEdges returns edge rails and modes currently enabled on this deployment.
Intents
GetEdges
POST
GetEdges returns edge rails and modes currently enabled on this deployment.
Overview
TheGetEdges endpoint returns the edge rails and modes currently enabled on this Trails deployment. Use it to discover whether Solana or Tron edges are available — and whether they are configured for ORIGIN, DESTINATION, or both — before calling QuoteIntentEdge.
Request
GetEdges takes no parameters.
Response
- edges (array of
EdgeRailModes):- rail (
EdgeRail):SOLANAorTRON. - modes (array of
EdgeMode): One or both ofORIGIN,DESTINATION.
- rail (
Example
Next Steps
QuoteIntentEdge
Quote a cross-chain intent using an edge rail
GetEdgeStatus
Track an edge rail’s status
Body
application/json
The body is of type object.
Response
OK
[]EdgeRailModes