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 key block
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 micro block
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 this node's local policy settings. These are not consensus rules: they are operator configuration, they may differ between nodes, and an operator can change them at runtime. min_miner_gas_price is a decimal string; the other values are JSON numbers, or strings when int-as-string=true.
Optionaloptions: GetNodeSettingsOptionalParamsThe options parameters.
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 the consensus protocol parameters needed to build valid transactions. Covers the protocol effective at the current top block and any later protocol whose fork height has not been reached yet; a community fork under signalling is reported only once it has activated, since until then it may still fail to. See /node-settings for this node's local policy. Aettos amounts (minimum_gas_price, name_claim_fees, name_claim_locked_fee) are always decimal strings, never JSON numbers: the largest name fee is about 2^69 and would lose precision in an IEEE-754 client. Gas, key block heights, counts and version numbers are JSON numbers; pass int-as-string=true to receive those as strings too.
Optionaloptions: GetProtocolParametersOptionalParamsThe 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. Gas defaults to 1000000 when not set on a call request; total gas per request is capped by a node-configured limit. FATE contract-storage reads are metered at a size-proportional gas cost, so reported gas is an estimate of the on-chain cost, not an exact figure. Reported gas is never below what the same call costs on chain at the currently activated protocol, because each repriced storage register read is floored at that charge.
transactions
Optionaloptions: ProtectedDryRunTxsOptionalParamsThe options parameters.