Apps

Get gas spend

Get aggregated Privy gas credits charged for a set of wallets over a time range. Maximum 100 wallet IDs and 30-day range per request.

get/v1/apps/gas_spend

Query parameters

wallet_idsstring[] required
start_timestampnumber required
end_timestampnumber required

Headers

privy-app-idstring required

ID of your Privy app.

Response

Aggregated gas credits charged.

currency'usd' required

Currency represented by the value.

valuestring required

Total Privy credits charged as a decimal string.

Example response

{
  "currency": "usd",
  "value": "12.345678"
}

Changes

No recorded changes to this endpoint across all 46 revisions of this API.