GET /v1/apps/gas_spend endpoint.
This is useful for tracking gas credit consumption per wallet, reconciling costs, and building internal usage dashboards.
Request
Send aGET request to https://api.privy.io/v1/apps/gas_spend with the following query parameters:
string[]
required
Array of wallet IDs to query. Must contain between 1 and 100 IDs.
number
required
Start of the time range in milliseconds (inclusive).
number
required
End of the time range in milliseconds (exclusive). The range between
start_timestamp and
end_timestamp must not exceed 30 days.Response
string
Total Privy gas credits charged in USD, as a decimal string (e.g.
"12.345678").string
The currency of the value. Always
"usd".Example
Response

