ecosystem

@eth-optimism/viemDocs


@eth-optimism/viem / simulateSendSupERC20

simulateSendSupERC20()

simulateSendSupERC20<TChain, TAccount, TChainOverride>(client, parameters): Promise<SendSupERC20ContractReturnType>

Simulate contract call for sendSupERC20

Type Parameters

TChain extends undefined | Chain

TAccount extends undefined | Account

TChainOverride extends undefined | Chain = undefined

Parameters

client: Client<Transport, TChain, TAccount>

L2 Public Client

parameters: SendSupERC20Parameters<TChain, TAccount, TChainOverride, DeriveChain<TChain, TChainOverride>>

SendSupERC20Parameters

Returns

Promise<SendSupERC20ContractReturnType>

The contract functions return value. SendSupERC20ContractReturnType

Defined in

packages/viem/src/actions/sendSupERC20.ts:132