# 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:181](https://github.com/FilOzone/synapse-sdk/blob/6cf8b3ed2dd3ae76ed05cb86995d711a08a298a6/packages/synapse-core/src/pay/get-rails-for-payee-and-token.ts#L181)

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/)