Skip to main content

aptos_sdk/types/
mod.rs

1//! Core Aptos types.
2//!
3//! This module contains the fundamental types used throughout the SDK,
4//! including addresses, chain IDs, type tags, and hash values.
5
6mod address;
7mod chain_id;
8mod events;
9mod hash;
10mod move_types;
11mod resources;
12
13pub use address::{ADDRESS_LENGTH, AccountAddress};
14pub use chain_id::ChainId;
15pub use events::{
16    Event, EventGuid, EventHandle, EventKey, VersionedEvent, framework as event_types,
17};
18pub use hash::{HASH_LENGTH, HashValue};
19pub use move_types::{
20    EntryFunctionId, Identifier, MoveModuleId, MoveResource, MoveStruct, MoveStructTag, MoveType,
21    MoveValue, StructTag, TypeTag,
22};
23pub use resources::{
24    APT_COIN_STORE_TYPE, AccountResource, CoinStoreResource, CollectionData, FungibleAssetBalance,
25    FungibleAssetMetadata, StakePool, StakingConfig, TokenData,
26};