Url for node API
Options
OptionalignoreVersion?: booleanPrint warning instead of throwing exception if node or consensus protocol version is not supported, use with caution
OptionalretryCount?: numberAmount of extra requests to do in case of failure
OptionalretryOverallDelay?: numberTime in ms to wait between all retries
Optionaloptions: OperationOptionsGet an account by public key
The public key of the account
Optionaloptions: GetAccountByPubkeyOptionalParamsThe options parameters.
Get an account by public key after the block indicated by hash. Can be either a micro block or a keyblock hash
The public key of the account
The hash of the block - either a keyblock or a microblock
Optionaloptions: GetAccountByPubkeyAndHashOptionalParamsThe options parameters.
Get an account by public key after the opening key block of the generation at height
The public key of the account
The height
Optionaloptions: GetAccountByPubkeyAndHeightOptionalParamsThe options parameters.
Get an account's next nonce; This is computed according to whatever is the current account nonce and what transactions are currently present in the transaction pool
The public key of the account
Optionaloptions: GetAccountNextNonceOptionalParamsThe options parameters.
Get auction entry from naming system
The name key of the name entry
Optionaloptions: GetAuctionEntryByNameOptionalParamsThe options parameters.
Get oldest keyblock hashes counting from genesis including orphans
Optionaloptions: GetChainEndsOptionalParamsThe options parameters.
Get channel by public key
The pubkey of the channel
Optionaloptions: GetChannelByPubkeyOptionalParamsThe options parameters.
Get a contract by pubkey
Contract pubkey to get proof for
Optionaloptions: GetContractOptionalParamsThe options parameters.
Get contract code by pubkey
Contract pubkey to get proof for
Optionaloptions: GetContractCodeOptionalParamsThe options parameters.
Get a proof of inclusion for a contract
Contract pubkey to get proof for
Optionaloptions: GetContractPoIOptionalParamsThe options parameters.
Get the currency metadata of a node
Optionaloptions: GetCurrencyOptionalParamsThe options parameters.
Get the current generation
Optionaloptions: GetCurrentGenerationOptionalParamsThe options parameters.
Get the current key block
Optionaloptions: GetCurrentKeyBlockOptionalParamsThe options parameters.
Get the hash of the current key block
Optionaloptions: GetCurrentKeyBlockHashOptionalParamsThe options parameters.
Get the height of the current key block
Optionaloptions: GetCurrentKeyBlockHeightOptionalParamsThe options parameters.
Get a generation by hash
The hash of the key block
Optionaloptions: GetGenerationByHashOptionalParamsThe options parameters.
Get a generation by height
The height
Optionaloptions: GetGenerationByHeightOptionalParamsThe options parameters.
Get the pubkeys for the configured hyperchain contracts for staking, election and rewards
Optionaloptions: GetHyperchainContractPubkeysOptionalParamsThe options parameters.
Get a key block by hash
The hash of the block - either a keyblock or a microblock
Optionaloptions: GetKeyBlockByHashOptionalParamsThe options parameters.
Get a key block by height
The height
Optionaloptions: GetKeyBlockByHeightOptionalParamsThe options parameters.
Get a micro block header by hash
The hash of the block - either a keyblock or a microblock
Optionaloptions: GetMicroBlockHeaderByHashOptionalParamsThe options parameters.
Get a micro block transaction by hash and index
The hash of the micro block
The index of the transaction in a block
Optionaloptions: GetMicroBlockTransactionByHashAndIndexOptionalParamsThe options parameters.
Get micro block transactions by hash
The hash of the micro block
Optionaloptions: GetMicroBlockTransactionsByHashOptionalParamsThe options parameters.
Get micro block transaction count by hash
The hash of the micro block
Optionaloptions: GetMicroBlockTransactionsCountByHashOptionalParamsThe options parameters.
Get name entry from naming system
The name key of the name entry
Optionaloptions: GetNameEntryByNameOptionalParamsThe options parameters.
Get name entry from naming system
The name hash of the name entry
Optionaloptions: GetNameEntryByNameHashOptionalParamsThe options parameters.
Returns network ID provided by node. This method won't do extra requests on subsequent calls.
Get an oracle by public key
The public key of the oracle
Optionaloptions: GetOracleByPubkeyOptionalParamsThe options parameters.
Get oracle queries by public key
The public key of the oracle
Optionaloptions: GetOracleQueriesByPubkeyOptionalParamsThe options parameters.
Get an oracle query by public key and query ID
The public key of the oracle
The ID of the query
Optionaloptions: GetOracleQueryByPubkeyAndQueryIdOptionalParamsThe options parameters.
Get peer public key
Optionaloptions: GetPeerPubkeyOptionalParamsThe options parameters.
Get pending account transactions by public key
The public key of the account
Optionaloptions: GetPendingAccountTransactionsByPubkeyOptionalParamsThe options parameters.
Get the pending key block
Optionaloptions: GetPendingKeyBlockOptionalParamsThe options parameters.
Get the pinning transaction for the current epoch. Returns both the individual parameters as well as the parent chain type (aeternity, btc etc.), network id and a packaged 80 byte readymade payload for that chain type.
Optionaloptions: GetPinningTxOptionalParamsThe options parameters.
Get minimum gas prices in recent blocks
Optionaloptions: GetRecentGasPricesOptionalParamsThe options parameters.
Get the status of a node
Get the sync status of a node
Optionaloptions: GetSyncStatusOptionalParamsThe options parameters.
Get the top header (either key or micro block)
Optionaloptions: GetTopHeaderOptionalParamsThe options parameters.
Get a transaction by hash
The hash of the transaction
Optionaloptions: GetTransactionByHashOptionalParamsThe options parameters.
The hash of the transaction
Optionaloptions: GetTransactionInfoByHashOptionalParamsThe options parameters.
Post a new transaction
The new transaction
Optionaloptions: PostTransactionOptionalParamsThe options parameters.
Dry-run unsigned transactions on top of a given block. Supports all TXs except GAMetaTx, PayingForTx and OffchainTx. The maximum gas limit of all calls is capped. The maximum gas limit per request is a global node setting. Since DryRunCallReq object do not have a mandatory gas field, if not set a default value of 1000000 is being used instead.
transactions
Optionaloptions: ProtectedDryRunTxsOptionalParamsThe options parameters.