Package | Description |
---|---|
tv.noixion.troncli | |
tv.noixion.troncli.models | |
tv.noixion.troncli.models.contracts |
Modifier and Type | Method and Description |
---|---|
TriggerContractResult |
TronContractProxy.callMethod(TronWallet sender,
TriggerContractDataBuilder call,
TronCurrency feeLimit,
TronCurrency callValue)
Calls a method of the smart contract.
|
TriggerContractResult |
TronContractProxy.callMethod(TronWallet sender,
TriggerContractDataBuilder call,
TronCurrency feeLimit,
TronCurrency callValue,
long callValueTokenId,
long callValueToken)
Calls a method of the smart contract.
|
javafx.util.Pair<TronTransaction,TronAddress> |
TronClient.deploySmartContract(TronWallet owner,
String contractName,
String ABI,
String byteCode,
TriggerContractDataBuilder constructorCall,
TronCurrency feeLimit,
long consumeUserResourcePercent,
TronCurrency callValue,
long callValueTokenId,
long callValueToken,
long originEnergyLimit,
Map<String,TronAddress> libraries)
Deploys an smart contract on the Tron network.
|
javafx.util.Pair<TronTransaction,TronAddress> |
TronClient.deploySmartContract(TronWallet owner,
String contractName,
String ABI,
String byteCode,
TriggerContractDataBuilder constructorCall,
TronCurrency feeLimit,
long consumeUserResourcePercent,
TronCurrency callValue,
Map<String,TronAddress> libraries)
Deploys an smart contract on the Tron network.
|
TronTransaction |
TronClient.freezeBalance(TronWallet owner,
TronCurrency amount,
int durationDays,
TronResource resource)
Freezes your balance in exchange of energy or bandwidth.
|
TronTransaction |
TronClient.transfer(TronWallet owner,
TronAddress receiver,
TronCurrency amount)
Transfers coins (TRX / SUN)
|
TriggerContractResult |
TronClient.triggerSmartContract(TronWallet owner,
TronAddress contractAddress,
TriggerContractDataBuilder call,
TronCurrency feeLimit,
TronCurrency callValue)
Triggers a smart contract, calling one method.
|
TriggerContractResult |
TronClient.triggerSmartContract(TronWallet owner,
TronAddress contractAddress,
TriggerContractDataBuilder call,
TronCurrency feeLimit,
TronCurrency callValue,
long callValueTokenId,
long callValueToken)
Triggers a smart contract, calling one method.
|
Modifier and Type | Field and Description |
---|---|
static TronCurrency |
TronCurrency.MAX_FEE_LIMIT
Max limit for transactions (1000 TRX)
|
static TronCurrency |
TronCurrency.ZERO
Value zero (0 TRX, 0 SUN)
|
Modifier and Type | Method and Description |
---|---|
TronCurrency |
TronAccount.getAllowance() |
TronCurrency |
TronAccount.FrozenBalance.getAmount() |
TronCurrency |
TronAccount.getBalance() |
TronCurrency |
TronSmartContract.getCallValue() |
TronCurrency |
TronTransactionInformation.getEnergyFee() |
TronCurrency |
TronTransactionInformation.getFee() |
TronCurrency |
TronTransaction.getFeeLimit() |
TronCurrency |
TronTransactionInformation.getNetFee() |
TronCurrency |
TronTransactionInformation.getUnfreezeAmount() |
TronCurrency |
TronTransaction.Result.getUnfreezeAmount() |
TronCurrency |
TronTransactionInformation.getWithdrawAmount() |
TronCurrency |
TronTransaction.Result.getWithdrawAmount() |
static TronCurrency |
TronCurrency.sun(long value)
Creates a new instance of TronCurrency
|
static TronCurrency |
TronCurrency.trx(double value)
Creates a new instance of TronCurrency
|
Modifier and Type | Method and Description |
---|---|
TronCurrency |
TransferContract.getAmount() |
TronCurrency |
TriggerSmartContractContract.getCallValue() |
Copyright © 2020. All rights reserved.