Skip to main content
POST
/
quotes
/
preview
Preview a bridge quote before depositing
curl --request POST \
  --url https://v1.orchestrator.rhinestone.dev/deposit-processor/quotes/preview \
  --header 'Content-Type: application/json' \
  --data '
{
  "account": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
  "sourceChainId": "eip155:8453",
  "sourceToken": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
  "amount": "1000000000000000000"
}
'
{
  "settlementLayer": "<string>",
  "expiresAt": 123,
  "estimatedFillTimeSeconds": 1,
  "fees": {
    "totalUsd": 123,
    "breakdown": {
      "gasUsd": 123,
      "bridgeUsd": 123,
      "swapUsd": 123
    }
  },
  "output": {
    "token": "<string>",
    "amount": "<string>",
    "symbol": "<string>",
    "decimals": 123
  }
}

Headers

x-api-key
string

API key for authentication (omit when sending Authorization)

Example:

"your-api-key"

authorization
string

Bearer platform token (e.g. forwarded by user-service). Takes precedence over x-api-key when both are present.

Example:

"Bearer eyJhbGciOi..."

Body

application/json
account
string
required

Ethereum address (0x followed by 40 hex characters)

Pattern: ^0x[a-fA-F0-9]{40}$
Example:

"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91"

sourceChainId
string
required

CAIP-2 chain identifier (e.g. "eip155:8453")

Pattern: ^[a-z0-9]+:[a-zA-Z0-9]+$
Example:

"eip155:8453"

sourceToken
string
required

Ethereum address (0x followed by 40 hex characters)

Pattern: ^0x[a-fA-F0-9]{40}$
Example:

"0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91"

amount
string
required

Numeric string representing a bigint value

Pattern: ^\d+$
Example:

"1000000000000000000"

Response

Indicative quote for the requested route

settlementLayer
string
required
expiresAt
integer
required
estimatedFillTimeSeconds
integer
required
Required range: x >= 0
fees
object
required
output
object
required