bridge
Bridge tokens across chains using LI.FI. Sign the route transaction with your private key for non-custodial transfers.
Instructions
Move value across chains via LI.FI; signs the route tx with the owner's key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gas | No | Gas limit. | |
| nonce | Yes | Account nonce for this transaction. | |
| amount | Yes | Amount to bridge (base units). | |
| chain_id | No | EVM chain id (137 = Polygon). | |
| to_chain | Yes | Destination chain. | |
| to_token | Yes | Token address on the destination chain. | |
| from_chain | Yes | Source chain. | |
| from_token | Yes | Token address on the source chain. | |
| integrator | No | chain-signer | |
| private_key | Yes | The caller's own private key. Used transiently to sign; never stored (non-custodial). | |
| max_fee_per_gas | Yes | EIP-1559 max fee per gas (wei). | |
| max_priority_fee_per_gas | Yes | EIP-1559 priority fee per gas (wei). |