# getPayerAddress

> **getPayerAddress**(`account`): `` `0x${string}` ``

Defined in: [packages/synapse-core/src/utils/payer.ts:16](https://github.com/FilOzone/synapse-sdk/blob/d80afb89df823a5628b86ab0edae21dc95850f82/packages/synapse-core/src/utils/payer.ts#L16)

Get the address that pays for an account's storage: a session key signs as itself, but its root wallet pays.

## Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `account` | `Account` | The client account. |

## Returns

`` `0x${string}` ``

The root address for a session key account, otherwise the account address.

## Example

```ts
import { getPayerAddress } from '@filoz/synapse-core/utils'

const payer = getPayerAddress(client.account)
```