# offerPayloadOf

offerPayloadOf in @provenanceauth/rails/deals, Rails. The offer payload from a signed offer or a payload object (no checks).

## Signature

```ts
offerPayloadOf(offer: string | OfferPayload): OfferPayload | null
```

## Parameters

- `offer` (string | OfferPayload)

## Returns

`OfferPayload | null`

Runs locally, with no request to the API.
