Skip to main content

Module types

Module types 

Source
Expand description

Core Aptos types.

This module contains the fundamental types used throughout the SDK, including addresses, chain IDs, type tags, and hash values.

Modules§

event_types
Common event types in the Aptos framework.

Structs§

AccountAddress
A 32-byte Aptos account address.
AccountResource
The account resource stored at every account address.
ChainId
A chain identifier for an Aptos network.
CoinStoreResource
A coin store resource that holds a specific coin type.
CollectionData
Collection data for NFTs (v2).
EntryFunctionId
An entry function identifier (address::module::function).
Event
An event emitted during transaction execution.
EventGuid
A globally unique identifier for an event stream.
EventHandle
A handle to an event stream stored on chain.
EventKey
A unique identifier for an event stream.
FungibleAssetBalance
Fungible asset balance (for the new fungible asset standard).
FungibleAssetMetadata
Fungible asset metadata.
HashValue
A 32-byte cryptographic hash value.
Identifier
An identifier in Move (module name, function name, etc.).
MoveModuleId
A Move module identifier (address::module_name).
MoveResource
A Move resource (struct value with abilities).
MoveStruct
A Move struct value.
MoveType
A Move struct type from the API (with string representation).
StakePool
Stake pool resource.
StakingConfig
Staking config resource.
StructTag
A struct tag identifies a specific struct type in Move.
TokenData
Token data for NFTs (v2).
VersionedEvent
A versioned event from the indexer (includes transaction context).

Enums§

MoveValue
A Move value (for view function returns, etc.).
TypeTag
A type tag represents a Move type.

Constants§

ADDRESS_LENGTH
The length of an account address in bytes.
APT_COIN_STORE_TYPE
The APT coin store type string.
HASH_LENGTH
The length of a hash value in bytes.

Type Aliases§

MoveStructTag
Alias for StructTag used in some API responses.