Create a cross-chain payment router
Wallet signer for bridge operations
Chain where user's funds are located
StaticgetGet all bridgeable chains
Array of all chain names that support USDT0 bridging
Route payment across chains
This method:
After delivery, the payer can use the bridged funds to pay on the destination chain.
Payment routing parameters
Result with transaction hash and tracking info
Get estimated fees for routing a payment
Payment parameters
Quote with native fee and estimated receive amount
Track message delivery status
LayerZero message GUID from routePayment result
Current message status
Wait for payment to be delivered on destination chain
LayerZero message GUID from routePayment result
Optionaloptions: WaitForDeliveryOptionsWait options (timeout, poll interval, callbacks)
Final message state when delivered
Check if routing between two chains is supported
Source chain name
Destination chain name
True if routing is supported
Get all supported destination chains from source chain
Array of chain names that can receive bridged funds
Cross-Chain Payment Router
Routes payments across chains using USDT0 bridge. Handles fee estimation, bridge execution, and delivery tracking.