Skip to main content
POST
GetEdges returns edge rails and modes currently enabled on this deployment.

Overview

The GetEdges 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): SOLANA or TRON.
    • modes (array of EdgeMode): One or both of ORIGIN, DESTINATION.

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

edges
object[]

[]EdgeRailModes