Prepare a bridge payment (x402)
bridge_prepare_paymentReturns the exact x402 payment request for a bridge (network, asset, payTo contract, amount, EIP-712 domain) and the URL to call. Pay it with your own x402 client: sign one EIP-3009 authorization and repeat the GET with the PAYMENT-SIGNATURE header. You receive exactly amount at your own address on the destination. This tool does not pay or sign anything.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"to": "<to>",
"amount": "<amount>"
},
"name": "bridge_prepare_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Chain you receive on: arc, arbitrum, optimism, polygon, avalanche, unichain, linea, world, sonic, monad, sei, ink, hyperevm, xdc, plume, codex (from Base) or base (from Arc). | |
| ref | No | Optional referrer address: earns 20% of Liquid's fee. Omit if you have none. | |
| from | No | Chain you pay on. Omit to pick the live route to `to` (Base to any listed chain; Arc to Base). | |
| amount | Yes | USDC to RECEIVE on the destination, e.g. "1" or "25.5". Minimum 1. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL to call with the PAYMENT-SIGNATURE header | |
| note | No | Notes | |
| x402 | No | The x402 payment request (accepts: scheme, network, asset, payTo, amount, EIP-712 domain) | |
| quote | No | The quote behind the price | |
| method | No | HTTP method | |
| howToPay | No | Step-by-step signing instructions |