CRYPTO

Bridge Tokens

Transfer tokens across mutliple chains

Human Flow

Source/destination setup, compatibility checks, and bridge submission.

state: idle

Bridge Inputs

Provider Compatibility

Run validation to resolve provider/network compatibility and receiver mode behavior.

Result + Timeline

Execute bridge after validation to show tx hash, explorer URL, and history echo.

Agent Flow

Bridge SDK call with provider/network compatibility notes and failure guidance.

Bridge

SDK method
CALLmoney.bridge
- If receiver is omitted, SDK infers destination wallet when destination chain is configured.
- Provider is auto-selected unless `provider` is explicitly set.
# SDK method (no HTTP endpoint)
# Use JavaScript snippet instead.
Example success response
{
  "txHash": "0x...",
  "explorerUrl": "https://...",
  "fromChain": "fast",
  "toChain": "arbitrum",
  "fromAmount": "10",
  "toAmount": "10",
  "orderId": "order_...",
  "estimatedTime": "2-5 min"
}
Example failure responses
Failure
{
  "code": "UNSUPPORTED_OPERATION",
  "message": "Bridge provider \"...\" does not support network \"testnet\"."
}
Recovery: Switch to a supported network/provider combination.
Failure
{
  "code": "CHAIN_NOT_CONFIGURED",
  "message": "Source chain \"fast\" is not configured for testnet."
}
Recovery: Run setup first: await money.setup({ chain: "fast", network: "testnet" })