@eth-optimism/viem • Docs
@eth-optimism/viem / sendSupERC20
sendSupERC20<
chain
,account
,chainOverride
>(client
,parameters
):Promise
<SendSupERC20ReturnType
>
Sends tokens to a target address on another chain. Used in the interop flow.
• chain extends undefined
| Chain
• account extends undefined
| Account
• chainOverride extends undefined
| Chain
= undefined
• client: Client
<Transport
, chain
, account
>
L2 Wallet Client
• parameters: SendSupERC20Parameters
<chain
, account
, chainOverride
, DeriveChain
<chain
, chainOverride
>>
Promise
<SendSupERC20ReturnType
>
The sendSupERC20 transaction hash. SendSupERC20ReturnType