# parseGetRailsForPayerAndToken

> **parseGetRailsForPayerAndToken**(`data`): [`OutputType`](/reference/filoz/synapse-core/pay/namespaces/getrailsforpayerandtoken/type-aliases/outputtype/)

Defined in: [packages/synapse-core/src/pay/get-rails-for-payer-and-token.ts:169](https://github.com/FilOzone/synapse-sdk/blob/7fdc04df4e3c52366a9f0cd55da4c05e20b2ed82/packages/synapse-core/src/pay/get-rails-for-payer-and-token.ts#L169)

Parse the contract output into the getRailsForPayerAndToken output type

## Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `data` | readonly \[readonly `object`[], `bigint`, `bigint`\] | The contract output from the getRailsForPayerAndToken function |

## Returns

[`OutputType`](/reference/filoz/synapse-core/pay/namespaces/getrailsforpayerandtoken/type-aliases/outputtype/)

The parsed paginated rail results [getRailsForPayerAndToken.OutputType](/reference/filoz/synapse-core/pay/namespaces/getrailsforpayerandtoken/type-aliases/outputtype/)