> For the complete documentation index, see [llms.txt](https://docs.fewcha.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fewcha.app/reference/sdk-get-data-methods/account.md).

# Account

All methods follow `window.fewcha.aptos.<method>` or  `window.fewcha.sui.<method>`

{% tabs %}
{% tab title="Aptos" %}

```javascript

async getAccount(accountAddress: MaybeHexString): Promise<Response<Gen.AccountData>>;
async getAccountTransactions(accountAddress: MaybeHexString, query?: { start?: BigInt | number; limit?: number }): Promise<Response<Gen.Transaction[]>>;
async getAccountModules(accountAddress: MaybeHexString, query?: { ledgerVersion?: BigInt | number }): Promise<Response<Gen.MoveModuleBytecode[]>>;
async getAccountModule(accountAddress: MaybeHexString, moduleName: string, query?: { ledgerVersion?: BigInt | number }): Promise<Response<Gen.MoveModuleBytecode>>;
async getAccountResources(accountAddress: MaybeHexString, query?: { ledgerVersion?: BigInt | number }): Promise<Response<Gen.MoveResource[]>>;
async getAccountResource(accountAddress: MaybeHexString, resourceType: Gen.MoveStructTag, query?: { ledgerVersion?: BigInt | number }): Promise<Response<Gen.MoveResource>>;
async getMultiSignAccount(publicKeys: MaybeHexString[], threshold: number): Promise<PublicAccount>;

```

{% endtab %}

{% tab title="SUI" %}

```javascript
getObjectsOwnedByAddress(address: string): Promise<SuiObjectInfo[]>;
getGasObjectsOwnedByAddress(address: string): Promise<SuiObjectInfo[]>;
getObjectsOwnedByObject(objectId: string): Promise<SuiObjectInfo[]>;
```

{% endtab %}
{% endtabs %}
