Blockchain API
Learn about basic blockchain API
Last updated
Learn about basic blockchain API
Last updated
blockchain
root type is API that includes such basic real-time data as:
(coming soon) accounts - allows to paginate accounts by deploy time or init time, filtering by code_hash
This API is truly a Graph-oriented API .
We followed GraphQL best practices and implemented Relay Cursor Connections Specification for pagination for all lists. You can read more here https://relay.dev/graphql/connections.htm
Note: With GraphQL API 1.0 migration by default Blockchain API provides blocks, transactions and messages data only for the past 7 days. For use cases where earlier data is needed make sure to use the archive: true
flag in blockchain
query filters. Do not however use it, if archive data isn't required, as it will generate unnecessary load.
Accounts data is still available in full. You do not need the archive
flag to get data of accounts created more than 7 days ago.