relayerFeeis only used if a 3rd party is relaying the transfer on the user's behalf (ie the relayer is paying for transaction fee). You can set the
relayerto the zero address and
0if you are not using a relayer (majority of integrations do not use a relayer).
valueto match the
swapAndSend(on L2 AMM Wrapper) on the source chain swaps your canonical token (eg USDC) to hTokens (eg hUSDC) and burns the hTokens and then you receive the canonical tokens (eg USDC) on the destination chain.
sendon (on L2 Bridge) is for only dealing with hTokens. The
sendmethod on the source chain takes your hTokens (ie hUSDC), burns the hTokens and then you receive hTokens (eg hUSDC) on the destination chain.