cURL
curl --request POST \ --url https://api.tokenlayer.network/get-user-fee-history \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "fee_type": "builder", "chains": [ "<string>" ], "limit": 50, "offset": 0 } '
{ "distributions": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "recipient_address": "<string>", "distribution_type": "owner", "fee_type": "builder", "activity_id": "bonding_curve_trade", "amount": "<string>", "amount_with_decimals": "<string>", "decimals": 123, "currency_address": "<string>", "chain": "<string>", "tracking_id": "<string>", "transaction_hash": "<string>", "block_number": 123, "created_at": "<string>", "token": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "symbol": "<string>", "slug": "<string>", "logo": "<string>" } } ], "total_count": 123 }
Get paginated history of fee distributions for authenticated user
JWT token or API key
builder
token_referral
ip_holder
protocol_referral
protocol_referral_cashback
1 <= x <= 100
x >= 0
Successful response
Show child attributes