public interface MetaMaskWalletApi
| 限定符和类型 | 方法和说明 |
|---|---|
org.web3j.protocol.core.methods.response.EthCall |
ethCall(String from,
String to,
BigInteger gasLimit,
BigInteger gasPrice,
BigInteger value,
String data,
boolean latest) |
org.web3j.protocol.core.methods.response.EthEstimateGas |
ethEstimateGas(String from,
String to,
BigInteger gasLimit,
BigInteger gasPrice,
BigInteger value,
String data) |
String |
ethSign(String priKey,
String dataHex) |
String |
personalSign(String priKey,
String data) |
RpcResult |
request(String requestURL,
String method,
List<Object> params) |
EthSendTransactionPo |
sendRawTransaction(String privateKey,
BigInteger nonce,
BigInteger gasPrice,
BigInteger gasLimit,
String to,
BigInteger value,
String data) |
String |
sendRawTransactionWithoutBroadcast(String privateKey,
BigInteger nonce,
BigInteger gasPrice,
BigInteger gasLimit,
String to,
BigInteger value,
String data) |
String |
signTypedDataV4(String priKey,
String json) |
org.web3j.protocol.core.methods.response.EthCall |
validateRawTransaction(String from,
String to,
String data,
BigInteger value) |
EthSendTransactionPo sendRawTransaction(String privateKey, BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, BigInteger value, String data) throws Exception
ExceptionString sendRawTransactionWithoutBroadcast(String privateKey, BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, BigInteger value, String data) throws Exception
Exceptionorg.web3j.protocol.core.methods.response.EthCall validateRawTransaction(String from, String to, String data, BigInteger value) throws Exception
Exceptionorg.web3j.protocol.core.methods.response.EthCall ethCall(String from, String to, BigInteger gasLimit, BigInteger gasPrice, BigInteger value, String data, boolean latest) throws Exception
Exceptionorg.web3j.protocol.core.methods.response.EthEstimateGas ethEstimateGas(String from, String to, BigInteger gasLimit, BigInteger gasPrice, BigInteger value, String data) throws Exception
ExceptionString signTypedDataV4(String priKey, String json) throws IOException
IOExceptionCopyright © 2021. All rights reserved.