Skip to Content

🚧 These packages are still in development and may change rapidly as they are developed.

TypeScriptgetClients

getClients

This function is used to get the clients from the AptosJSProClient.

Usage

import { AptosJSProClient } from "@aptos-labs/js-pro"; const { aptos, indexer, account, network, signer } = new AptosJSProClient({ /* ... */ });

Parameters

NameTypeDefault
networkNetworkInfo

The network to use for the request. If not set, the network of the AptosJSProClient instance will be used.

Return Type

NameTypeDefault
accountAccountInfo
aptosAptos
indexer{ getAccountTokensTotal(variables: Exact<{ address: string; where: Current_Token_Ownerships_V2_Bool_Exp | Current_Token_Ownerships_V2_Bool_Exp[]; }>, requestHeaders?: HeadersInit | undefined, signal?: AbortSignal | ... 1 more ... | undefined): Promise<...>; ... 14 more ...; getNumberOfDelegators(variables?: Exact<.....
networkNetworkInfo
signerSignerClient
Last updated on