Transaction Blocks

Transaction blocks and inscriptions reference, endpoint descriptions and links.

Transaction Blocks and Inscriptions

Users can deploy any custom logic in packages - equivalents to smart contracts on Sui. Each package has a set of modules, each responsible for a particular piece of business logic. Transaction blocks are the instances of executing functions via packages.

Transaction blocks implement real-life use cases, such as transferring fungible and non-fungible tokens, staking, swapping, NFT or coin minting, etc. Such operations may contain smaller atomic transactions that execute a particular function.

Inscriptions are a special type of transaction containing some mandatory fields with information, such as text, images, or code, that launches the execution of a function without the need to deploy and call a smart contract. This makes inscriptions cheaper than regular transactions.

Suiscan keeps track of the most recent transaction blocks and inscriptions. Packages are to be found here.

To learn about the transaction flow on Sui, read this article.

We have accumulated a lot of on-chain and off-chain data about transaction blocks, inscriptions, and checkpoints.

The following endpoints are available for transaction blocks and inscriptions on Blockberry.

EndpointDescription
getRawTransactionByHashGet details of transaction blocks in a raw JSON format by hash.
getTransactionBlocksCountGet the total number of transaction blocks on the Sui Network. Transaction blocks are added in checkpoints and contain single transactions that execute atomic operations.
getTransactionsCountGet the total number of transactions on the Sui Network. Transactions are atomic units contained in transaction blocks that execute atomic operations.
getTransactionFunctionsGet a list of all existing transaction functions on the Sui Network. Functions are responsible for a particular piece of functionality contained in modules, which, in their turn, are deployed in packages.
getTransactionModulesGet a list of all transaction modules on the Sui Network. Modules are segments of packages responsible for a particular piece of functionality.
getTransactionBlocksGet a list of all transaction blocks. On Sui, transaction blocks are added in checkpoints and contain single transactions that execute atomic operations.
getInscriptionsGet the total number of inscriptions on the Sui Network. Inscriptions are transactions that involve content (images, NFTs, text) embedded in Sui objects. Originated on Bitcoin (ordinals) inscriptions allow to significantly cut gas fees and store data directly within transactions without using an off-chain storage.
getTransactionMetadataGet details of a transaction block like project name, Url link, symbol, pool coin details, etc.

Checkpoints

There are no blocks on the Sui Network. Transaction blocks are processed and validated in parallel and enter the storage. Checkpoints are equivalent to blocks on Sui. However, checkpoints are more like landmarks to count the epoch time than blocks. An epoch normally lasts for 24 hours.

Checkpoint Endpoints

The following endpoints are available for checkpoints on Blockberry.

EndpointDescription
getCheckpointsGet a list of all checkpoints on the Sui Network. On Sui, checkpoints are equivalent to blocks and contain transaction blocks.
getCheckpointsCountGet the total number of checkpoints on the Sui Network. On Sui, checkpoints are equivalent to blocks and contain transaction blocks.