Skip to main content

IAddressable

Interface implemented by GraphQL types representing entities that are identified by an address.

An address uniquely represents either the public key of an account, or an object's ID, but never both. It is not possible to determine which type an address represents up-front. If an object is wrapped, its contents will not be accessible via its address, but it will still be possible to access other objects it owns.

interface IAddressable {
address: SuiAddress!
objects(
first: Int
after: String
last: Int
before: String
filter: ObjectFilter
): MoveObjectConnection
}

Fields

IAddressable.address ● SuiAddress! non-null scalar

IAddressable.objects ● MoveObjectConnection object

Objects owned by this address, optionally filtered by type.

IAddressable.objects.first ● Int scalar
IAddressable.objects.after ● String scalar
IAddressable.objects.last ● Int scalar
IAddressable.objects.before ● String scalar
IAddressable.objects.filter ● ObjectFilter input

Implemented By

Address object ● MoveObject object ● MovePackage object ● Object object