CoinMetadata
The metadata for a coin type.
type CoinMetadata implements IMoveObject, 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!
iotaNamesDefaultName(
format: NameFormat
): String
iotaNamesRegistrations(
first: Int
after: String
last: Int
before: String
): NameRegistrationConnection!
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
contents: MoveValue
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Β βΒ IotaAddress! 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::iota::IOTA.
CoinMetadata.balance.typeΒ βΒ String scalarβ
CoinMetadata.balancesΒ βΒ BalanceConnection! non-null objectβ
The balances of all coin types owned by this object.
CoinMetadata.balances.firstΒ βΒ Int scalarβ
CoinMetadata.balances.afterΒ βΒ String scalarβ
CoinMetadata.balances.lastΒ βΒ Int scalarβ
CoinMetadata.balances.beforeΒ βΒ String scalarβ
CoinMetadata.coinsΒ βΒ CoinConnection! non-null objectβ
The coin objects for this object.
type is a filter on the coin's type parameter, defaulting to
0x2::iota::IOTA.
CoinMetadata.coins.firstΒ βΒ Int scalarβ
CoinMetadata.coins.afterΒ βΒ String scalarβ
CoinMetadata.coins.lastΒ βΒ Int scalarβ
CoinMetadata.coins.beforeΒ βΒ String scalarβ
CoinMetadata.coins.typeΒ βΒ String scalarβ
CoinMetadata.stakedIotasΒ βΒ StakedIotaConnection! non-null objectβ
The 0x3::staking_pool::StakedIota objects owned by this object.
CoinMetadata.stakedIotas.firstΒ βΒ Int scalarβ
CoinMetadata.stakedIotas.afterΒ βΒ String scalarβ
CoinMetadata.stakedIotas.lastΒ βΒ Int scalarβ
CoinMetadata.stakedIotas.beforeΒ βΒ String scalarβ
CoinMetadata.iotaNamesDefaultNameΒ βΒ String scalarβ
The name explicitly configured as the default name pointing to this object.
CoinMetadata.iotaNamesDefaultName.formatΒ βΒ NameFormat enumβ
CoinMetadata.iotaNamesRegistrationsΒ βΒ NameRegistrationConnection! non-null objectβ
The NameRegistration NFTs owned by this object. These grant the owner the capability to manage the associated name.
CoinMetadata.iotaNamesRegistrations.firstΒ βΒ Int scalarβ
CoinMetadata.iotaNamesRegistrations.afterΒ βΒ String scalarβ
CoinMetadata.iotaNamesRegistrations.lastΒ βΒ Int scalarβ
CoinMetadata.iotaNamesRegistrations.beforeΒ βΒ String scalarβ
CoinMetadata.versionΒ βΒ UInt53! non-null scalarβ
CoinMetadata.statusΒ βΒ ObjectKind! non-null enumβ
The current status of the object as read from the off-chain store. The possible states are:
- NOT_INDEXED: The object is loaded from serialized data, such as the contents of a genesis or system package upgrade transaction.
- INDEXED: The object is retrieved from the off-chain index and represents the most recent or historical state of the object.
CoinMetadata.digestΒ βΒ String scalarβ
32-byte hash that identifies the object's contents, encoded as a Base58 string.
CoinMetadata.ownerΒ βΒ ObjectOwner unionβ
The owner type of this object: Immutable, Shared, Parent, Address
CoinMetadata.previousTransactionBlockΒ βΒ TransactionBlock objectβ
The transaction block that created this version of the object.
CoinMetadata.storageRebateΒ βΒ BigInt scalarβ
The amount of IOTA we would rebate if this object gets deleted or mutated. This number is recalculated based on the present storage gas price.
CoinMetadata.receivedTransactionBlocksΒ βΒ TransactionBlockConnection! non-null objectβ
The transaction blocks that sent objects to this object.
scanLimit restricts the number of candidate transactions scanned when
gathering a page of results. It is required for queries that apply
more than two complex filters (on function, kind, sender, recipient,
input object, changed object, or ids), and can be at most
serviceConfig.maxScanLimit.
When the scan limit is reached the page will be returned even if it has
fewer than first results when paginating forward (last when
paginating backwards). If there are more transactions to scan,
pageInfo.hasNextPage (or pageInfo.hasPreviousPage) will be set to
true, and PageInfo.endCursor (or PageInfo.startCursor) will be set
to the last transaction that was scanned as opposed to the last (or
first) transaction in the page.
Requesting the next (or previous) page after this cursor will resume the
search, scanning the next scanLimit many transactions in the
direction of pagination, and so on until all transactions in the
scanning range have been visited.
By default, the scanning range includes all transactions known to
GraphQL, but it can be restricted by the after and before
cursors, and the beforeCheckpoint, afterCheckpoint and
atCheckpoint filters.
CoinMetadata.receivedTransactionBlocks.firstΒ βΒ Int scalarβ
CoinMetadata.receivedTransactionBlocks.afterΒ βΒ String scalarβ
CoinMetadata.receivedTransactionBlocks.lastΒ βΒ Int scalarβ
CoinMetadata.receivedTransactionBlocks.beforeΒ βΒ String scalarβ
CoinMetadata.receivedTransactionBlocks.filterΒ βΒ TransactionBlockFilter inputβ
CoinMetadata.receivedTransactionBlocks.scanLimitΒ βΒ Int scalarβ
CoinMetadata.bcsΒ βΒ Base64 scalarβ
The Base64-encoded BCS serialization of the object's content.
CoinMetadata.contentsΒ βΒ MoveValue objectβ
Displays the contents of the Move object in a JSON string and through GraphQL types. Also provides the flat representation of the type signature, and the BCS of the corresponding data.
CoinMetadata.displayΒ βΒ [DisplayEntry!] list objectβ
The set of named templates defined on-chain for the type of this object, to be handled off-chain. The server substitutes data from the object into these templates to generate a display string per template.
CoinMetadata.dynamicFieldΒ βΒ DynamicField objectβ
Access a dynamic field on an object using its name. Names are arbitrary
Move values whose type have copy, drop, and store, and are
specified using their type, and their BCS contents, Base64 encoded.
Dynamic fields on wrapped objects can be accessed by using the same API under the Owner type.
CoinMetadata.dynamicField.nameΒ βΒ DynamicFieldName! non-null inputβ
CoinMetadata.dynamicObjectFieldΒ βΒ DynamicField objectβ
Access a dynamic object field on an object using its name. Names are
arbitrary Move values whose type have copy, drop, and store,
and are specified using their type, and their BCS contents, Base64
encoded. The value of a dynamic object field can also be accessed
off-chain directly via its address (e.g. using Query.object).
Dynamic fields on wrapped objects can be accessed by using the same API under the Owner type.
CoinMetadata.dynamicObjectField.nameΒ βΒ DynamicFieldName! non-null inputβ
CoinMetadata.dynamicFieldsΒ βΒ DynamicFieldConnection! non-null objectβ
The dynamic fields and dynamic object fields on an object.
Dynamic fields on wrapped objects can be accessed by using the same API under the Owner type.
CoinMetadata.dynamicFields.firstΒ βΒ Int scalarβ
CoinMetadata.dynamicFields.afterΒ βΒ String scalarβ
CoinMetadata.dynamicFields.lastΒ βΒ Int scalarβ
CoinMetadata.dynamicFields.beforeΒ βΒ String scalarβ
CoinMetadata.decimalsΒ βΒ Int scalarβ
The number of decimal places used to represent the token.
CoinMetadata.nameΒ βΒ String scalarβ
Full, official name of the token.
CoinMetadata.symbolΒ βΒ String scalarβ
The token's identifying abbreviation.
CoinMetadata.descriptionΒ βΒ String scalarβ
Optional description of the token, provided by the creator of the token.
CoinMetadata.iconUrlΒ βΒ String scalarβ
CoinMetadata.supplyΒ βΒ BigInt scalarβ
The overall quantity of tokens that will be issued.
Interfacesβ
IMoveObject interfaceβ
This interface is implemented by types that represent a Move object on-chain
(A Move value whose type has key).
IObject interfaceβ
Interface implemented by on-chain values that are addressable by an ID (also referred to as its address). This includes Move objects and packages.
IOwner interfaceβ
Interface implemented by GraphQL types representing entities that can own objects. Object owners are identified by an address which can represent either the public key of an account or another object. The same address can only refer to an account or an object, never both, but it is not possible to know which up-front.
Returned Byβ
coinMetadata query
Member Ofβ
MoveObject object