所有方法 实例方法 具体方法
| 限定符和类型 |
方法和说明 |
void |
close() |
Transaction |
createContractAccount(Account from,
String accountName) |
Transaction |
deployEVMContract(Account from,
byte[] bin,
byte[] abi,
String contract,
Map<String,String> initArgs) |
Transaction |
deployNativeContract(Account from,
byte[] code,
String contract,
String runtime,
Map<String,byte[]> initArgs)
deploy native contract
|
Transaction |
deployWasmContract(Account from,
byte[] code,
String contract,
String runtime,
Map<String,byte[]> initArgs)
deploy wasm contract
|
BigInteger |
getBalance(String account)
Get balance of account
|
XuperClient.BalDetails[] |
getBalanceDetails(String account)
Get balance unfrozen balance and frozen balance of account
|
XchainOuterClass.BCStatus |
getBlockchainStatus(String chainName)
getBlockchainStatus get the status of given blockchain
|
XchainOuterClass.SystemsStatus |
getSystemStatus()
getSystemStatus get system status contains all blockchains
|
XendorserClient |
getXendorserClient() |
Transaction |
invokeContract(Account from,
String module,
String contract,
String method,
Map<String,byte[]> args) |
Transaction |
invokeEVMContract(Account from,
String contract,
String method,
Map<String,String> args,
BigInteger amount) |
XchainOuterClass.InternalBlock |
queryBlock(String blockid)
queryBlock get Block
|
Transaction |
queryContract(Account from,
String module,
String contract,
String method,
Map<String,byte[]> args) |
Transaction |
queryEVMContract(Account from,
String contract,
String method,
Map<String,String> args) |
XchainOuterClass.Transaction |
queryTx(String txid)
queryTx query transaction
|
XuperClient |
setChainName(String name) |
Transaction |
transfer(Account from,
String to,
BigInteger amount,
String fee) |
Transaction |
transfer(Account from,
String to,
BigInteger amount,
String fee,
String desc) |
Transaction |
upgradeNativeContract(Account from,
byte[] code,
String name) |
Transaction |
upgradeWasmContract(Account from,
byte[] code,
String name) |