> ## Documentation Index
> Fetch the complete documentation index at: https://docs.altude.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Account Info

> Fetch on-chain information for a Solana account.

```typescript theme={null}
const accountInfo = await gasStation.getAccountInfo({
  account: 'ACCOUNT_ADDRESS',
})

console.log(accountInfo)
```

The method accepts wallet addresses, token accounts, program accounts, and other valid Solana account addresses.

Earlier TypeScript integrations can continue to use the `accountAddress` alias:

```typescript theme={null}
await gasStation.getAccountInfo({
  accountAddress: 'ACCOUNT_ADDRESS',
})
```

<Note>
  The response mirrors the relay API and is intentionally forward-compatible. Check for fields before using them rather than assuming every account type has the same shape.
</Note>
