Check Allowance
This SunPump endpoint checks if, and how many, Tokens are currently Approved for trading (selling).
Endpoint
URL:
/sunpump/allowance
Method:
GET
Content-Type:
application/json
API Key Header:
api-key: your-api-key
Parameters
Parameter
Type
Required
Description
tokenAddress
string
Yes
Token Contract Address
userAddress
string
Yes
Public Tron Address of sender
Example Allowance Requests
Example Response JSON
Error Responses
Invalid Parameters
Notes
Rate Limiting: This endpoint is rate-limited according to your plan's API key limits. Ensure that you handle these limits in your application.
Last updated
Was this helpful?