> For the complete documentation index, see [llms.txt](https://docs.libertyswap.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.libertyswap.finance/liberty-swap-2.0/private-swap/railgun-private-mode/railgun-private-sends-privacy-and-fee-structure.md). Agents can also search and read this documentation through its [MCP server](https://docs.libertyswap.finance/~gitbook/mcp).

# Railgun Private Sends: Privacy and Fee Structure

This page explains what Railgun Private Sends are, their level of privacy, and the internal Railgun fee structure that is not under LibertySwap control but the blockchain networks and Railgun relayers

## What are Railgun Private Sends?

Railgun has three forms of transactions inside of shielded balances with different levels of privacy: Private Sends, Private Swap, and Private DeFi.

<figure><img src="https://1528550342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqaQp0E2p9WUSJko6TzUr%2Fuploads%2FwieXPLYzXZ1mkHWyFI16%2FIMG_0495.jpeg?alt=media&amp;token=e9a692f6-00cf-44be-8ef7-ba7b862a81f8" alt=""><figcaption></figcaption></figure>

Private Sends are transfers from one shielded address to another shielded address inside Railgun and offer the highest level of privacy available in RAILGUN. This is the simplest and strongest privacy flow in Railgun.

{% hint style="info" %}
Private Sends? From an 0zk address to another 0zk address
{% endhint %}

Private Sends move funds between RAILGUN private balances:

* A private send is submitted on-chain, usually by a broadcaster, but the sender, recipient and amount are encrypted.
* Like any blockchain transaction, it is included in a block by the network's validators.
* Gas is paid by the broadcaster and reimbursed from your private balance as part of the fee, or paid by you if you self-broadcast.

Because the gas used by a private send is roughly fixed, its cost is relatively predictable.

LibertySwap is designed to preserve this strong privacy model.

Our swap flows are built so that:

* Funds remain shielded as long as possible.
* Swaps originate from shielded balances.
* Users can keep funds in RAILGUN private balances where supported.

## Railgun Private Sends Fee Structure and Estimation

{% hint style="info" %}
Railgun 0zk → 0zk Transfer Fees (Ethereum Example)
{% endhint %}

For a Railgun 0zk → 0zk private transfer on Ethereum, the fee you pay is essentially independent of the value transferred. Whether you send $10 or $100,000, the underlying transaction cost remains roughly the same. This is because the fee is driven by computation and network gas price, not the dollar amount of the transfer.

\
**What the Fee Depends On**

*zk-SNARK Transaction Gas:*&#x20;

* Railgun uses zero-knowledge proofs for private transfers.&#x20;
* The gas consumed by proof verification and shielded state updates is almost fixed for a single private send.

*Underlying Chain Gas Price (Illustrative)*

* Ethereum gas prices vary over time. This example assumes a gas price of around 0.03–0.5 Gwei. &#x20;
* It also assumes an ETH price of around $3,200. Actual fees depend on gas and ETH prices when you transact. &#x20;

*Relayer Premium*

* Railgun relayers add a small premium on gas, usually around 10% over the base gas cost. &#x20;
* This premium can vary by relayer and market conditions.

\
**What the Fee Does NOT Depend On**

*Transfer Amount*

* The fee is not proportional to how much value you move.
* Railgun does not charge per dollar moved for private transfers.

*Percentage-Based Protocol Fees*

* Private 0zk → 0zk transfers do not incur percentage fees like shielding/unshielding does.

**Illustrative Ethereum Cost Estimate**\
Assuming:

* An estimated zk-SNARK Railgun transaction uses a substantial amount of gas compared to a simple transfer (eg hundreds of thousands of gas units),
* Gas price \~0.03–0.5 Gwei, &#x20;
* Ether price around $3,200 per ETH,&#x20;

{% hint style="info" %}
Estimated Railgun 0zk → 0zk Fee: Typically a few cents to a few dollars, including relayer premium. This is an illustrative estimate, not a quote.
{% endhint %}

Actual fees can be higher or lower. The fee for your transaction is shown before you confirm it.&#x20;

**When Fees Can Change**

Fees may be higher if:

* You include multiple assets in one private transfer.
* Ethereum gas prices rise due to higher demand.
* You choose a relayer charging a higher premium.

**Fee changes.** All fees, rates and fee structures applicable to Liberty products and ZKX Wallet, including those described on this page, are subject to change at any time, with or without prior notice. Any such changes will be published exclusively in this documentation, which is updated on an ongoing basis and constitutes the sole official source of current fee information. Fee information provided through any other channel, including social media, community channels, direct messages or third-party websites, is not authoritative and should not be relied upon. The fees applicable to a particular transaction are those displayed in the quote or transaction summary at the time that transaction is confirmed.
