Url for node API
Options
Optional
ignoreVersion?: booleanPrint warning instead of throwing exception if node or consensus protocol version is not supported, use with caution
Optional
retryCount?: numberAmount of extra requests to do in case of failure
Optional
retryOverallDelay?: numberTime in ms to wait between all retries
Optional
options: OperationOptionsGet an account by public key
The public key of the account
Optional
options: 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
Optional
options: 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
Optional
options: 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
Optional
options: GetAccountNextNonceOptionalParamsThe options parameters.
Get auction entry from naming system
The name key of the name entry
Optional
options: GetAuctionEntryByNameOptionalParamsThe options parameters.
Get oldest keyblock hashes counting from genesis including orphans
Optional
options: GetChainEndsOptionalParamsThe options parameters.
Get channel by public key
The pubkey of the channel
Optional
options: GetChannelByPubkeyOptionalParamsThe options parameters.
Get a contract by pubkey
Contract pubkey to get proof for
Optional
options: GetContractOptionalParamsThe options parameters.
Get contract code by pubkey
Contract pubkey to get proof for
Optional
options: GetContractCodeOptionalParamsThe options parameters.
Get a proof of inclusion for a contract
Contract pubkey to get proof for
Optional
options: GetContractPoIOptionalParamsThe options parameters.
Get the currency metadata of a node
Optional
options: GetCurrencyOptionalParamsThe options parameters.
Get the current generation
Optional
options: GetCurrentGenerationOptionalParamsThe options parameters.
Get the current key block
Optional
options: GetCurrentKeyBlockOptionalParamsThe options parameters.
Get the hash of the current key block
Optional
options: GetCurrentKeyBlockHashOptionalParamsThe options parameters.
Get the height of the current key block
Optional
options: GetCurrentKeyBlockHeightOptionalParamsThe options parameters.
Get a generation by hash
The hash of the key block
Optional
options: GetGenerationByHashOptionalParamsThe options parameters.
Get a generation by height
The height
Optional
options: GetGenerationByHeightOptionalParamsThe options parameters.
Get the pubkeys for the configured hyperchain contracts for staking, election and rewards
Optional
options: GetHyperchainContractPubkeysOptionalParamsThe options parameters.
Get a key block by hash
The hash of the block - either a keyblock or a microblock
Optional
options: GetKeyBlockByHashOptionalParamsThe options parameters.
Get a key block by height
The height
Optional
options: GetKeyBlockByHeightOptionalParamsThe options parameters.
Get a micro block header by hash
The hash of the block - either a keyblock or a microblock
Optional
options: 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
Optional
options: GetMicroBlockTransactionByHashAndIndexOptionalParamsThe options parameters.
Get micro block transactions by hash
The hash of the micro block
Optional
options: GetMicroBlockTransactionsByHashOptionalParamsThe options parameters.
Get micro block transaction count by hash
The hash of the micro block
Optional
options: GetMicroBlockTransactionsCountByHashOptionalParamsThe options parameters.
Get name entry from naming system
The name key of the name entry
Optional
options: GetNameEntryByNameOptionalParamsThe options parameters.
Get name entry from naming system
The name hash of the name entry
Optional
options: 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
Optional
options: GetOracleByPubkeyOptionalParamsThe options parameters.
Get oracle queries by public key
The public key of the oracle
Optional
options: GetOracleQueriesByPubkeyOptionalParamsThe options parameters.
Get an oracle query by public key and query ID
The public key of the oracle
The ID of the query
Optional
options: GetOracleQueryByPubkeyAndQueryIdOptionalParamsThe options parameters.
Get peer public key
Optional
options: GetPeerPubkeyOptionalParamsThe options parameters.
Get pending account transactions by public key
The public key of the account
Optional
options: GetPendingAccountTransactionsByPubkeyOptionalParamsThe options parameters.
Get the pending key block
Optional
options: 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.
Optional
options: GetPinningTxOptionalParamsThe options parameters.
Get minimum gas prices in recent blocks
Optional
options: GetRecentGasPricesOptionalParamsThe options parameters.
Get the status of a node
Get the sync status of a node
Optional
options: GetSyncStatusOptionalParamsThe options parameters.
Get the top header (either key or micro block)
Optional
options: GetTopHeaderOptionalParamsThe options parameters.
Get a transaction by hash
The hash of the transaction
Optional
options: GetTransactionByHashOptionalParamsThe options parameters.
The hash of the transaction
Optional
options: GetTransactionInfoByHashOptionalParamsThe options parameters.
Post a new transaction
The new transaction
Optional
options: 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
Optional
options: ProtectedDryRunTxsOptionalParamsThe options parameters.