跳转到内容

Indexer API 参考

Indexer API 通过 GraphQL 提供链上交易、NFT、Fungible Asset、委托质押和账户数据。可在 Indexer API 页面访问接口。

为确保查询高效,请查看每张表的索引。复合 B-tree 索引由多列组成,查询使用索引列的最左前缀时性能最佳。

以下表提供用户交易、区块元数据、账户交易、账本和处理器状态等通用数据。

Index NameIndexed Columns
user_transactions_pkeyversion
user_transactions_sender_sequence_number_keysender, sequence_number
ut_epoch_indexepoch
ut_insat_indexinserted_at
ut_sender_seq_indexsender, sequence_number
user_transactions_contract_info_indexentry_function_contract_address, entry_function_module_name, entry_function_function_name
Index NameIndexed Columns
block_metadata_transactions_block_height_keyblock_height
block_metadata_transactions_pkeyversion
bmt_insat_indexinserted_at
Index NameIndexed Columns
account_transactions_pkeyaccount_address, transaction_version
at_insat_indexinserted_at
at_version_indextransaction_version DESC
FieldTypePrimary KeyDescription
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
delegated_staking_activitiesJoinUse the Hasura explorer to see these sub-fields.
fungible_asset_activitiesJoinReferences fungible_asset_activities.
token_activitiesJoinUse the Hasura explorer to see these sub-fields.
token_activities_aggregateJoinUse the Hasura explorer to see these sub-fields.
token_activities_v2JoinReferences token_activities_v2.
token_activities_v2_aggregateJoinReferences token_activities_v2.
account_addressString!YesThis is an Aptos account address. Ex. “0x50bc83f01d48ab3b9c00048542332201ab9cbbea61bda5f48bf81dc506caa78a”
transaction_versionbigint!YesBlockchain version of the transaction. Ex. 10000000
FieldTypePrimary KeyDescription
chain_idintYesThe unique identifier for the chain you are accessing. Ex. 1 (for Mainnet), 2 (for Testnet), etc.
FieldTypePrimary KeyDescription
last_success_versionbigintYesThe version number of the last successful processor run. Ex. 5000000
last_transaction_timestampStringTimestamp of the last processed transaction. Ex. “2024-04-17T02:14:25.68771”
last_updatedStringTimestamp of the last update to this processor’s status. Ex. “2024-04-17T02:14:25.68771”
processorStringYesName of the processor. Ex. “transaction_processor”

以下表覆盖 NFT 活动、元数据、所有权、Token 数据和集合。

