> ## Documentation Index
> Fetch the complete documentation index at: https://docs.arc.io/llms.txt
> Use this file to discover all available pages before exploring further.

# How-to: Pay fees on the source chain

> Pay CCTP fees on the source chain so the recipient receives the exact bridge amount

By default, CCTP Fast Transfer and Forwarding Service fees are taken from the
amount minted on the destination chain. You can instead pay those fees
[upfront](https://developers.circle.com/cctp/concepts/upfront-fees) on the
source chain so the recipient receives the exact bridge `amount`. For how this
fits into the overall fee model, see
[How bridge fees work](/app-kit/concepts/bridge-fees).

## Prerequisites

Before you begin, ensure that you've:

* [Installed the App Kit SDK](/app-kit/tutorials/installation)
* [Configured an adapter](/app-kit/tutorials/adapter-setups)

These are required so any example below runs with a valid `kit` and `adapter`.

## Estimate and bridge with source-paid fees

This example estimates, then bridges 1.00 USDC from Ethereum Sepolia to Arc
Testnet. The recipient is credited the exact `amount`; the source wallet pays
`amount` plus the quoted fee.

Source-paid fees use a **two-step** flow:

1. Call `estimateBridge` with `feePayment: "source"`. The result includes a
   `quote` — a signed, time-bound fee quote from Circle's Fee Service.
2. Call `bridge` with the **same** transfer parameters **and** that `quote`. The
   SDK submits the burn with the quote so the fee is collected on the source
   chain and the destination mint stays unreduced.

```typescript TypeScript theme={null}
const estimate = await kit.estimateBridge({
  from: { adapter, chain: "Ethereum_Sepolia" },
  to: {
    adapter,
    chain: "Arc_Testnet",
    recipientAddress: "0xRecipientAddress",
    useForwarder: true, // Required with feePayment: "source"
  },
  amount: "1.00",
  config: { feePayment: "source" },
});

// Pass estimate.quote into bridge so the burn uses the signed quote
const result = await kit.bridge({
  from: { adapter, chain: "Ethereum_Sepolia" },
  to: {
    adapter,
    chain: "Arc_Testnet",
    recipientAddress: "0xRecipientAddress",
    useForwarder: true,
  },
  amount: "1.00",
  config: { feePayment: "source" },
  quote: estimate.quote,
});
```

When `feePayment` is `"source"`, TypeScript narrows the estimate as
`ReceiveExactEstimateResult` (no cast or `in` narrowing needed). Without
`feePayment: "source"`, the return type remains the plain estimate result.

<Note>
  `quote` is the Fee Service's raw signed quote: a `0x`-prefixed, byte-aligned
  hex string. Treat it as opaque — do not decode, edit, or reconstruct it. Pass
  it through unchanged.

  When you pass `quote`, Bridge Kit validates that exact quote before and after
  approval and fails closed if it is invalid, mismatched, expired, or too close to
  expiry. It never silently replaces a caller-supplied quote. Omitting `quote`
  opts into SDK-managed fetching and refresh. On a supplied-quote failure, call
  `estimateBridge()` again and retry with the new quote.
</Note>

A successful estimate looks like this (values vary by route and quote):

```typescript TypeScript theme={null}
{
  token: "USDC",
  amount: "1.0",
  amountReceived: "1.0", // Exact recipient amount (== amount)
  feeTotal: "0.076527", // Source-chain USDC fee (sum of feeItems)
  totalDebit: "1.076527", // amount + feeTotal
  fees: [
    { type: "forwarder", token: "USDC", amount: "0.076397" },
    { type: "provider", token: "USDC", amount: "0.00013" },
  ],
  feeItems: [
    { type: "FORWARD", amount: "0.076397", args: [/* ... */], argsHash: "0x..." },
    { type: "PRE_FINALITY", amount: "0.00013", args: [/* ... */], argsHash: "0x..." },
  ],
  quoteExpiry: {
    mode: "BLOCK_NUMBER",
    expiresAtBlock: 45947392,
    blockEstimatedAt: 1787663073,
  },
  quote: "0x...", // Pass this hex string unchanged to kit.bridge
  // Also includes source, destination, and gasFees from the plain estimate
}
```

`fees` is the familiar estimate breakdown (`forwarder` / `provider`). `feeItems`
is the signed Fee Service line items (`FORWARD`, `PRE_FINALITY`) that back the
upfront quote.

Step events (`bridge.approve`, `bridge.burn`, `bridge.mint`, and others) fire on
this path the same way as other bridge transfers. See
[Bridge events](/app-kit/references/sdk-reference#bridge-events) in the SDK
reference.

## Check which chains support source fees

Not every bridge source supports paying fees on the source chain. List the ones
that do:

```typescript TypeScript theme={null}
const sourceFeeChains = kit.getSupportedChains("bridge", {
  sourceFeeSupported: true,
});
console.log(sourceFeeChains.map((chain) => chain.chain));
```

## Requirements and limitations

### Forwarding Service is required

`to.useForwarder: true` is required with `feePayment: "source"`. Omitting it (or
setting it to `false`) throws a validation error.

### Custom fees are not supported

You cannot combine `feePayment: "source"` with a per-call `config.customFee` or
a kit-level custom fee policy (`setCustomFeePolicy`). The SDK throws by design.
Collect [custom bridge fees](/app-kit/tutorials/bridge/collect-bridge-fee) only
on the default (destination) fee path.

### Use `SLOW` on Standard Transfer–only sources

`transferSpeed` defaults to `FAST`. Some source chains support only CCTP
Standard Transfer (for example Avalanche, Polygon PoS, Sei, XDC, and their
testnets). On those chains, keep `feePayment: "source"` and set
`transferSpeed: "SLOW"`. Using `FAST` (or omitting `transferSpeed`) can fail
with a Quote API error such as `PRE_FINALITY_UNAVAILABLE` (often surfaced as
HTTP 422).

```typescript TypeScript theme={null}
const result = await kit.bridge({
  from: { adapter, chain: "Avalanche_Fuji" },
  to: {
    adapter,
    chain: "Arc_Testnet",
    recipientAddress: "0xRecipientAddress",
    useForwarder: true,
  },
  amount: "1.00",
  config: {
    feePayment: "source",
    transferSpeed: "SLOW",
  },
});
```

### Error results can preserve a successful burn

If the burn confirms but the Forwarding Service / relayer returns no destination
transaction hash, the SDK returns an error-state `BridgeResult` that still
includes the burn step (retryable), instead of throwing away that progress. See
[Error recovery](/app-kit/references/bridge-error-recovery) for how to inspect
`result.state` and `result.steps`.
