Skip to main content
POST
Get an indicative quote for bridging a given pay-in amount on a configured origin→destination route.

Authorizations

X-Client-Secret
string
header
required

Contact Mesh to get client Secret

X-Client-Id
string
header
required

Contact Mesh to get client Id

Body

application/json

Request body for POST /api/v1/bridging/quote.

Prices a bridge for a caller-supplied pay-in amount without minting a deposit address or creating a transfer. Call it while the end user is still choosing an amount; call POST /api/v1/bridging/address only once they confirm.

The result is indicative. The deposit address returned by /address accepts any amount and the bridge provider prices what actually arrives at fill time.

origin
object
required

The pay-in leg: network and asset that will be sent to the bridging address. Must match a configured route from deposit or withdrawal route discovery.

destination
object
required

The payout leg: network, asset, and the address that will receive the bridged funds. Must match a route from deposit or withdrawal route discovery together with Org.Front.Core.Contracts.Models.Bridging.Headless.GetBridgingQuoteRequest.Origin.

amount
number<double>
required

Amount to be sent, denominated in the Org.Front.Core.Contracts.Models.Bridging.Headless.GetBridgingQuoteRequest.Origin asset (e.g. 100 for 100 USDC). Must be greater than zero and at most 1,000,000,000.

Required range: 1e-18 <= x <= 1000000000

Response

Quote produced.

status
enum<string>
Available options:
ok,
serverFailure,
permissionDenied,
badRequest,
notFound,
conflict,
tooManyRequest,
locked,
unavailableForLegalReasons
message
string | null

A message generated by the API

displayMessage
string | null

User-friendly display message that can be presented to the end user

errorHash
string | null
read-only

An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping

teamCode
string | null
read-only

Opaque team code for error routing. Resolved from exception origin or caller file path via CODEOWNERS. Format: 2-character code (e.g., "7K", "M2"). Use for alerting/routing, not display.

errorType
string | null

Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation. All possible error types are available in the documentation.

errorData
unknown
content
object | null

Response body for POST /api/v1/bridging/quote.

An indicative price for bridging Org.Front.Core.Contracts.Models.Bridging.Headless.GetBridgingQuoteResponse.Origin into Org.Front.Core.Contracts.Models.Bridging.Headless.GetBridgingQuoteResponse.Destination. Nothing is persisted and no deposit address is created. Amounts are in the respective leg's asset.