Index NameIndexed Columns
ta2_from_type_indexfrom_address, type
ta2_insat_indexinserted_at
ta2_owner_type_indexevent_account_address, type
ta2_tid_indextoken_data_id
ta2_to_type_indexto_address, type
token_activities_v2_pkeytransaction_version, event_index
FieldTypePrimary KeyDescription
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
aptos_names_fromJoinUse the Hasura explorer to see these sub-fields.
aptos_names_from_aggregateJoinUse the Hasura explorer to see these sub-fields.
aptos_names_toJoinUse the Hasura explorer to see these sub-fields.
aptos_names_to_aggregateJoinUse the Hasura explorer to see these sub-fields.
current_token_dataJoinUse the Hasura explorer to see these sub-fields.
after_valueStringThe value of a token property after the transaction. Ex. “100”
before_valueStringThe value of a token property before the transaction. Ex. “50”
entry_function_id_strStringThe identifier of the function called in this transaction. Ex. “0x1::aptos_account::transfer”
event_account_addressStringThis is an Aptos account address related to the event. This address must be 66 characters long, and so may be 0 padded. Ex. “0x50bc83f01d48ab3b9c00048542332201ab9cbbea61bda5f48bf81dc506caa78a”
event_indexbigintYesIndex of the event within the transaction. Ex. 1
from_addressStringThis is an Aptos account address from which the token was sent. This address must be 66 characters long, and so may be 0 padded. Ex. “0x50bc83f01d48ab3b9c00048542332201ab9cbbea61bda5f48bf81dc506caa78a”
is_fungible_v2BooleanIndicates whether the token is fungible. Soon to be deprecated. Ex. False for NFTs.
property_version_v1bigintThe version of the token’s properties under schema version 1. This field is only for token standard v1. It is always 0 for v2. Ex. 0
to_addressStringThis is an Aptos account address to which the token was sent. This address must be 66 characters long, and so may be 0 padded. Ex. “0x50bc83f01d48ab3b9c00048542332201ab9cbbea61bda5f48bf81dc506caa78a”
token_amountbigintThe amount of the token transferred in this activity. Ex. 3
token_data_idStringUnique identifier for this particular token’s data. For token standard v1, this is derived from a combination of creator_address, collection_name, and token_name. This ID must be 66 characters long, and so may be 0 padded. Ex. “0x50bc83f01d48ab3b9c00048542332201ab9cbbea61bda5f48bf81dc506caa78a”
token_standardStringAptos standard that the collection adheres to. Ex. “v1”
transaction_timestampStringTimestamp when the transaction occurred. Ex. “2024-04-17T02:14:25.68771”
transaction_versionbigintYesBlockchain version of the transaction. Ex. 10000000
typeStringType of transfer - like “deposit” or “withdrawal”. Ex. “0x3::token::DepositEvent”
FieldTypePrimary KeyDescription
animation_optimizer_retry_countIntNumber of retries to optimize animation. Ex. 3
asset_uriStringYesURI of the asset. Ex. “https://example.com/nft/123
cdn_animation_uriStringContent Delivery Network URI for animation. Ex. “https://cdn.example.com/animations/123
cdn_image_uriStringContent Delivery Network URI for image. Ex. “https://cdn.example.com/images/123
cdn_json_uriStringContent Delivery Network URI for JSON metadata. Ex. “https://cdn.example.com/metadata/123.json
raw_animation_uriStringOriginal URI for animation before CDN optimization. Ex. “https://example.com/raw/animations/123
raw_image_uriStringOriginal URI for image before CDN optimization. Ex. “https://example.com/raw/images/123
Index NameIndexed Columns
--------------------------------------------
nft_inserted_atinserted_at
nft_raw_animation_uriraw_animation_uri
nft_raw_image_uriraw_image_uri
parsed_asset_uris_pkeyasset_uri
FieldTypePrimary KeyDescription
composed_nfts_aggregateJoinAggregate information about the composed NFTs, such as count or other statistics.
current_token_dataJoinDetailed information about the token’s current data; structure is defined in a related table.
amountbigintThe amount of the token owned. Example: 1 for an NFT.
composed_nftsArrayAn array containing the IDs of NFTs that compose this token, if applicable.
is_fungible_v2BooleanIndicates whether the token is fungible. Example: true or null
is_soulbound_v2BooleanIndicates whether the token is soulbound (non-transferable once owned). Example: true or null
last_transaction_timestampStringTimestamp of the last transaction involving the token. Example: “2024-04-17T02:14:25.68771”
last_transaction_versionbigintThe version number of the last transaction involving the token. Example: 20747031
non_transferrable_by_ownerBooleanIndicates whether the token is non-transferrable by the owner. Example: true or null
owner_addressStringYesThe Aptos account address that currently owns the token. Addresses must be 66 characters so may be 0 padded. Example: “0xa815a9a09105973084bfc31530e7c8f002846787c2f0521e1e34dc144ad83b89”
property_version_v1bigintYesThe version number of the token’s properties as of the last update. This field is only for token standard v1. It is always 0 for v2. Example: 0
storage_idStringYesA unique identifier used for storage purposes. IDs must be 66 characters long, so may be 0 padded. Ex. “0xd8d41ff9f67d17d7dee061b5b683b92013b420cb6a30c21fc7c287454792d7a8”
table_type_v1StringThe Move function type. Example: “0x3::token::TokenStore”
token_data_idStringYesA unique identifier for the token data, typically a hash or a numeric ID. Ex. “0x3d911af2dc3e47848fbba17b8694cf526942be183b84f8393a6c048232fb976d”
token_properties_mutated_v1ObjectProperties of the token that have been mutated from the original. Often in JSON or similar format. Example:
token_standardStringThe standard used to generate this token. Ex. “v1” or “v2”
Index NameIndexed Columns
-------------------------------------------------------------------------------------------------------
curr_to2_insat_indexinserted_at
curr_to2_owner_indexowner_address
curr_to2_wa_indexstorage_id
current_token_ownerships_v2_pkeytoken_data_id, property_version_v1, owner_address, storage_id
FieldTypePrimary KeyDescription
cdn_asset_urisJoinUse the Hasura explorer to see these sub-fields.
current_collectionJoinUse the Hasura explorer to see these sub-fields.
current_token_ownershipsJoinUse the Hasura explorer to see these sub-fields.
current_token_ownerships_aggregateJoinUse the Hasura explorer to see these sub-fields.
aptos_nameStringThis is a name tied to this token using the Aptos Name Service (ANS). Ex. “EpicDragon”
collection_idStringYesIdentifier for the collection that includes this token. Ex. “0x360f6eeabb4d7a9d2fab1f35b01e02831e3b5c4b73c7fd6c98dcc1c301c817c8”
decimalsbigintNumber of decimal places for token value, typically for fungible tokens. Ex. 18
descriptionStringDescription of the token. Ex. “A legendary dragon from the mystical lands.”
is_fungible_v2BooleanWhether the token is fungible. Ex. False for NFTs
largest_property_version_v1bigintThe largest version number of the token’s properties under the first schema. Ex. 1
last_transaction_timestampbigintUnix timestamp of the last transaction involving this token. Ex. 2024-03-27T07:41:58.800893
last_transaction_versionbigintBlockchain version of the last transaction involving this token. Ex. 30000000
maximumbigintMaximum possible quantity of this token, relevant for fungibles. Ex. 1000000
supplybigintCurrent supply of the token in circulation. Ex. 500000
token_data_idStringUnique identifier for the token’s data. Ex. “0xa815a9a09105973084bfc31530e7c8f002846787c2f0521e1e34dc144ad83b89”
token_nameStringThe formal name of the token. Ex. “Mystic Dragon”
token_propertiesObjectUse the Hasura explorer to see these sub-fields.
token_standardStringAptos standard that the collection adheres to. Ex. “v1”
token_uriStringURI linking to further information about the token. Ex. “https://example.com/tokens/987654321
Index NameIndexed Columns
----------------------------------------------------------
cur_td2_cid_name_indexcollection_id, token_name
cur_td2_insat_indexinserted_at
current_token_datas_v2_pkeytoken_data_id
FieldTypePrimary KeyDescription
cdn_asset_urisJoinUse the Hasura explorer to see these sub-fields.
collection_idStringYesUnique identifier for the collection. IDs must be 66 characters long, and so may be 0 padded. Ex. “0xa815a9a09105973084bfc31530e7c8f002846787c2f0521e1e34dc144ad83b88”
collection_nameStringThe formal name of the collection. Ex. “Mythic Dragons”
creator_addressStringThis is an Aptos account address that created the collection. Addresses must be 66 characters long, and so may be 0 padded. Ex. “0x50bc83f01d48ab3b9c00048542332201ab9cbbea61bda5f48bf81dc506caa78a”
current_supplybigintCurrent supply of tokens in this collection. Ex. 500
descriptionStringDescription of the collection. Ex. “A collection of rare digital dragons.”
last_transaction_timestampStringTimestamp of the last transaction involving this collection. Ex. “2024-04-17T02:14:25.68771”
last_transaction_versionbigintBlockchain version of the last transaction involving this collection. Ex. 3000000002
max_supplybigintMaximum possible quantity of tokens in this collection. If the max supply is 0, there is no limit on the supply. Ex. 1000
mutable_descriptionStringChangeable description of the collection. Ex. “Updated collection description.”
mutable_uriBooleanTrue if the uri is changeable by the creator. Ex. True
table_handle_v1StringLegacy identifier handle for the collection in earlier schema versions. Ex. “handle_12345”
token_standardStringAptos standard that the collection adheres to. Ex. “v1”
total_minted_v2bigintTotal number of tokens minted in this collection under schema version 2. Ex. 800
uriStringThis is a URI to where the image live. This can also be JSON data. Ex. “https://example.com/collections/9876543210
Index NameIndexed Columns
----------------------------------------------------------------
cur_col2_crea_cn_indexcreator_address, collection_name
cur_col2_insat_indexinserted_at
current_collections_v2_pkeycollection_id
FieldTypePrimary KeyDescription
current_collectionJoinUse the Hasura explorer to see these sub-fields.
collection_idStringYesUnique identifier for the collection. IDs must be 66 characters long, and so may be 0 padded. Ex. “0xa815a9a09105973084bfc31530e7c8f002846787c2f0521e1e34dc144ad83b89”
collection_nameStringThe formal name of the collection. Ex. “Mythic Dragons”
collection_uriStringURI linking to further information about the collection. Ex. “https://example.com/collections/9876543210
creator_addressStringThis is an Aptos account address that created the collection. Addresses must be 66 characters long, and so may be 0 padded. Ex. “0x50bc83f01d48ab3b9c00048542332201ab9cbbea61bda5f48bf81dc506caa78a”
distinct_tokensbigintThe count of distinct tokens owned within this collection. Ex. 150
last_transaction_versionbigintThe version number of the last transaction involving this collection. Ex. 3000000002
owner_addressStringYesThis is an Aptos account address that currently owns the token. Addresses must be 66 characters long, and so may be 0 padded. Ex. “0x50bc83f01d48ab3b9c00048542332201ab9cbbea61bda5f48bf81dc506caa78a”
single_token_uriStringURI linking to information about a specific token within the collection. Ex. “https://example.com/tokens/9876543210
token_standardStringAptos standard that the collection adheres to. Ex. “v1”

