Class: AptosCoinInfoDto
moralis-monorepo / @moralisweb3/common-aptos-utils / AptosCoinInfoDto
Class: AptosCoinInfoDto
@moralisweb3/common-aptos-utils.AptosCoinInfoDto
Table of contents
Methods
Properties
- coinType
- coinTypeHash
- creatorAddress
- decimals
- name
- supplyAggregatorTableHandle
- supplyAggregatorTableKey
- symbol
- transactionCreatedTimestamp
- transactionVersionCreated
Methods
create
▸ Static create(input): AptosCoinInfoDto
Parameters
| Name | Type |
|---|---|
input | AptosCoinInfoDtoInput | AptosCoinInfoDto |
Returns
fromJSON
▸ Static fromJSON(json): AptosCoinInfoDto
Parameters
| Name | Type |
|---|---|
json | AptosCoinInfoDtoJSON |
Returns
toJSON
▸ toJSON(): AptosCoinInfoDtoJSON
Returns
Properties
coinType
• Readonly coinType: string
Description
The definition of the coin structure (identifier)
coinTypeHash
• Readonly coinTypeHash: string
Description
The hash of the coin_type (identifier) and a known fixed length
creatorAddress
• Readonly creatorAddress: AptosAddress
Description
The address of the creator of the coin
decimals
• Readonly decimals: number
Description
The number of decimals of the coin
name
• Readonly name: string
Description
The name of the Coin
supplyAggregatorTableHandle
• Readonly supplyAggregatorTableHandle: string
Description
The data structure of the token
supplyAggregatorTableKey
• Readonly supplyAggregatorTableKey: string
Description
The data structure of the token
symbol
• Readonly symbol: string
Description
The symbol of the coin
transactionCreatedTimestamp
• Readonly transactionCreatedTimestamp: string
Description
The timestamp of the transaction of when the coin was created
transactionVersionCreated
• Readonly transactionVersionCreated: string
Description
The version of the transaction where the coin was created