cURL
curl --request GET \ --url https://public-api-v2.bags.fm/api/v1/token-launch/lifetime-fees \ --header 'x-api-key: <api-key>'
{ "success": true, "response": "<string>" }
Retrieve the total lifetime fees collected for a specific token
API key authentication. Provide your API key as the header value.
Public key of the token mint
Successfully retrieved token lifetime fees
true
Total lifetime fees collected in lamports (as string to support bigint casting)