Bridge
SDK methodCALL
money.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" })