public interface WalletApi
| 限定符和类型 | 方法和说明 |
|---|---|
String |
convertToNewAddress(String address) |
BigDecimal |
getBalance(String address) |
Block |
getBlock(long height) |
Block |
getBlock(String hash) |
long |
getBlockHeight() |
org.web3j.protocol.core.methods.response.EthSendTransaction |
sendTransaction(String fromAddress,
String secretKey,
Map<String,BigDecimal> transferRequests) |
String |
sendTransaction(String toAddress,
String fromAddress,
String secretKey,
BigDecimal amount) |
org.web3j.protocol.core.methods.response.EthSendTransaction |
sendTransaction(String toAddress,
String fromAddress,
String secretKey,
BigDecimal amount,
String contractAddress) |
BigDecimal getBalance(String address) throws Exception
Exceptionorg.web3j.protocol.core.methods.response.EthSendTransaction sendTransaction(String fromAddress, String secretKey, Map<String,BigDecimal> transferRequests)
String sendTransaction(String toAddress, String fromAddress, String secretKey, BigDecimal amount)
org.web3j.protocol.core.methods.response.EthSendTransaction sendTransaction(String toAddress, String fromAddress, String secretKey, BigDecimal amount, String contractAddress) throws Exception
ExceptionCopyright © 2021. All rights reserved.