Web3 API¶
-
class
web3.Web3(provider)¶
Each web3 instance exposes the following APIs.
Providers¶
-
Web3.RPCProvider¶ Convenience API to access
web3.providers.rpc.RPCProvider
-
Web3.KeepAliveRPCProvider¶ Convenience API to access
web3.providers.rpc.KeepAliveRPCProvider
-
Web3.IPCProvider¶ Convenience API to access
web3.providers.rpc.IPCProvider
-
Web3.TestRPCProvider¶ Convenience API to access
web3.providers.rpc.TestRPCProvider
-
Web3.setProvider(provider)¶ Updates the current web3 instance with the new provider.