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
| Parameter | Type |
|---|---|
args | { accountAddress: AccountAddressInput; options?: LedgerVersionArg; resourceType: TypeDescriptor<T>; } |
args.accountAddress | AccountAddressInput |
args.options? | LedgerVersionArg |
args.resourceType | TypeDescriptor<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
| Parameter | Type | Description |
|---|---|---|
config? | AptosConfig | Configuration settings for the Aptos client. |
Returns
RichAptosClient
Inherited from
Aptos.constructor