Skip to main content

Method Signature

Parameters

string
required
Contract address
array
required
Contract ABI
string
required
Function name to call
array
Function arguments
Wallet
required
Wallet for signing
string
required
Target network

Returns

Returns an ethers.js TransactionResponse that can be awaited for confirmation.

Examples

ERC-20 Transfer

Write operations require native tokens for gas. Ensure the wallet has sufficient balance.

Read Contract

Call view functions

Get Events

Query contract events