Explorer

Get portfolio activity

Get user's portfolio activity.

GET
/api/oc/v1/portfolio/activity

Authorization

AuthorizationRequiredBearer <token>

In: header

Query Parameters

pageinteger

Page number

sizeinteger

Number of items per page

curl -X GET "https://sandbox-api.okto.tech/api/oc/v1/portfolio/activity?page=1&size=10" \
  -H "Authorization: Bearer <token>"

Fetched

{
  "status": "success",
  "data": {
    "count": 50,
    "activity": [
      {
        "symbol": "",
        "image": "",
        "name": "",
        "short_name": "",
        "id": "",
        "group_id": "",
        "description": "NFT Deposit",
        "quantity": "1.000000000000000000",
        "amount": "",
        "order_type": "EXTERNAL_TRANSFER",
        "transfer_type": "DEPOSIT",
        "status": true,
        "created_at": 1739176632,
        "updated_at": 1739176632,
        "timestamp": 1739176632,
        "tx_hash": "0x4e20af759a50080e548cc40f2504e569935ce0f3255bed9c9121e3fdaebc36d1",
        "network_id": "ae506585-0ba7-32f3-8b92-120ddf940198",
        "network_name": "POLYGON",
        "network_explorer_url": "https://polygonscan.com/",
        "network_symbol": "POLYGON",
        "caip_id": "eip155:137"
      }
    ]
  }
}