Skip to main content

Documentation Index

Fetch the complete documentation index at: https://grat.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Fee-bump transactions (introduced in CAP-0015) are a native feature of the Stellar network that allow one account to pay the transaction fee for another. This is the foundational technology that enables Grat to provide gasless experiences.

How they work

A fee-bump transaction is a special envelope that contains an “inner” transaction. The inner transaction contains the user’s intended logic (e.g., a payment or contract call) and is signed by the user. The outer fee-bump envelope is signed by a “sponsor” account, which agrees to pay the network fee.

Native Security

Because fee-bumps are a native protocol feature, they are extremely secure. The sponsor only authorizes the payment of the fee and has no power to modify the inner transaction or access the user’s private keys. If the inner transaction is invalid or its signatures are missing, the entire fee-bump is rejected.

Grat’s Role

Grat automates the creation and submission of these envelopes. When your app sends an XDR to Grat, the relay handles the wrapping, signing with its own channel accounts, and submission to the network in a single atomic step. View on GitHub