以下表覆盖 Fungible Asset 的 metadata、活动和当前余额。

FieldTypePrimary KeyDescription
asset_typeStringYesThe type of the asset, described by a Move resource. Ex. “0x1::aptos_coin::AptosCoin”
creator_addressStringThis is an Aptos account address that created the asset. Addresses must be 66 characters long, and so may be 0 padded. Ex. “0x50bc83f01d48ab3b9c00048542332201ab9cbbea61bda5f48bf81dc506caa78a”
decimalsbigintNumber of decimal places for token value, typically for fungible tokens. Ex. 18
icon_uriStringURI for the icon of the asset. Ex. “https://cdn.example.com/icons/123
last_transaction_timestampStringTimestamp of the last transaction involving this asset. Ex. “2024-04-17T02:14:25.68771”
last_transaction_versionbigintBlockchain version of the last transaction involving this asset. Ex. 10000000
nameStringThe formal name of the asset. Ex. “Digital Gold”
project_uriStringURI linking to the project information associated with this asset. Ex. “https://www.example.com/project\_name/
supply_aggregator_table_handle_v1StringLegacy handle for the supply aggregator table from an earlier schema version. Ex. “handle_67890”
supply_aggregator_table_key_v1StringLegacy key for accessing the supply aggregator table in earlier schema versions. Ex. “key_12345”
symbolStringThe trading symbol of the asset. Ex. “DGOLD”
token_standardStringStandard that the asset adheres to. Ex. “v1”
Index NameIndexed Columns
-----------------------------------------------
fam_creator_indexcreator_address
fam_insat_indexinserted_at
fungible_asset_metadata_pkeyasset_type
FieldTypePrimary KeyDescription
owner_aptos_namesJoinReferences owner_aptos_names.
owner_aptos_names_aggregateJoinReferences owner_aptos_names.
amountbigintThe amount of the asset involved in the activity. Ex. 1000
asset_typeStringYesThe type of the asset, described by a Move resource. For fungible assets, this will be the address of the metadata object. Ex. “0x1::aptos_coin::AptosCoin”
block_heightbigintThe blockchain id at which this activity occurred. Ex. 1500000
entry_function_id_strStringThe identifier of the function called in this transaction. Ex. “0x1::aptos_account::transfer”
event_indexbigintIndex of the event within the transaction. Ex. 1
gas_fee_payer_addressStringThis is an Aptos account address that paid the gas fee for the transaction. Addresses must be 66 characters long, and so may be 0 padded. Ex. “0x50bc83f01d48ab3b9c00048542332201ab9cbbea61bda5f48bf81dc506caa78a”
is_frozenBooleanTrue if this activity is a freeze asset activity. Ex. null
is_gas_feeBooleanIndicates whether this activity involved a gas fee. Ex. True
is_transaction_successBooleanIndicates whether the transaction was successful. Ex. True
metadataObjectUse the Hasura explorer to see fields for metadata in this table.
owner_addressStringThis is an Aptos account address that owns the asset. Addresses must be 66 characters long, and so may be 0 padded. Ex. “0xa815a9a09105973084bfc31530e7c8f002846787c2f0521e1e34dc144ad83b89”
storage_idStringIdentifier for the storage used in the transaction. IDs must be 66 characters long, and so may be 0 padded. Ex. “0xa815a9a09105973084bfc31530e7c8f002846787c2f0521e1e34dc144ad83b89”
storage_refund_amountbigintAmount refunded for storage after the transaction. This is always in APT octas. Ex. 50
token_standardStringAptos standard that the collection adheres to. Ex. “v1”
transaction_timestampStringTimestamp when the transaction occurred. Ex. “2024-04-17T02:14:25.68771”
transaction_versionbigintBlockchain version of the transaction. Ex. 2
typeStringType of the transaction, described by a Move entry function. Ex. “0x1::coin::WithdrawEvent”
Index NameIndexed Columns
-------------------------------------------------------------------
faa_at_indexasset_type
faa_gfpa_indexgas_fee_payer_address
faa_insat_idxinserted_at
faa_owner_type_indexowner_address, type
faa_si_indexstorage_id
fungible_asset_activities_pkeytransaction_version, event_index
FieldTypePrimary KeyDescription
amountbigintThe amount of the asset owned. Ex. 2000
asset_typeStringThe type of the asset, described by a Move resource. For v2 tokens this is the address of the fungible asset metadata object. For v1 it’s the fully qualified path of the move resource. Ex. “0x1::aptos_coin::AptosCoin”
is_frozenBooleanIndicates whether the account is frozen. Ex. False
is_primaryBooleanIndicates whether this is the primary balance of the owner. Ex. True
last_transaction_timestampStringTimestamp of the last transaction involving this balance. Ex. “2024-04-17T02:14:25.68771”
last_transaction_versionbigintBlockchain version of the last transaction involving this balance. Ex. 30000000
metadataObjectUse the Hasura explorer to see fields for metadata in current_fungible_asset_balances.
owner_addressStringThis is an Aptos account address that owns the asset. Addresses must be 66 characters long, and so may be 0 padded. Ex. “0xa815a9a09105973084bfc31530e7c8f002846787c2f0521e1e34dc144ad83b89”
storage_idStringYesIdentifier for the storage associated with this balance. IDs must be 66 characters long, and so may be 0 padded. Ex. “0xa815a9a09105973084bfc31530e7c8f002846787c2f0521e1e34dc144ad83b89”
token_standardStringAptos standard that the collection adheres to. Ex. “v1”
Index NameIndexed Columns
----------------------------------------------------------------------------
cufab_insat_indexinserted_at
cufab_owner_at_indexowner_address, asset_type
current_unified_fungible_asset_balances_pkeystorage_id

