requestId you can poll with /bridge/status/:requestId, or you can receive a webhook notification at the callbackUrl you provide.
Endpoints Overview
Bridge Quote
POST /bridge/quote
Returns the estimated output amount and fee for bridging cNGN from one network to another. The quote is valid for a limited time window.
The
amount field is denominated in human-readable token units. For example, 10000 means 10,000 cNGN.string
required
Token symbol to bridge. Currently
CNGN.string
required
Source network for the bridge. Supported values include
base, bsc, eth, pol, asc, arc, celo, sol, and xbn.string
required
Destination network for the bridge. Use
/bridge/networks to see all supported combinations.string
required
Human-readable amount to bridge (e.g.
10000 = 10,000 cNGN).Response
object
Initiate Bridge
POST /bridge/initiate
Starts a bridge transaction. The response includes a receivableAddress on the source network where the user must send the specified amount. Once the deposit is detected, the bridged tokens are released on the destination network to toAddress.
string
required
Token symbol to bridge. Currently
CNGN.string
required
Source network for the bridge.
string
required
Destination network for the bridge.
string
required
Human-readable amount to bridge (e.g.
250 = 250 cNGN).string
required
Wallet address sending the tokens on the source network.
string
required
Destination wallet address on the target network.
string
HTTPS URL where Strails will send webhook notifications for this bridge transaction.
Response
object
Bridge Status
GET /bridge/status/:requestId
Returns the current status of a bridge transaction, including on-chain transaction details and the destination explorer link once completed.
string
required
The
requestId returned by /bridge/initiate.Response
object
Bridge Networks
GET /bridge/networks
Returns the tokens that support bridging and the complete list of networks where bridging is enabled.
Response
object
Bridge History
GET /bridge/history
Returns a paginated list of historical bridge transactions. Filter by status, token, source network, destination network, date range, and page.
Available query parameters
string
Filter by bridge transaction status.
string
Token ticker, e.g.
CNGN.string
Source network.
string
Destination network.
string
ISO 8601 start of the date range.
string
ISO 8601 end of the date range.
number
Maximum number of results to return. Defaults to
20.number
Page number for pagination. Defaults to
1.Response
object