Skip to main content

REST tools

note

We are currently updating this documentation. While it offers a general overview, some details may be outdated. Please check back soon for the latest version.

Using the REST web tools, users can perform HTTP-based interactions with the blockchain to access vital information. This includes querying transaction records, inspecting block data, reviewing the blockchain’s current state, fetching configuration settings, and other related details.

Postchain API usage

The Postchain REST tool doesn't require installation, as it can be used directly in a web browser to send requests and receive responses.

The REST tool offers the following groups of APIs, each containing a set of underlying methods available for use:

BlockBlockchainConfigurationErrorExperimentalNodeQueryTransaction
Fetch blocks infoFetch height of next block to be built/syncedFetch blockchain configurationFetch blockchain errorsFetch current state of blockchain nodeQuery node EBFT statusMake querySubmit transaction
Fetch block info by block RIDGet API version for the subnodeValidate blockchain configurationQuery all nodes EBFT statusesMake web queryFetch list of waiting transaction RIDs
Fetch block info by block heightFetch the next blockchain configuration heightGet blockchain RIDMake a query with GTV encoded responseFetch waiting transaction
Confirm block by block RIDFetch the blockchain configuration featuresGet API versionMake a GTV encoded queryFetch list of rejected transactions
Get infrastructure versionFetch transaction
Get infrastructure version for the subnodeFetch transaction info
Check anchoring status for a blockchainFetch transactions info
Fetch number of successful transactions
Fetch transaction confirmation proof
Fetch transaction status