Object
An object in IOTA is a package (set of Move bytecode modules) or object (typed data structure with fields) with additional metadata detailing its id, version, transaction digest, owner field indicating how this object can be accessed.
type Object implements IObject, 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!
version: UInt53!
status: ObjectKind!
digest: String
owner: ObjectOwner
previousTransactionBlock: TransactionBlock
storageRebate: BigInt
receivedTransactionBlocks(
first: Int
after: String
last: Int
before: String
filter: TransactionBlockFilter
scanLimit: Int
): TransactionBlockConnection!
bcs: Base64
display: [DisplayEntry!]
dynamicField(
name: DynamicFieldName!
): DynamicField
dynamicObjectField(
name: DynamicFieldName!
): DynamicField
dynamicFields(
first: Int
after: String
last: Int
before: String
): DynamicFieldConnection!
asMoveObject: MoveObject
asMovePackage: MovePackage
}
Fields
Object.address
● IotaAddress!
non-null scalar
Object.objects
● MoveObjectConnection!
non-null object
Objects owned by this object, optionally filter
-ed.
Object.objects.first
● Int
scalar
Object.objects.after
● String
scalar
Object.objects.last
● Int
scalar
Object.objects.before
● String
scalar
Object.objects.filter
● ObjectFilter
input
Object.balance
● Balance
object
Total balance of all coins with marker type owned by this object. If
type is not supplied, it defaults to 0x2::iota::IOTA
.
Object.balance.type
● String
scalar
Object.balances
● BalanceConnection!
non-null object
The balances of all coin types owned by this object.