Gas Sponsorship
Sponsor gas fees for your users to remove blockchain onboarding friction
Note: Gas sponsorship is currently under development.
256 Blocks can sponsor gas fees for your users, eliminating the need for them to hold native tokens. This removes a major onboarding barrier for gaming, consumer apps, and enterprise use cases.
How It Works
- Your application sends a user operation to a 256 Blocks endpoint
- The policy engine evaluates whether to sponsor the transaction
- If allowed, 256 Blocks pays the gas fee on your behalf
- You are billed for the RPC call (credit usage) plus the gas cost (including a surcharge)
This works for both RPC endpoints and MCP integrations.
Controlling Sponsorship
Use denyGasSponsor rules in your policies to control when gas is sponsored:
# Don't sponsor transactions over $100
denyGasSponsor if {
input.usd_value > 100
}
# Don't sponsor transactions from certain countries
denyGasSponsor if {
input.source_country in {"KP", "IR", "CU"}
}If no denyGasSponsor rule matches, the transaction is sponsored by default.
Billing
When a transaction is sponsored, you are charged:
- Credit usage for the RPC call itself
- Gas cost for the transaction (converted to credits)
- Surcharge on the gas cost
See Billing for details on pricing.