Objects and packages reference, endpoint descriptions, and links.
Objects are created and updated by packages (Move structs containing executable code - equivalents to smart contracts). Each object value is a struct with fields containing primitive types (such as integers and addresses), other objects, and non-object structs stored in the storage.
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: NFT, package, domain NFT, pool, or coin. |
getEntitiesCountByType | 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 Iota that execute custom logic. |
getPackagesCount | Get the total number of all packages on the Iota Network. |
getPackageById | Get package details by id. |