URL of the Aptos Indexer API endpoint.
Queries an account coin data
GetAccountCoinsDataQuery response type
Owner address
Optional
options: PaginationArgsQueries an Aptos account's NFTs by owner address
GetAccountCurrentTokensQuery response type
Hex-encoded 32 byte Aptos account address
Optional
options: PaginationArgsGets the count of tokens owned by an account
AccountTokensCountQuery response type
Owner address
Gets the count of transactions submitted by an account
GetAccountTransactionsCountQuery response type
Queries an account transactions data
GetAccountTransactionsDataQuery response type
Optional
options: PaginationArgsQueries a collection address.
the collection address
the collection creator address
the collection name
Optional
extraArgs: { Optional
tokenQueries data of a specific collection by the collection creator address and the collection name.
if, for some reason, a creator account has 2 collections with the same name in v1 and v2,
can pass an optional tokenStandard
parameter to query a specific standard
GetCollectionDataQuery response type
the collection creator address
the collection name
Optional
extraArgs: { Optional
options?: PaginationArgsOptional
tokenQueries for all collections that an account has tokens for.
GetCollectionsWithOwnedTokensQuery response type
the account address that owns the tokens
Optional
extraArgs: { Optional
options?: PaginationArgsOptional
tokenQueries delegated staking activities
GetDelegatedStakingActivitiesQuery response type
Delegator address
Pool address
Queries current number of delegators in a pool
GetNumberOfDelegatorsQuery response type
Queries account's current owned tokens. This query returns all tokens (v1 and v2 standards) an account owns, including NFTs, fungible, soulbound, etc. If you want to get only the token from a specific standrd, you can pass an optional tokenStandard param
An example of how to pass a specific token standard
{
tokenStandard:"v2"
}
GetOwnedTokensQuery response type
The token owner address we want to get the tokens for
Optional
extraArgs: { Optional
options?: PaginationArgsOptional
tokenQueries all tokens of a specific collection that an account owns by the collection address
GetTokenOwnedFromCollectionQuery response type
owner address that owns the tokens
the collection address
Optional
extraArgs: { Optional
options?: PaginationArgsOptional
tokenQueries all tokens of a specific collection that an account owns by the collection name and collection creator address
GetTokenOwnedFromCollectionQuery response type
owner address that owns the tokens
the collection name
the collection creator address
Optional
extraArgs: { Optional
options?: PaginationArgsOptional
tokenStatic
validateGenerated using TypeDoc
Provides methods for retrieving data from Aptos Indexer. For more detailed Queries specification see https://cloud.hasura.io/public/graphiql?endpoint=https://indexer.mainnet.aptoslabs.com/v1/graphql