# FundingRequirement.toRpcIntent

Encodes unsigned funding intent without filling omitted fields.

## Imports

:::code-group
```ts [Named]
import { FundingRequirement } from 'ox/tempo'
```

```ts [Entrypoint]
import * as FundingRequirement from 'ox/tempo/FundingRequirement'
```
:::

## Examples

```ts
import { FundingRequirement } from 'ox/tempo'

FundingRequirement.toRpcIntent({ amount: 50n })
```

## Definition

```ts
function toRpcIntent(
  value: Intent<bigint | number | Hex.Hex, number | Hex.Hex>,
): IntentRpc
```

**Source:** [src/tempo/FundingRequirement.ts](https://github.com/wevm/ox/blob/main/src/tempo/FundingRequirement.ts#L279)

## Parameters

### value

* **Type:** `Intent<bigint | number | Hex.Hex, number | Hex.Hex>`

#### value.amount

* **Type:** `bigintType`

Target balance, including existing funds, in token base units.

#### value.policyRules

* **Type:** `0x${string}`
* **Optional**

Canonical policy rules for access key funding. Owners omit this field.

#### value.slippageBps

* **Type:** `numberType`
* **Optional**

Aggregate slippage in basis points. Omission uses the protocol default.

#### value.sources

* **Type:** `readonly Source[]`

Sources attempted in order.

#### value.token

* **Type:** `abitype_Address`

Requested output token.

## Return Type

[`IntentRpc`](/tempo/reference/FundingRequirement/types#fundingrequirementintentrpc)
