| Modifier and Type | Method and Description |
|---|---|
void |
BeowulfJ.broadcastBlock(SignedBlock signedBlock)
Broadcast a whole block.
|
TransactionId |
BeowulfJ.broadcastTransaction(SignedTransaction transaction)
Broadcast a transaction on the Beowulf blockchain.
|
BroadcastTransactionSynchronousReturn |
BeowulfJ.broadcastTransactionSynchronous(SignedTransaction transaction)
Broadcast a transaction on the Beowulf blockchain.
|
List<FindSmtTokenByName> |
BeowulfJ.findSmtTokenByName(List<String> names) |
long |
BeowulfJ.getAccountCount()
Get the current number of registered Beowulf accounts.
|
List<AccountHistoryReturn> |
BeowulfJ.getAccountHistory(AccountName accountName,
org.joou.ULong start,
org.joou.UInteger limit)
Deprecated.
|
List<ExtendedAccount> |
BeowulfJ.getAccounts(List<AccountName> accountNames) |
List<AccountName> |
BeowulfJ.getActiveSupernodes()
Get the list of the current active supernodes.
|
Asset |
BeowulfJ.getBalance(AccountName accountName,
AssetInfo assetInfo) |
Block |
BeowulfJ.getBlock(long blockNumber)
Get a full, signed block by providing its
blockNumber. |
BlockHeader |
BeowulfJ.getBlockHeader(long blockNumber)
Like
BeowulfJ.getBlock(long), but will only return the header of the
requested block instead of the full, signed one. |
Config |
BeowulfJ.getConfig() |
DynamicGlobalProperty |
BeowulfJ.getDynamicGlobalProperties()
Get the global properties.
|
static BeowulfJ |
BeowulfJ.getInstance() |
List<String> |
BeowulfJ.getKeyReferences(List<PublicKey> publicKeys)
Search for users under the use of their public key(s).
|
static BeowulfJ |
BeowulfJ.getNewInstance() |
ScheduledHardfork |
BeowulfJ.getNextScheduledHarfork()
TODO: Check what this method is supposed to do.
|
Supernode |
BeowulfJ.getSupernodeByAccount(AccountName supernodeName)
Get the supernode information for a given supernode account name.
|
int |
BeowulfJ.getSupernodeCount()
Get the current number of active supernodes.
|
List<Supernode> |
BeowulfJ.getSupernodes()
Get all supernodes.
|
List<Supernode> |
BeowulfJ.getSupernodesByVote(AccountName supernodeName,
int limit,
int vestingShare)
Get a list of supernodes sorted by the amount of votes.
|
SupernodeSchedule |
BeowulfJ.getSupernodeSchedule()
Get the supernode schedule.
|
CompletedTransaction |
BeowulfJ.getTransactionDetail(String trx_id)
Use the Beowulf API to receive the HEX representation of a signed
transaction.
|
String |
BeowulfJ.getTransactionHex(SignedTransaction signedTransaction)
Use the Beowulf API to receive the HEX representation of a signed
transaction.
|
List<String> |
BeowulfJ.lookupAccounts(String pattern,
int limit)
Search for accounts.
|
List<String> |
BeowulfJ.lookupSupernodeAccounts(String pattern,
int limit)
Search for supernode accounts.
|
TransactionId |
BeowulfJ.signAndBroadcast(List<Operation> operations) |
BroadcastTransactionSynchronousReturn |
BeowulfJ.signAndBroadcastSynchronous(List<Operation> operations) |
TransactionId |
BeowulfJ.signAndBroadcastWithExtension(List<Operation> operations,
List<FutureExtensions> extensions) |
boolean |
BeowulfJ.verifyAuthority(SignedTransaction signedTransaction)
Use the Beowulf API to verify the required authorities for this
transaction.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CommunicationHandler.initializeNewClient(BeowulfJConfig config)
Initialize a new
client by selecting one of the configured
endpoints. |
JsonRPCResponse |
HttpClient.invokeAndReadResponse(JsonRPCRequest requestObject,
URI endpointUri,
boolean sslVerificationDisabled) |
JsonRPCResponse |
WebsocketClient.invokeAndReadResponse(JsonRPCRequest requestObject,
URI endpointUri,
boolean sslVerificationDisabled) |
abstract JsonRPCResponse |
AbstractClient.invokeAndReadResponse(JsonRPCRequest requestObject,
URI endpointUri,
boolean sslVerificationDisabled)
Use this method to send a
requestObject to the
endpointUri and to receive an answer. |
<T> List<T> |
CommunicationHandler.performRequest(JsonRPCRequest requestObject,
Class<T> targetClass)
Perform a request to the web socket API whose response will automatically
get transformed into the given object.
|
| Constructor and Description |
|---|
CommunicationHandler()
Initialize the Connection Handler.
|
CommunicationHandler(BeowulfJConfig config)
Initialize the Connection Handler.
|
| Modifier and Type | Method and Description |
|---|---|
BeowulfResponseException |
JsonRPCResponse.handleError(long id)
This method checks if the JSON response wrapped by this
JsonRPCResponse instance has the expected id and
will try to generate and throw a BeowulfResponseException based on
the response. |
<T> List<T> |
JsonRPCResponse.handleResult(com.fasterxml.jackson.databind.JavaType type,
long id)
This method checks if the JSON response wrapped by this
JsonRPCResponse instance has the expected id and
will try to transform the JSON into the given type. |
| Modifier and Type | Class and Description |
|---|---|
class |
BeowulfConnectionException |
class |
BeowulfTimeoutException |
class |
BeowulfTransformationException |
| Modifier and Type | Method and Description |
|---|---|
static GetKeyReferencesReturn |
AccountByKeyApi.getKeyReferences(CommunicationHandler communicationHandler,
GetKeyReferencesArgs publicKeys)
Deprecated.
Search for users under the use of their public key(s).
|
| Modifier and Type | Method and Description |
|---|---|
static GetAccountHistoryReturn |
AccountHistoryApi.getAccountHistory(CommunicationHandler communicationHandler,
GetAccountHistoryArgs getAccountHistoryArgs)
Deprecated.
Get all operations performed by the specified
accountName. |
static AnnotatedSignedTransaction |
AccountHistoryApi.getTransaction(CommunicationHandler communicationHandler,
GetAccountHistoryArgs getTransactionArgs)
Deprecated.
Find a transaction by its
transactionId. |
| Modifier and Type | Method and Description |
|---|---|
static GetBlockReturn |
BlockApi.getBlock(CommunicationHandler communicationHandler,
GetBlockArgs getBlockArgs)
Deprecated.
Get a full, signed block by providing its
blockNumber. |
static GetBlockHeaderReturn |
BlockApi.getBlockHeader(CommunicationHandler communicationHandler,
GetBlockHeaderArgs getBlockHeaderArgs)
Deprecated.
Like
BlockApi.getBlock(CommunicationHandler, GetBlockArgs), but will only
return the header of the requested block instead of the full, signed one. |
| Modifier and Type | Method and Description |
|---|---|
static void |
CondenserApi.broadcastBlock(CommunicationHandler communicationHandler,
SignedBlock signedBlock)
Broadcast a whole block.
|
static TransactionId |
CondenserApi.broadcastTransaction(CommunicationHandler communicationHandler,
SignedTransaction transaction)
Broadcast a transaction on the Beowulf blockchain.
|
static BroadcastTransactionSynchronousReturn |
CondenserApi.broadcastTransactionSynchronous(CommunicationHandler communicationHandler,
SignedTransaction transaction)
Broadcast a transaction on the Beowulf blockchain.
|
static List<FindSmtTokenByName> |
CondenserApi.findSmtTokenByName(CommunicationHandler communicationHandler,
List<String> names)
(find_smt_tokens_by_name)
|
static org.joou.ULong |
CondenserApi.getAccountCount(CommunicationHandler communicationHandler)
(get_account_count
|
static List<AccountHistoryReturn> |
CondenserApi.getAccountHistory(CommunicationHandler communicationHandler,
String account,
long start,
long limit)
Deprecated.
|
static List<Account> |
CondenserApi.getAccounts(CommunicationHandler communicationHandler,
List<AccountName> accounts)
(get_accounts)
|
static List<AccountName> |
CondenserApi.getActiveSuperNodes(CommunicationHandler communicationHandler)
(get_active_supernodes)
|
static Asset |
CondenserApi.getBalance(CommunicationHandler communicationHandler,
String accountName,
AssetInfo assetInfo)
Broadcast a whole block.
|
static Block |
CondenserApi.getBlock(CommunicationHandler communicationHandler,
long blockNum)
(get_block)
|
static BlockHeader |
CondenserApi.getBlockHeader(CommunicationHandler communicationHandler,
long blockNum)
(get_block_header)
|
static Config |
CondenserApi.getConfig(CommunicationHandler communicationHandler)
(get_config)
|
static ExtendedDynamicGlobalProperties |
CondenserApi.getDynamicGlobalProperties(CommunicationHandler communicationHandler)
Like
DatabaseApi.getDynamicGlobalProperties(CommunicationHandler), but
returns an ExtendedDynamicGlobalProperties object providing
additional information. |
static List<ExtendedAccount> |
CondenserApi.getExtAccounts(CommunicationHandler communicationHandler,
List<AccountName> accounts) |
static String |
CondenserApi.getHardforkVersion(CommunicationHandler communicationHandler)
Get the hardfork version the node you are connected to is using.
|
static List<String> |
CondenserApi.getKeyReferences(CommunicationHandler communicationHandler,
List<PublicKey> publicKeys)
(get_key_references)
|
static ScheduledHardfork |
CondenserApi.getNextScheduleHardfork(CommunicationHandler communicationHandler)
(get_next_scheduled_hardfork)
|
static Supernode |
CondenserApi.getSupernodeByAccount(CommunicationHandler communicationHandler,
AccountName supernodeAccount)
(get_supernode_by_account)
|
static int |
CondenserApi.getSupernodeCount(CommunicationHandler communicationHandler)
(get_supernode_count)
|
static List<Supernode> |
CondenserApi.getSupernodesByVote(CommunicationHandler communicationHandler,
AccountName supernodeAccount,
int limit,
int vestingShare)
(get_supernodes_by_vote)
|
static SupernodeSchedule |
CondenserApi.getSupernodeSchedule(CommunicationHandler communicationHandler)
(get_supernode_schedule)
|
static CompletedTransaction |
CondenserApi.getTransactionDetail(CommunicationHandler communicationHandler,
String trx_id)
(get_transaction)
|
static String |
CondenserApi.getTransactionHex(CommunicationHandler communicationHandler,
SignedTransaction transaction)
(get_transaction_hex)
|
static List<String> |
CondenserApi.lookupAccounts(CommunicationHandler communicationHandler,
String pattern,
int limit)
(lookupSupernodeAccounts)
|
static List<String> |
CondenserApi.lookupSupernodeAccounts(CommunicationHandler communicationHandler,
String pattern,
int limit)
(lookupSupernodeAccounts)
|
static Boolean |
CondenserApi.verifyAccountAuthority(CommunicationHandler communicationHandler,
AccountName accountName,
List<PublicKey> publicKeys) |
| Modifier and Type | Method and Description |
|---|---|
static void |
NetworkBroadcastApi.broadcastBlock(CommunicationHandler communicationHandler,
SignedBlock signedBlock)
Deprecated.
Broadcast a whole block.
|
static void |
NetworkBroadcastApi.broadcastTransaction(CommunicationHandler communicationHandler,
SignedTransaction transaction)
Deprecated.
Broadcast a transaction on the Beowulf blockchain.
|
static BroadcastTransactionSynchronousReturn |
NetworkBroadcastApi.broadcastTransactionSynchronous(CommunicationHandler communicationHandler,
SignedTransaction transaction)
Deprecated.
Broadcast a transaction on the Beowulf blockchain.
|
| Modifier and Type | Method and Description |
|---|---|
static Asset |
Asset.createSmtAsset(BigDecimal amount,
String name)
Create a new asset object by providing all required fields.
|
Copyright © 2019. All rights reserved.