Skip to main content
⚠️ This is the beta version of the Sui GraphQL schema. The beta schema will replace the alpha GraphQL schema upon its official release.

multiGetObjects

Fetch objects by their keys.

Returns a list of objects that is guaranteed to be the same length as keys. If an object in keys could not be found in the store, its corresponding entry in the result will be null. This could be because the object never existed, or because it was pruned.

multiGetObjects(
keys: [ObjectKey!]!
): [Object]!

Arguments

multiGetObjects.keys ● [ObjectKey!]! non-null input

Type

Object object

An Object on Sui is either a typed value (a Move Object) or a Package (modules containing functions and types).

Every object on Sui is identified by a unique address, and has a version number that increases with every modification. Objects also hold metadata detailing their current owner (who can sign for access to the object and whether that access can modify and/or delete the object), and the digest of the last transaction that modified the object.