Integration
Smart contract integration
L1->L2
sendToL2(
uint256 chainId,
address recipient,
uint256 amount,
uint256 amountOutMin,
uint256 deadline,
address relayer,
uint256 relayerFee
)L2->L1 and L2->L2
swapAndSend(
uint256 chainId,
address recipient,
uint256 amount,
uint256 bonderFee,
uint256 amountOutMin,
uint256 deadline,
uint256 destinationAmountOutMin,
uint256 destinationDeadline
)L2 hTokens->L2 or L2 hTokens -> L1
Sending ETH vs Token
swapAndSend vs send
Calling Hop from smart contract for transfers
AMM Deposit
AMM Withdraw
Contract addresses
Contract AddressesCalculating Bonder Fee
API EndpointsGetting transfer status
API EndpointsLast updated