ObjectFilter
Constrains the set of objects returned. All filters are optional, and the resulting set of objects are ones whose
- Type matches the
type
filter, - AND, whose owner matches the
owner
filter, - AND, whose ID is in
objectIds
.
input ObjectFilter {
type: String
owner: SuiAddress
objectIds: [SuiAddress!]
}
Fields
ObjectFilter.type
● String
scalar
Filter objects by their type's package
, package::module
, or their fully qualified type
name.
Generic types can be queried by either the generic type name, e.g. 0x2::coin::Coin
, or by
the full type name, such as 0x2::coin::Coin<0x2::sui::SUI>
.
ObjectFilter.owner
● SuiAddress
scalar
Filter for live objects by their current owners.
ObjectFilter.objectIds
● [SuiAddress!]
list scalar
Filter for live objects by their IDs.
Member Of
objects
query