# parseGetRailsForPayeeAndToken

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

Defined in: [packages/synapse-core/src/pay/get-rails-for-payee-and-token.ts:167](https://github.com/FilOzone/synapse-sdk/blob/b11ef4f7e3c201d8bba29973a09628063e6547b1/packages/synapse-core/src/pay/get-rails-for-payee-and-token.ts#L167)

Parse the contract output into the getRailsForPayeeAndToken output type

## Parameters

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

## Returns

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

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