public class Caver
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_URL |
IPFS |
ipfs
The IPFS instance.
|
RPC |
rpc
The JSON-RPC API instance
|
KeyringContainer |
wallet
The KeyringContainer instance.
|
Constructor and Description |
---|
Caver() |
Caver(java.lang.String url)
Creates a Caver instance
|
Caver(org.web3j.protocol.Web3jService service)
Creates a Caver instance
|
Modifier and Type | Method and Description |
---|---|
static Caver |
build()
Deprecated.
Please use
Caver() instead. |
static Caver |
build(java.lang.String url)
Deprecated.
Please use
Caver(String) instead. |
static Caver |
build(org.web3j.protocol.Web3jService service)
Deprecated.
Please use
Caver(Web3jService) instead. |
IPFS |
getIpfs()
Getter for IPFS
|
RPC |
getRpc()
Getter for RPC
|
IWallet |
getWallet()
Getter for Wallet
|
Klay |
klay()
Deprecated.
Please use
caver.rpc.klay instead. |
Net |
net()
Deprecated.
Please use
caver.rpc.net instead. |
public static java.lang.String DEFAULT_URL
public RPC rpc
public KeyringContainer wallet
public IPFS ipfs
public Caver()
public Caver(java.lang.String url)
url
- JSON-RPC request URLpublic Caver(org.web3j.protocol.Web3jService service)
service
- Web3jService@Deprecated public static Caver build(org.web3j.protocol.Web3jService service)
Caver(Web3jService)
instead.@Deprecated public static Caver build(java.lang.String url)
Caver(String)
instead.public RPC getRpc()
public IWallet getWallet()
public IPFS getIpfs()
@Deprecated public Klay klay()
caver.rpc.klay
instead.RPC.klay