Skip to main content
POST
/
api
/
v1
/
transfers
/
estimate
curl -X POST /api/v1/transfers/estimate \
  -H "x-api-key: mh_live_abc123..." \
  -H "Content-Type: application/json" \
  -d '{
    "tokenMint": "So11111111111111111111111111111111111111112",
    "amountRaw": "1000000000",
    "tokenDecimals": 9,
    "hops": 7
  }'
{
  "tier": "standard",
  "percentFeeBps": 5,
  "percentFeeRaw": "500000",
  "flatFeeLamportsPerHop": 6000,
  "totalFlatFeeLamports": 42000,
  "integratorPercentShare": "250000",
  "integratorFlatShare": 21000,
  "usdEquivalent": 150.25,
  "isTestMode": false
}

Documentation Index

Fetch the complete documentation index at: https://dev-docs.multihopper.com/llms.txt

Use this file to discover all available pages before exploring further.

Use this endpoint to show users expected costs before they confirm a transfer.

Request body

tokenMint
string
required
The Solana mint address of the token to transfer.
amountRaw
string
required
Raw token amount as a string (e.g. "1000000000" for 1 SOL).
tokenDecimals
integer
default:"6"
Decimal precision of the token. Defaults to 6.
hops
integer
default:"7"
Number of intermediate abstraction hops. Range: 3–10. Defaults to 7.

Response

tier
string
Pricing tier determined by the USD equivalent of the transfer.
percentFeeBps
integer
Percentage fee in basis points.
percentFeeRaw
string
Percentage fee in raw token units.
flatFeeLamportsPerHop
integer
Flat fee in lamports charged per hop.
totalFlatFeeLamports
integer
Total flat fee in lamports across all hops.
integratorPercentShare
string
Integrator’s share of the percentage fee in raw token units.
integratorFlatShare
integer
Integrator’s share of the flat fee in lamports.
usdEquivalent
number
USD equivalent of the transfer amount at quote time (used for tier selection).
isTestMode
boolean
Whether this estimate was made with a test-mode API key.
curl -X POST /api/v1/transfers/estimate \
  -H "x-api-key: mh_live_abc123..." \
  -H "Content-Type: application/json" \
  -d '{
    "tokenMint": "So11111111111111111111111111111111111111112",
    "amountRaw": "1000000000",
    "tokenDecimals": 9,
    "hops": 7
  }'
{
  "tier": "standard",
  "percentFeeBps": 5,
  "percentFeeRaw": "500000",
  "flatFeeLamportsPerHop": 6000,
  "totalFlatFeeLamports": 42000,
  "integratorPercentShare": "250000",
  "integratorFlatShare": 21000,
  "usdEquivalent": 150.25,
  "isTestMode": false
}