Skip to main content
POST
Configure gas sponsorship spend cap.
Status: Partial. sol_send_transaction and tron_send_transaction are supported (no Tron fee sponsorship yet). eth_send_transaction and gas sponsorship (Gas Station) are partial: available for supported EVM chains only. get_gas_usage and get_nonces may return empty or zero-valued responses. See the Roadmap.

Authorizations

X-Stamp
string
header
required

Body

application/json
organizationId
string
required

Unique identifier for a given Organization.

windowDurationMinutes
integer<int32>
required

Rolling window length in minutes. 0 = all-time accumulation.

windowLimitNative
string
required

Native-currency spend cap per window in wei (decimal string). '0' = uncapped.

enabled
boolean
required

Whether the native spend cap is enforced.

windowLimitLamports
string

Solana native-currency spend cap per window in lamports (decimal string). '0' = uncapped.

Response

A successful response.

windowDurationMinutes
integer<int32>

The stored rolling window length in minutes.

windowLimitNative
string

The stored native spend cap in wei.

enabled
boolean

Whether the native spend cap is enforced.

windowLimitLamports
string

The stored Solana native spend cap in lamports.