githubEdit

Portfolio

get

Retrieves the user's portfolio based on the provided wallet address.

Authorizations
AuthorizationstringRequired
Path parameters
addressstringRequired
  • The wallet address of the user.
Query parameters
pagenumber · doubleOptional
  • The page number for pagination (default is 1).
Default: 1
pageSizenumber · doubleOptional
  • The number of items per page for pagination (default is 100).
Default: 100
Header parameters
AuthorizationstringRequired
  • The authorization token.
Responses
chevron-right
200

A promise that resolves to a PortfolioAPIResponse object.

application/json

Interface representing the response from the Portfolio API. Extends the BaseAPIResponse interface.

successbooleanRequired

The success status of the operation.

messagestringRequired

The message associated with the operation.

addressstringOptional

The address associated with the operation.

get
/data/{address}/portfolio
200

A promise that resolves to a PortfolioAPIResponse object.