# getPayerAddress

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

Defined in: [packages/synapse-core/src/utils/payer.ts:16](https://github.com/FilOzone/synapse-sdk/blob/628d3a8812e8612a183a3abe3328169fb741260b/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)
```