以下表覆盖委托质押池、投票者、委托人余额和活动。

FieldTypePrimary KeyDescription
staking_pool_addressStringYesThe address of the delegation pool.
total_coinsbigintAmount of APT in the staking pool.
total_sharesbigintThe total number of shares in the delegation pool.
operator_commission_percentagebigintThe commission percentage taken by the staking pool operator.
inactive_table_handleStringThe table handle for the inactive table.
active_table_handleStringThe table handle for the active table.
last_transaction_versionint8Transaction version (identifier) for the last transaction involving this staking pool.
inserted_atStringThe timestamp when the record was inserted.
Index NameIndexed Columns
-----------------------------------------------------------------------
current_delegated_staking_pool_balances_pkeystaking_pool_address
FieldTypePrimary KeyDescription
delegation_pool_addressStringYesThe address of the delegation pool.
delegator_addressStringYesThe address of the delegator.
table_handleStringThe table handle tracking this position.
voterStringThe address of the current voter in the delegation pool.
pending_voterStringThe address of the pending voter awaiting confirmation.
last_transaction_versionbigintThe transaction version (identifier) of the last transaction involving this delegation.
last_transaction_timestampTimestampThe block timestamp of the last transaction involving this delegation.
inserted_atTimestampThe timestamp when the record was inserted into the database.
Index NameIndexed Columns
----------------------------------------------------------------------------
current_delegated_voter_pkeydelegation_pool_address, delegator_address
cdv_da_indexdelegator_address
FieldTypePrimary KeyDescription
delegator_addressStringYesThe address of the delegator.
pool_addressStringThe address of the delegator pool.
pool_typeStringIf the shares are active or inactive
table_handleStringThe table handle for the pool.
sharesbigintThe number of shares in the pool.
parent_table_handleStringThe table handle for the parent table.
last_transaction_versionbigintTransaction version (identifier) for the last transaction involving this staking pool.
inserted_atTimestampThe timestamp when the record was inserted.
Index NameIndexed Columns
----------------------------------------------------------------------------------------------
current_delegator_balances_pkeydelegator_address, pool_address, pool_type, table_handle
FieldTypePrimary KeyDescription
staking_pool_addressStringYesThe address of the staking pool.
voter_addressStringThe address of the voter.
operator_addressStringThe address of the operator.
last_transaction_versionbigintTransaction version (identifier) for the last transaction involving this staking pool.
inserted_atTimestampThe timestamp when the record was inserted.
Index NameIndexed Columns
---------------------------------------------------------
current_staking_pool_voter_pkeystaking_pool_address
ctpv_va_indexvoter_address
ctpv_insat_indexinserted_at
FieldTypePrimary KeyDescription
transaction_versionbigintTransaction version (identifier) for activity
event_indexbigintThe index of the event. Ex. 1
delegator_addressStringThe address of the delegator.
pool_addressStringThe address of the pool.
event_typeStringDistributeRewards, AddStake, UnlikeStake, ReactiveStake, WithdrawStake
amountbigintThe amount being staked. Ex. 1000
inserted_atTimestampThe timestamp when the record was inserted.
Index NameIndexed Columns
---------------------------------------------------------------------------------------------------------
delegated_staking_activities_pkeytransaction_version, event_index
dsa_pa_da_indexpool_address, delegator_address, transaction_version, event_index
dsa_insat_indexinserted_at
FieldTypePrimary KeyDescription
transaction_versionbigintTransaction version (identifier) for activity
staking_pool_addressStringThe address of the delegation pool.
total_coinsbigintAmount of APT in the staking pool.
total_sharesbigintThe total number of shares in the delegation pool.
operator_commission_percentagebigintThe commission percentage taken by the staking pool operator.
inactive_table_handleStringThe table handle for the inactive table.
active_table_handleStringThe table handle for the active table.
inserted_atStringThe timestamp when the record was inserted.
Index NameIndexed Columns
------------------------------------------------------------------------------------
delegated_staking_pool_balances_pkeytransaction_version, staking_pool_address
FieldTypePrimary KeyDescription
staking_pool_addressStringThe address of the staking pool.
first_transaction_versionbigintThe version number of the first transaction involving this pool. Ex. 5000000
inserted_atTimestampThe timestamp when the record was inserted.
Index NameIndexed Columns
-----------------------------------------------------
delegated_staking_pools_pkeystaking_pool_address
FieldTypePrimary KeyDescription
transaction_versionbigintThe version number of the transaction. Ex. 5000000
write_set_change_indexbigintThe index of the write set change. Ex. 1
delegator_addressStringThe address of the delegator.
pool_addressStringThe address of the delegator pool.
pool_typeStringThe type of the pool. Ex. “delegated”
table_handleStringThe table handle for the pool.
sharesbigintThe number of shares in the pool.
parent_table_handleStringThe table handle for the parent table.
inserted_atTimestampThe timestamp when the record was inserted.
Index NameIndexed Columns
------------------------------------------------------------------------
delegator_balances_pkeytransaction_version, write_set_change_index

