flutter_web3 library Null safety

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
An object consist of basic information about block. [...]
BlockTag
A BlockTag specifies a specific block location in the Blockchain.
BlockWithTransaction
An object consist of basic information about block. [...]
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
Parameter for specifying currency, used in Ethereum.walletAddChain.
EthConstant
The class that contains commonly used values.
Ethereum
A Dart Ethereum Provider API for consistency across clients and applications.
EthersException
EthUtils
These utilities are used extensively within the library, but are also quite useful for application developers.
Event
EventFilter<T extends _EventFilterImpl>
An event filter is made up of topics, which are values logged in a Bloom Filter, allowing efficient searching for entries which match a filter.
FeeData
A FeeData object encapsulates the necessary fee data required to send a transaction, based on the best available recommendations.
Filter
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<T extends _LogImpl>
Information log of specific transaction.
Network
A Network represents an Ethereum network.
Provider<T extends _ProviderImpl>
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.
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<T extends _TransactionImpl>
A generic object to represent a transaction.
TransactionOverride
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.
WalletConnectProvider
Provider for Wallet Connect connection, typically used in mobile phone connection.
WalletMeta
Metadata information of specific wallet provider.
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. [...]

Extensions

BigIntExtension
BigInt extension for converting between Dart and JS class.
BigNumberExtension
BigNumber extension for converting between Dart and JS class.

Properties

abiCoder AbiCoder
Get default AbiCoder.
read-only
ethereum Ethereum?
Getter for default Ethereum object, cycles through available injector in environment.
read-only
provider Web3Provider?
Getter for default Web3Provider object.
read-only

Functions

convertToDart(dynamic jsObject) → dynamic
Convert JS object to Dart object to avoid type error.
dartify(dynamic jsObject) → dynamic
Convert JS object to Dart object to avoid type error, same functionality as convertToDart;
stringify(dynamic obj) String
Convert JavaScript object or value to a JSON string, [...]
@JS("JSON.stringify")

Enums

FormatTypes
Format types of Interface

Exceptions / Errors

EthereumUnrecognizedChainException
EthereumUserRejected