Owner
An Owner is an entity that can own an object. Each Owner is identified by a IotaAddress which represents either an Address (corresponding to a public key of an account) or an Object, but never both (it is not known up-front whether a given Owner is an Address or an Object).
type Owner implements IOwner {
address: IotaAddress!
objects(
first: Int
after: String
last: Int
before: String
filter: ObjectFilter
): MoveObjectConnection!
balance(
type: String
): Balance
balances(
first: Int
after: String
last: Int
before: String
): BalanceConnection!
coins(
first: Int
after: String
last: Int
before: String
type: String
): CoinConnection!
stakedIotas(
first: Int
after: String
last: Int
before: String
): StakedIotaConnection!
asAddress: Address
asObject: Object
dynamicField(
name: DynamicFieldName!
): DynamicField
dynamicObjectField(
name: DynamicFieldName!
): DynamicField
dynamicFields(
first: Int
after: String
last: Int
before: String
): DynamicFieldConnection!
}
Fields
Owner.address
● IotaAddress!
non-null scalar
Owner.objects
● MoveObjectConnection!
non-null object
Objects owned by this object or address, optionally filter
-ed.
Owner.objects.first
● Int
scalar
Owner.objects.after
● String
scalar
Owner.objects.last
● Int
scalar
Owner.objects.before
● String
scalar
Owner.objects.filter
● ObjectFilter
input
Owner.balance
● Balance
object
Total balance of all coins with marker type owned by this object or
address. If type is not supplied, it defaults to 0x2::iota::IOTA
.
Owner.balance.type
● String
scalar
Owner.balances
● BalanceConnection!
non-null object
The balances of all coin types owned by this object or address.