CoinMetadata
The metadata for a coin type.
type CoinMetadata implements IMoveObject, IObject, IOwner {
address: SuiAddress!
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!
stakedSuis(
first: Int
after: String
last: Int
before: String
): StakedSuiConnection!
defaultSuinsName(
format: DomainFormat
): String
suinsRegistrations(
first: Int
after: String
last: Int
before: String
): SuinsRegistrationConnection!
version: Int!
status: ObjectKind!
digest: String
owner: ObjectOwner
previousTransactionBlock: TransactionBlock
storageRebate: BigInt
receivedTransactionBlocks(
first: Int
after: String
last: Int
before: String
filter: TransactionBlockFilter
): TransactionBlockConnection!
bcs: Base64
contents: MoveValue
hasPublicTransfer: Boolean!
display: [DisplayEntry!]
dynamicField(
name: DynamicFieldName!
): DynamicField
dynamicObjectField(
name: DynamicFieldName!
): DynamicField
dynamicFields(
first: Int
after: String
last: Int
before: String
): DynamicFieldConnection!
decimals: Int
name: String
symbol: String
description: String
iconUrl: String
supply: BigInt
}
Fields
CoinMetadata.address
● SuiAddress!
non-null scalar
CoinMetadata.objects
● MoveObjectConnection!
non-null object
Objects owned by this object, optionally
filter
-ed.
CoinMetadata.objects.first
●Int
scalar
CoinMetadata.objects.after
● String
scalar
CoinMetadata.objects.last
● Int
scalar
CoinMetadata.objects.before
● String
scalar
CoinMetadata.objects.filter
● ObjectFilter
input
CoinMetadata.balance
● Balance
object
Total balance of all coins with marker type owned by this object. If type is not supplied, it defaults to
0x2::sui::SUI
.
CoinMetadata.balance.type