AppKit.Evm
(see Actions for more details). Internally, AppKit will use Wagmi on WebGL or Nethereum on other platforms.
Nethereum is already preconfigured with RPC URL and interceptor that will route the requests between the wallet provider and RPC node.
SendTransactionAsync
method of the Web3.Eth
class.
ReadContractAsync
and WriteContractAsync
methods of AppKit.Evm
to interact with smart contracts.
To read or write a smart contract function, you need to provide the contract address, ABI, method name, and arguments.
Web3
instance from AppKit:
Web3
instance is preconfigured with Reown’s Blockchain API for the active chain and includes a request interceptor that routes requests between RPC node and the connected wallet (if needs signing).
Avoid caching this Web3
instance, as it may be updated when the active chain is switched.