以下表提供 Aptos 名称和名称查找数据。

FieldTypePrimary KeyDescription
domainStringThe domain associated with this Aptos name. Ex. “example.crypto”
domain_with_suffixStringThe full domain name including any suffix. Ex. “example.crypto.aptos”
expiration_timestampStringTimestamp when the domain registration expires. Ex. “2024-04-17T02:14:25.68771”
is_activeBooleanIndicates whether the domain is currently active. Ex. True
is_domain_ownerBooleanIndicates whether the registered address is the owner of the domain. Ex. False
is_primaryBooleanIndicates whether this is the primary domain for the registered address. Ex. True
last_transaction_versionbigintThe version number of the last transaction involving this domain. Ex. 5000000
owner_addressStringThis is an Aptos account address that owns the domain. Addresses must be 66 characters long, and so may be 0 padded. Ex. “0x123abc456def7890abcdef1234567890abcdef1234”
registered_addressStringThis is an Aptos account address registered to the domain. Addresses must be 66 characters long, and so may be 0 padded. Ex. “0x50bc83f01d48ab3b9c00048542332201ab9cbbea61bda5f48bf81dc506caa78a”
subdomainStringAny subdomain part of the domain name. Ex. “sub.example”
token_nameStringThe name of the token associated with this domain. Ex. “ExampleToken”
token_standardStringAptos standard that the collection adheres to. Ex. “v1”
FieldTypePrimary KeyDescription
domainStringYesThe domain associated with this Aptos name. Ex. “example.crypto”
expiration_timestampStringTimestamp when the domain registration expires. Ex. “2024-04-17T02:14:25.68771”
is_deletedBooleanIndicates whether the domain registration has been deleted. Ex. False
last_transaction_versionbigintThe version number of the last transaction involving this domain. Ex. 5000000
registered_addressStringThis is an Aptos account address registered to the domain. Addresses must be 66 characters long, and so may be 0 padded. Ex. “0x50bc83f01d48ab3b9c00048542332201ab9cbbea61bda5f48bf81dc506caa78a”
subdomainStringYesAny subdomain part of the domain name. Ex. “sub.example”
token_nameStringThe name of the token associated with this domain. Ex. “ExampleToken”
token_standardStringYesAptos standard that the collection adheres to. Ex. “v1”
Index NameIndexed Columns
----------------------------------------------------------------
ans_v2_et_indexexpiration_timestamp
ans_v2_insat_indexinserted_at
ans_v2_ra_indexregistered_address
ans_v2_tn_indextoken_name, token_standard
current_ans_lookup_v2_pkeydomain, subdomain, token_standard

