Skip to main content
POST
Get gas usage and limits.
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.

Response

A successful response.

windowDurationMinutes
integer<int32>
required

The window duration (in minutes) for the organization or sub-organization.

windowLimitUsd
string
required

The window limit (in USD) for the organization or sub-organization.

usageUsd
string
required

The total gas usage (in USD) of all sponsored transactions processed over the last window_duration_minutes

windowLimitNative
string

The native-currency spend cap per window in wei. '0' = uncapped. This is the ENFORCED cap (no price oracle required).

usageNative
string

Total native-currency gas spent (wei) over the window, from confirmed on-chain fees.

enabled
boolean

Whether the native spend cap is enforced. False (or no config) = uncapped.

windowLimitLamports
string

The Solana native-currency spend cap per window in lamports. '0' = uncapped. Parallel ENFORCED cap to window_limit_native, scoped to Solana (solana:*) usage.

usageLamports
string

Total Solana native-currency gas spent (lamports) over the window, from confirmed on-chain fees.