flutter_web3 library

Classes

AbiCoder
The AbiCoder is a collection of Coders which can be used to encode and decode the binary data formats used to interoperate between the EVM and higher level libraries.
AccessList
An EIP-2930 transaction allows an optional AccessList which causes a transaction to warm (i.e. pre-cache) another addresses state and the specified storage keys.
BigNumber
Many operations in Ethereum operate on numbers which are outside the range of safe values to use in JavaScript.
Block
Often only the hashes of the transactions included in a block are needed, so by default a block only contains this information, as it is substantially less data.
BlockWithTransaction
If all transactions for a block are needed, this object instead includes the full details on each transaction.
ChainParams
ConnectInfo
Interface for connection info used by Ethereum method.
Contract
A Contract is an abstraction of code that has been deployed to the blockchain.
ContractERC20
Dart Class for ERC20 Contract, A standard API for tokens within smart contracts.
CurrencyParams
EthConstant
The class that contains commonly used values.
Ethereum
EthereumBase
EthUtils
These utilities are used extensively within the library, but are also quite useful for application developers.
EventFilter
Filter
FormatTypes
Format types of Interface
Interface
The Interface Class abstracts the encoding and decoding required to interact with contracts on the Ethereum network.
JsonRpcProvider
The JSON-RPC API is a popular method for interacting with Ethereum and is available in all major Ethereum node implementations (e.g. Geth and Parity) as well as many third-party web services (e.g. INFURA)
Log
Network
A Network represents an Ethereum network.
Provider
A Provider is an abstraction of a connection to the Ethereum network, providing a concise, consistent interface to standard Ethereum node functionality.
ProviderMessage
Interface for provier message used by Ethereum method.
ProviderRpcError
Interface for provier error used by Ethereum method.
QrcodeModalOptions
RawBlock
An object consist of basic information about block.
RawTxParams
RequestArguments
Signer
A Signer in ethers is an abstraction of an Ethereum Account, which can be used to sign messages and transactions and send signed transactions to the Ethereum Network to execute state changing operations.
Transaction
A generic object to represent a transaction.
TransactionReceipt
TransactionRequest
A transaction request describes a transaction that is to be sent to the network or otherwise processed.
TransactionResponse
A TransactionResponse includes all properties of a Transaction as well as several properties that are useful once it has been mined.
TxOverride
WalletConnectProvider
WalletConnectProviderOptions
Option for creating WalletConnectProvider.
WalletMeta
WatchAssetOptions
The specific information of the asset to watch.
WatchAssetParams
The metadata of the asset to watch.
Web3Provider
The Web3Provider is meant to ease moving from a web3.js based application to ethers by wrapping an existing Web3-compatible (such as a Web3HttpProvider, Web3IpcProvider or Web3WsProvider) and exposing it as an ethers.js Provider which can then be used with the rest of the library.

Properties

abiCoder AbiCoder
Get default AbiCoder.
no setter
ethereum Ethereum?
Getter for default Ethereum object, cycles through available injector in environment.
no setter
isEthereumSupported bool
Getter for boolean to detect Ethereum object support. without calling itself to prevent js undefined error.
no setter
provider Web3Provider?
Getter for default Web3Provider object.
no setter
web3 Ethereum?
no setter

Functions

bigNumberToBigInt(BigNumber bigNumber) BigInt
Convert JS BigNumber to Dart BigInt.
convertRpc(Map<int, String> rpcMap) → dynamic
Function to convert Dart rpc map into JS rpc map.
convertToDart(dynamic jsObject) → dynamic
Convert JS object to Dart object to avoid type error.
defaultContractWithSigner(String address, List<String> abi) Contract
Construct Contract with Signer from default Provider.
stringify(dynamic obj) String
Convert JavaScript object or value to a JSON string,