Objects and packages reference, endpoint descriptions, and links.
Objects
Objects are created and updated by packages. Each object value is a struct with fields containing primitive types (such as integers and addresses), other objects, and non-object structs.
We track all objects owned by accounts or created (updated) as a result of running transactions.
The following endpoints are available for objects on Blockberry.
Endpoint | Description |
---|---|
getObjectMetadata | Get the metadata (type, name, image, project name and image, etc.) of the queried object. |
getObjectTransactionsByHash | Get a list of all transaction blocks run with an object by hash. |
getEntitesCountByType | Get the total number of entities of the queried type. |
Packages
Any account on Iota can publish a package (smart contract) to execute the required functionality. Packages consist of modules that execute functions - parts of a more general business logic. Like any other object on Iota, a package has a version field. Anytime a change is made to a package, it is incremented by 1.
You can view data about packages, modules, and functions on Iotascan.
The following endpoints are available for packages on Blockberry.
Endpoint | Description |
---|---|
getPackages | Get a list of all packages on the Iota Network. Packages are smart contracts on Sui that execute custom logic. |
getPackagesCount | Get the total number of all packages on the Iota Network. |
getPackageById | Get package details by ID. |