RichAptosClient

Class in @sentio/sdk/aptos

Defined in @sentio/sdk/aptos

Extends

  • Aptos

Extended by

Methods

getTypedAccountResource()

getTypedAccountResource<T>(args: object): Promise<T>;

Type Parameters

Type Parameter
T

Parameters

ParameterType
args{ accountAddress: AccountAddressInput; options?: LedgerVersionArg; resourceType: TypeDescriptor<T>; }
args.accountAddressAccountAddressInput
args.options?LedgerVersionArg
args.resourceTypeTypeDescriptor<T>

Returns

Promise<T>

Client

Constructor

new RichAptosClient(config?: AptosConfig): RichAptosClient;

Initializes a new instance of the Aptos client with the provided configuration settings.

Parameters

ParameterTypeDescription
config?AptosConfigConfiguration settings for the Aptos client.

Returns

RichAptosClient

Inherited from

Aptos.constructor

On this page