Assets
Assets HTTP API
The assets method is also available via a RESTful HTTP API for ease of integration.
URL: /api/v1/assets/<users>/
Method: GET
Parameter Name | Type | Description |
---|---|---|
users | String | A single user address or a comma-separated list of user addresses. |
- Single User:
- When the users parameter contains one address, the API returns all asset data for the specified user.
- Example: /api/v1/assets/address
- Multiple Users:
- When the users parameter contains multiple addresses (comma-separated), the API returns grouped asset data for all specified users.
- Example: /api/v1/assets/address1,address2
- Single User: A JSON array of asset objects for the user, including related jetton_info.
- Multiple Users: A JSON array of grouped asset objects with user-specific data nested.
URL: /api/assets/v1/net_worth/<users>/
Method: GET
Parameter Name | Type | Description |
---|---|---|
users | String | A single user address or a comma-separated list of user addresses. |
JSON containing 2 keys - net_worth_ton, net_worth_usd