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!
addressAt(
rootVersion: UInt53
checkpoint: UInt53
): Address
balance(
coinType: String!
): Balance
balances(
first: Int
after: String
last: Int
before: String
): BalanceConnection
defaultNameRecord: NameRecord
multiGetBalances(
keys: [String!]!
): [Balance!]
objects(
first: Int
after: String
last: Int
before: String
filter: ObjectFilter
): MoveObjectConnection
}
Fields
IAddressable.address ● SuiAddress! non-null scalar
IAddressable.addressAt ● Address object
Fetch the address as it was at a different root version, or checkpoint.
If no additional bound is provided, the address is fetched at the latest checkpoint known to the RPC.
IAddressable.addressAt.rootVersion ● UInt53 scalar
IAddressable.addressAt.checkpoint ● UInt53 scalar
IAddressable.balance ● Balance object
Fetch the total balance for coins with marker type coinType (e.g. 0x2::sui::SUI), owned by this address.
If the address does not own any coins of that type, a balance of zero is returned.