public class TronClient extends Object
Constructor and Description |
---|
TronClient(List<TronNode> fullNodes,
List<TronNode> solidityNodes)
Creates a new client for the Tron network.
|
TronClient(TronNode fullNode)
Creates a new client for the Tron network.
|
TronClient(TronNode fullNode,
TronNode solidityNode)
Creates a new client for the Tron network.
|
Modifier and Type | Method and Description |
---|---|
TronTransaction |
approveProposal(TronWallet owner,
long id,
boolean add_approval)
Approves a proposal, must be super representative.
|
TronTransaction |
assetIssue(TronWallet owner,
String name,
String abbr,
long totalSupply,
TRXAssetConversion conversion,
Date start,
Date end,
String description,
String url,
int decimals,
long freeNetLimitPerAccount,
long publicNetLimit,
List<TronAssetIssue.FrozenSupply> frozenSupply)
Creates a new Asset.
|
TronTransaction |
assetIssue(TronWallet owner,
String name,
String abbr,
long totalSupply,
TRXAssetConversion conversion,
Date start,
Date end,
String description,
String url,
long freeNetLimitPerAccount,
long publicNetLimit,
List<TronAssetIssue.FrozenSupply> frozenSupply)
Creates a new Asset.
|
TronTransaction |
assetIssue(TronWallet owner,
String name,
String abbr,
long totalSupply,
TRXAssetConversion conversion,
int precision,
Date start,
Date end,
String description,
String url,
int decimals,
long freeNetLimitPerAccount,
long publicNetLimit,
List<TronAssetIssue.FrozenSupply> frozenSupply)
Creates a new Asset.
|
void |
broadcastTransaction(byte[] rawData,
List<byte[]> signatures)
Broadcasts transaction (already signed).
|
TronTransaction |
buyStorage(TronWallet owner,
long quantity)
Buys storage points.
|
TronTransaction |
createAccount(TronWallet owner,
TronAddress newAccount)
Creates an account.
|
TronTransaction |
createProposal(TronWallet owner,
Map<Long,Long> params)
Creates a new proposal for the blockchain.
|
TronTransaction |
createWitness(TronWallet owner,
String url)
Creates a witness account.
|
TronTransaction |
deleteProposal(TronWallet owner,
long id)
Deletes a proposal.
|
javafx.util.Pair<TronTransaction,TronAddress> |
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> |
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 |
freezeBalance(TronWallet owner,
TronCurrency amount,
int durationDays,
TronResource resource)
Freezes your balance in exchange of energy or bandwidth.
|
TronAccount |
getAccountByAddress(TronAddress address)
Queries tha information of an account by its address.
|
TronAccount |
getAccountByName(String name)
Queries the information of an account by its name.
|
TronAccountNet |
getAccountNet(TronAddress address)
Queries the account net usage information.
|
TronAccountResource |
getAccountResources(TronAddress address)
Queries the account resources information.
|
TronAssetIssue |
getAssetIssueByName(String name)
Gets the information of an assets by its name.
|
List<TronAssetIssue> |
getAssetIssueByOwnerAddress(TronAddress address)
Gets the list of assets owned by an address.
|
TronBlock |
getBlock(HashIdentifier id)
Get block by its identifier / hash.
|
TronBlock |
getBlock(long number)
Gets a block by its number.
|
List<ChainParameter> |
getChainParameters() |
TronSmartContract |
getContract(TronAddress address)
Gets an smart contract deployen on the Tron network.
|
TronBlock |
getLastBlock()
Gets the last bock.
|
TronProposal |
getProposalById(long id)
Gets a proposal information by its id.
|
TronTransaction |
getTransaction(HashIdentifier id)
Gets a transaction.
|
TronTransactionInformation |
getTransactionInformation(HashIdentifier id)
Gets the execution information of a transaction,
|
List<TronTransaction> |
getTransactionsFrom(TronAddress address,
int offset,
int limit)
Gets the transactions made by an address.
|
List<TronTransaction> |
getTransactionsTo(TronAddress address,
int offset,
int limit)
Gets the transferences to an address.
|
List<TronAssetIssue> |
listAssetIssue()
Lists all assets present in the blockchain.
|
List<TronNode> |
listNodes()
List the known nodes by the org.tron node we are connecting to (Full nodes).
|
List<TronProposal> |
listProposals()
Lists all proposals.
|
List<TronWitness> |
listWitnesses()
Lists all witnesses.
|
TronTransaction |
participateAsset(TronWallet owner,
TronAddress receiver,
String assetName,
long amount)
Particiapes in an Asset, exchanging your currency for tokens.
|
TronTransaction |
sellStorage(TronWallet owner,
long quantity)
Sells storage points.
|
TronTransaction |
setAccountId(TronWallet owner,
String id)
Sets an account identifier.
|
void |
shutdown()
Closes all connections.
|
TronTransaction |
transfer(TronWallet owner,
TronAddress receiver,
TronCurrency amount)
Transfers coins (TRX / SUN)
|
TronTransaction |
transferAsset(TronWallet owner,
TronAddress receiver,
String assetName,
long amount)
Transfers assets.
|
TriggerContractResult |
triggerSmartContract(TronWallet owner,
TronAddress contractAddress,
TriggerContractDataBuilder call,
TronCurrency feeLimit,
TronCurrency callValue)
Triggers a smart contract, calling one method.
|
TriggerContractResult |
triggerSmartContract(TronWallet owner,
TronAddress contractAddress,
TriggerContractDataBuilder call,
TronCurrency feeLimit,
TronCurrency callValue,
long callValueTokenId,
long callValueToken)
Triggers a smart contract, calling one method.
|
TronTransaction |
unfreezeAsset(TronWallet owner)
Unfreezes all your frozen supply of assets.
|
TronTransaction |
unfreezeBalance(TronWallet owner,
TronResource resource)
Unfreezes your balance.
|
TronTransaction |
updateAccount(TronWallet owner,
String name)
Updates an account, setting the name.
|
TronTransaction |
updateAsset(TronWallet owner,
String description,
String url,
long freeNetLimitPerAccount,
long publicNetLimit)
Updates the settings of an asset.
|
TronTransaction |
updateSmartContractEnergyLimit(TronWallet owner,
TronAddress contractAddress,
long originEnergyLimit)
Updates the energy limit settings of a smart contract.
|
TronTransaction |
updateSmartContractSettings(TronWallet owner,
TronAddress contractAddress,
long consumeUserResourcePercent)
Updates the settings of a smart contract.
|
TronTransaction |
updateWitness(TronWallet owner,
String url)
Updates a witness account.
|
TronTransaction |
voteWitness(TronWallet owner,
Map<TronAddress,Long> votes)
Votes to a witness account.
|
TronTransactionInformation |
waitForTransactionConfirmation(HashIdentifier txId,
int maxRetries)
waits until a transaction is confirmed by the blockchain.
|
TronTransaction |
withdrawBalance(TronWallet owner)
Withdraws balance earned from mining blocks.
|
public TronClient(TronNode fullNode, TronNode solidityNode)
fullNode
- Full nodesolidityNode
- Solidity Nodepublic TronClient(List<TronNode> fullNodes, List<TronNode> solidityNodes)
fullNodes
- List of trusted full nodes.solidityNodes
- List of trusted solidity nodes.public TronClient(TronNode fullNode)
fullNode
- Full nodepublic TronBlock getBlock(long number) throws GRPCException
number
- The block number.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.public TronBlock getBlock(HashIdentifier id) throws GRPCException
id
- the identifier / hash of the block.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.public TronTransaction getTransaction(HashIdentifier id) throws GRPCException
id
- the identifier of the transaction.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.public TronTransactionInformation getTransactionInformation(HashIdentifier id) throws GRPCException
id
- the identifier of the transaction.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.public TronBlock getLastBlock() throws GRPCException
GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.public TronAccount getAccountByAddress(TronAddress address) throws GRPCException
address
- the account address.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.public TronAccount getAccountByName(String name) throws GRPCException
name
- the account name.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.public TronAccountNet getAccountNet(TronAddress address) throws GRPCException
address
- The address of the account.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.public TronAccountResource getAccountResources(TronAddress address) throws GRPCException
address
- The address of the account.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.public TronAssetIssue getAssetIssueByName(String name) throws GRPCException
name
- the name of the asset.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.public List<TronAssetIssue> getAssetIssueByOwnerAddress(TronAddress address) throws GRPCException
address
- The address.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.public List<TronAssetIssue> listAssetIssue() throws GRPCException
GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.public List<TronWitness> listWitnesses() throws GRPCException
GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.public List<TronNode> listNodes() throws GRPCException
GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.public TronProposal getProposalById(long id) throws GRPCException
id
- the proposal id.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.public List<TronProposal> listProposals() throws GRPCException
GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.public List<TronTransaction> getTransactionsFrom(TronAddress address, int offset, int limit) throws GRPCException
address
- The address.offset
- The offset.limit
- The max number of transactions to return.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.public List<TronTransaction> getTransactionsTo(TronAddress address, int offset, int limit) throws GRPCException
address
- The address.offset
- The offset.limit
- The max number of transactions to return.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.public TronSmartContract getContract(TronAddress address) throws GRPCException
address
- The contract address.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.public TronTransaction transfer(TronWallet owner, TronAddress receiver, TronCurrency amount) throws GRPCException, TransactionException
owner
- The owner of the founds.receiver
- The receiver of the founds.amount
- The amount of currency to sendGRPCException
- If an error occurs in the GRPC protocol, generally connection problems.TransactionException
- If The transaction fails to be sent.public TronTransaction transferAsset(TronWallet owner, TronAddress receiver, String assetName, long amount) throws GRPCException, TransactionException
owner
- The owner of the assets.receiver
- the receiver of the assets.assetName
- The name of the asset to send.amount
- the number of assets to send.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.TransactionException
- If The transaction fails to be sent.public TronTransaction participateAsset(TronWallet owner, TronAddress receiver, String assetName, long amount) throws GRPCException, TransactionException
owner
- Sender of the transaction.receiver
- The receiver of the tokens (can be your own account).assetName
- The name of the asset.amount
- the amount of tokens you want.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.TransactionException
- If The transaction fails to be sent.public TronTransaction freezeBalance(TronWallet owner, TronCurrency amount, int durationDays, TronResource resource) throws GRPCException, TransactionException
owner
- Sender of the transaction.amount
- the amount to be frozen.durationDays
- The duration (in days). It is forced to 3 days.resource
- The resource you want (energy or bandwidth)GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.TransactionException
- If The transaction fails to be sent.public TronTransaction voteWitness(TronWallet owner, Map<TronAddress,Long> votes) throws GRPCException, TransactionException
owner
- Sender of the transaction.votes
- The votes you want to emit (Address, number of votes)GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.TransactionException
- If The transaction fails to be sent.public TronTransaction unfreezeBalance(TronWallet owner, TronResource resource) throws GRPCException, TransactionException
owner
- Sender of the transaction.resource
- bandwidth or energy.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.TransactionException
- If The transaction fails to be sent.public TronTransaction assetIssue(TronWallet owner, String name, String abbr, long totalSupply, TRXAssetConversion conversion, Date start, Date end, String description, String url, long freeNetLimitPerAccount, long publicNetLimit, List<TronAssetIssue.FrozenSupply> frozenSupply) throws GRPCException, TransactionException
owner
- Sender of the transaction.name
- Name of the asset.abbr
- Abbreviation.totalSupply
- Total supply of the asset.conversion
- Conversion between TRX and your asset.start
- Start date for your asset.end
- Expiration date for the asset.description
- Description of the asset.url
- Url of the site mantaining the asset.freeNetLimitPerAccount
- The free net limit for your asset.publicNetLimit
- The public net limit for your asset.frozenSupply
- The frozen suply of token.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.TransactionException
- If The transaction fails to be sent.public TronTransaction assetIssue(TronWallet owner, String name, String abbr, long totalSupply, TRXAssetConversion conversion, Date start, Date end, String description, String url, int decimals, long freeNetLimitPerAccount, long publicNetLimit, List<TronAssetIssue.FrozenSupply> frozenSupply) throws GRPCException, TransactionException
owner
- Sender of the transaction.name
- Name of the asset.abbr
- Abbreviation.totalSupply
- Total supply of the asset.conversion
- Conversion between TRX and your asset.start
- Start date for your asset.end
- Expiration date for the asset.description
- Description of the asset.url
- Url of the site mantaining the asset.decimals
- Number of decimals to use.freeNetLimitPerAccount
- The free net limit for your asset.publicNetLimit
- The public net limit for your asset.frozenSupply
- The frozen suply of token.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.TransactionException
- If The transaction fails to be sent.public TronTransaction assetIssue(TronWallet owner, String name, String abbr, long totalSupply, TRXAssetConversion conversion, int precision, Date start, Date end, String description, String url, int decimals, long freeNetLimitPerAccount, long publicNetLimit, List<TronAssetIssue.FrozenSupply> frozenSupply) throws GRPCException, TransactionException
owner
- Sender of the transaction.name
- Name of the asset.abbr
- Abbreviation.totalSupply
- Total supply of the asset.conversion
- Conversion between TRX and your asset.precision
- Number of decimalsstart
- Start date for your asset.end
- Expiration date for the asset.description
- Description of the asset.url
- Url of the site mantaining the asset.decimals
- Number of decimals to use.freeNetLimitPerAccount
- The free net limit for your asset.publicNetLimit
- The public net limit for your asset.frozenSupply
- The frozen suply of token.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.TransactionException
- If The transaction fails to be sent.public TronTransaction updateAsset(TronWallet owner, String description, String url, long freeNetLimitPerAccount, long publicNetLimit) throws GRPCException, TransactionException
owner
- Sender of the transaction.description
- The new description.url
- the new url.freeNetLimitPerAccount
- the new free net limit.publicNetLimit
- the new public net limit.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.TransactionException
- If The transaction fails to be sent.public TronTransaction unfreezeAsset(TronWallet owner) throws GRPCException, TransactionException
owner
- Sender of the transaction.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.TransactionException
- If The transaction fails to be sent.public TronTransaction createAccount(TronWallet owner, TronAddress newAccount) throws GRPCException, TransactionException
owner
- Sender of the transaction.newAccount
- The new account address.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.TransactionException
- If The transaction fails to be sent.public TronTransaction updateAccount(TronWallet owner, String name) throws GRPCException, TransactionException
owner
- Sender of the transaction.name
- the name of the account.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.TransactionException
- If The transaction fails to be sent.public TronTransaction setAccountId(TronWallet owner, String id) throws GRPCException, TransactionException
owner
- Sender of the transaction.id
- The account identifier to set.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.TransactionException
- If The transaction fails to be sent.public TronTransaction withdrawBalance(TronWallet owner) throws GRPCException, TransactionException
owner
- Sender of the transaction.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.TransactionException
- If The transaction fails to be sent.public TronTransaction createWitness(TronWallet owner, String url) throws GRPCException, TransactionException
owner
- Sender of the transaction.url
- the utl with the information about the witness.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.TransactionException
- If The transaction fails to be sent.public TronTransaction updateWitness(TronWallet owner, String url) throws GRPCException, TransactionException
owner
- Sender of the transaction.url
- the new url.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.TransactionException
- If The transaction fails to be sent.public TronTransaction createProposal(TronWallet owner, Map<Long,Long> params) throws GRPCException, TransactionException
owner
- Sender of the transaction.params
- List of parameters.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.TransactionException
- If The transaction fails to be sent.public TronTransaction approveProposal(TronWallet owner, long id, boolean add_approval) throws GRPCException, TransactionException
owner
- Sender of the transaction.id
- Proposal identifier.add_approval
- Flag "add_approval"GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.TransactionException
- If The transaction fails to be sent.public TronTransaction deleteProposal(TronWallet owner, long id) throws GRPCException, TransactionException
owner
- Sender of the transaction.id
- Proposal identifier.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.TransactionException
- If The transaction fails to be sent.public TronTransaction buyStorage(TronWallet owner, long quantity) throws GRPCException, TransactionException
owner
- Sender of the transaction.quantity
- the amount of storage points you want to buy.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.TransactionException
- If The transaction fails to be sent.public TronTransaction sellStorage(TronWallet owner, long quantity) throws GRPCException, TransactionException
owner
- Sender of the transaction.quantity
- the amount of storage points you want to sell.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.TransactionException
- If The transaction fails to be sent.public javafx.util.Pair<TronTransaction,TronAddress> deploySmartContract(TronWallet owner, String contractName, String ABI, String byteCode, TriggerContractDataBuilder constructorCall, TronCurrency feeLimit, long consumeUserResourcePercent, TronCurrency callValue, Map<String,TronAddress> libraries) throws GRPCException, TransactionException, EncodingException
owner
- Sender of the transaction.contractName
- The contract name (account name for the contract address)ABI
- The ABI of the smart contract, in JSON format (must be an array).byteCode
- the byte code of the smart contract in hexadecimal.constructorCall
- The constructor method call.feeLimit
- The fee limit of the transaction.consumeUserResourcePercent
- The % of energy an user will consume when calling a method of the contract.
Set it to 0 to consume first the owner resources.callValue
- The constructor method call value. Set it to 0 unless the constructor is Payable.libraries
- The libraries used for the mart contract, including the name and the address of the libraries.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.TransactionException
- If The transaction fails to be sent.EncodingException
- If the constructor call is invalid.public javafx.util.Pair<TronTransaction,TronAddress> 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) throws GRPCException, TransactionException, EncodingException
owner
- Sender of the transaction.contractName
- The contract name (account name for the contract address)ABI
- The ABI of the smart contract, in JSON format (must be an array).byteCode
- the byte code of the smart contract in hexadecimal.constructorCall
- The constructor method call.feeLimit
- The fee limit of the transaction.consumeUserResourcePercent
- The % of energy an user will consume when calling a method of the contract.
Set it to 0 to consume first the owner resources.originEnergyLimit
- The energy limit that can be consumed from the origin.callValue
- The constructor method call value. Set it to 0 unless the constructor is Payable.callValueTokenId
- The token to send as a token call valuecallValueToken
- The number of tokens to send as call valuelibraries
- The libraries used for the mart contract, including the name and the address of the libraries.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.TransactionException
- If The transaction fails to be sent.EncodingException
- If the constructor call is invalid.public TriggerContractResult triggerSmartContract(TronWallet owner, TronAddress contractAddress, TriggerContractDataBuilder call, TronCurrency feeLimit, TronCurrency callValue) throws GRPCException, TransactionException, EncodingException
owner
- Sender of the transaction.contractAddress
- The address of the smart contract you want to trigger.call
- The smart contract method call.feeLimit
- The fee limit of the transaction.callValue
- the method call value.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.TransactionException
- If The transaction fails to be sent.EncodingException
- If the method call is invalid.public TriggerContractResult triggerSmartContract(TronWallet owner, TronAddress contractAddress, TriggerContractDataBuilder call, TronCurrency feeLimit, TronCurrency callValue, long callValueTokenId, long callValueToken) throws GRPCException, TransactionException, EncodingException
owner
- Sender of the transaction.contractAddress
- The address of the smart contract you want to trigger.call
- The smart contract method call.feeLimit
- The fee limit of the transaction.callValue
- the method call value.callValueTokenId
- The token to send as a token call valuecallValueToken
- The number of tokens to send as call valueGRPCException
- If an error occurs in the GRPC protocol, generally connection problems.TransactionException
- If The transaction fails to be sent.EncodingException
- If the method call is invalid.public TronTransaction updateSmartContractSettings(TronWallet owner, TronAddress contractAddress, long consumeUserResourcePercent) throws GRPCException, TransactionException
owner
- Sender of the transaction.contractAddress
- the address of the contract.consumeUserResourcePercent
- the new value for "consumeUserResourcePercent".GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.TransactionException
- If The transaction fails to be sent.public TronTransaction updateSmartContractEnergyLimit(TronWallet owner, TronAddress contractAddress, long originEnergyLimit) throws GRPCException, TransactionException
owner
- Sender of the transaction.contractAddress
- the address of the contract.originEnergyLimit
- The new value for origin-energy-limit.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.TransactionException
- If The transaction fails to be sent.public TronTransactionInformation waitForTransactionConfirmation(HashIdentifier txId, int maxRetries) throws GRPCException, InterruptedException, ConfirmationTimeoutException
txId
- The transaction identifier.maxRetries
- The max number of blocks to wait for.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.InterruptedException
- If the thread is interrupted.ConfirmationTimeoutException
- The the transaction is not confirmed and max retries is reached.public void broadcastTransaction(byte[] rawData, List<byte[]> signatures) throws com.google.protobuf.InvalidProtocolBufferException, GRPCException, TransactionException
rawData
- The transaction raw datasignatures
- The transaction signaturescom.google.protobuf.InvalidProtocolBufferException
- If the raw data is invalid.GRPCException
- If an error occurs in the GRPC protocol, generally connection problems.TransactionException
- If the transaction fails to be broadcasted.public List<ChainParameter> getChainParameters() throws GRPCException
GRPCException
public void shutdown()
Copyright © 2020. All rights reserved.