以下表已计划弃用或已经弃用。若当前依赖这些表,请按照说明迁移到替代表或数据源;不要在生产服务中使用这些表。

说明
address_version_from_move_resources替换为 account_transactions
address_events_summary如需查询自定义事件,请创建 No-Code Indexer
address_version_from_events如需查询自定义事件,请创建 No-Code Indexer
coin_activities替换为 fungible_asset_activities
coin_balances替换为 current_fungible_asset_balances
coin_infos替换为 fungible_asset_metadata
coin_supply没有替代表;非实时 APT Coin 供应量可通过此查询获取
collection_datas替换为 current_collections_v2
current_ans_lookup替换为 current_ans_lookup_v2
current_coin_balances替换为 current_fungible_asset_balances
current_collection_datas替换为 current_collections_v2
current_token_datas替换为 current_token_datas_v2
current_token_ownerships替换为 current_token_ownerships_v2
events_view如需查询自定义事件,请创建 No-Code Indexer
move_resources替换为 account_transactions
move_resources_view替换为 account_transactions
nft_marketplace_v2_*没有直接替代表;通过 Indexer API 查询市场活动
token_activities替换为 token_activities_v2
token_datas替换为 current_token_datas_v2
token_ownerships替换为 current_token_ownerships_v2
tokens替换为 current_token_datas_v2
transactions没有替代表;非实时数据可通过 BigQuery 获取
transactions_view没有替代表;非实时数据可通过 BigQuery 获取