Create a cross-chain transaction
In this example, we are going to deposit 1 ETH liquidity in Aave on Base using USDC on Arbitrum.Build your destination transaction.
We’ll use helper functions from Viem; however, you can use your preferred library.
Generate the transaction
Please visit the Get Action API reference for type definitions, including the
ActionRequest and ActionResponse. This API endpoint will return a transaction object we will use to actually execute this transaction.