Skip to content

feat(api-http): add /wallets/activity endpoint#1258

Merged
sebastijankuzner merged 5 commits intodevelopfrom
feat/api/wallet-activity
Apr 1, 2026
Merged

feat(api-http): add /wallets/activity endpoint#1258
sebastijankuzner merged 5 commits intodevelopfrom
feat/api/wallet-activity

Conversation

@oXtxNt9U
Copy link
Copy Markdown
Contributor

@oXtxNt9U oXtxNt9U commented Mar 26, 2026

Summary

Example

curl -X GET "http://localhost:4003/api/wallets/activity?addresses=0x513aD37501Ee3d080804189CB135634A8d968D4D,0xF1d61F7Be4Dd3CC44cBE8b1f3Cf228C02dcE8CE6" | jq

{
  "meta": {
    "totalCountIsEstimate": false,
    "count": 10,
    "first": "/wallets/activity?addresses=0x513aD37501Ee3d080804189CB135634A8d968D4D&addresses=0xF1d61F7Be4Dd3CC44cBE8b1f3Cf228C02dcE8CE6&ignoreWhitelist=false&limit=100&page=1",
    "last": "/wallets/activity?addresses=0x513aD37501Ee3d080804189CB135634A8d968D4D&addresses=0xF1d61F7Be4Dd3CC44cBE8b1f3Cf228C02dcE8CE6&ignoreWhitelist=false&limit=100&page=1",
    "next": null,
    "pageCount": 1,
    "previous": null,
    "self": "/wallets/activity?addresses=0x513aD37501Ee3d080804189CB135634A8d968D4D&addresses=0xF1d61F7Be4Dd3CC44cBE8b1f3Cf228C02dcE8CE6&ignoreWhitelist=false&limit=100&page=1",
    "totalCount": 10
  },
  "data": [
    {
      "blockNumber": "7",
      "transactionHash": "46a7d2897ec2e20026ba17db57bc52a8e91e6cad447971d1ca51513133ce779d",
      "transactionIndex": 0,
      "timestamp": "1774480400707",
      "from": "0x513aD37501Ee3d080804189CB135634A8d968D4D",
      "to": "0xf72b0124aF2136E8a5DBb6A9D8eE2E656E8e67E8",
      "value": "1234000000000000000000",
      "functionSig": "0xa9059cbb",
      "action": "Transfer",
      "actionIndex": 0,
      "token": {
        "address": "0x9a1437da8395d6346e1cdea6225f676799f79471",
        "name": "DARK20",
        "symbol": "DARK20",
        "decimals": 18
      }
    },
    {
      "blockNumber": "7",
      "transactionHash": "46a7d2897ec2e20026ba17db57bc52a8e91e6cad447971d1ca51513133ce779d",
      "transactionIndex": 0,
      "timestamp": "1774480400707",
      "from": "0x513aD37501Ee3d080804189CB135634A8d968D4D",
      "to": "0x9a1437Da8395d6346e1cDEa6225F676799f79471",
      "value": "0",
      "functionSig": "0xa9059cbb",
      "action": null,
      "actionIndex": null,
      "token": {
        "address": "0x9a1437da8395d6346e1cdea6225f676799f79471",
        "name": "DARK20",
        "symbol": "DARK20",
        "decimals": 18
      }
    },
    {
      "blockNumber": "2",
      "transactionHash": "77090294a837adf595450adec43c83ca2048353b7327aad511dfdc5e58ad9c8d",
      "transactionIndex": 0,
      "timestamp": "1774480399240",
      "from": "0x0000000000000000000000000000000000000000",
      "to": "0x513aD37501Ee3d080804189CB135634A8d968D4D",
      "value": "100000000000000000000000000",
      "functionSig": "0x60806040",
      "action": "Transfer",
      "actionIndex": 0,
      "token": {
        "address": "0x9a1437da8395d6346e1cdea6225f676799f79471",
        "name": "DARK20",
        "symbol": "DARK20",
        "decimals": 18
      }
    },
    {
      "blockNumber": "2",
      "transactionHash": "77090294a837adf595450adec43c83ca2048353b7327aad511dfdc5e58ad9c8d",
      "transactionIndex": 0,
      "timestamp": "1774480399240",
      "from": "0x513aD37501Ee3d080804189CB135634A8d968D4D",
      "to": null,
      "value": "0",
      "functionSig": "0x60806040",
      "action": null,
      "actionIndex": null
    },
    {
      "blockNumber": "0",
      "transactionHash": "27c32937795729ba68ed0f50aee66166b8c1e64d8968e9fdb9fdc4db0426ce59",
      "transactionIndex": 131,
      "timestamp": "1761277355291",
      "from": "0xF1d61F7Be4Dd3CC44cBE8b1f3Cf228C02dcE8CE6",
      "to": "0x535B3D7A252fa034Ed71F0C53ec0C6F784cB64E1",
      "value": "0",
      "functionSig": "0x6dd7d8ea",
      "action": null,
      "actionIndex": null
    },
    {
      "blockNumber": "0",
      "transactionHash": "4f5120806f277a7e9eaec8db08dbbde39599325409717e98b20f71ea11dbae2b",
      "transactionIndex": 106,
      "timestamp": "1761277355291",
      "from": "0x513aD37501Ee3d080804189CB135634A8d968D4D",
      "to": "0x535B3D7A252fa034Ed71F0C53ec0C6F784cB64E1",
      "value": "0",
      "functionSig": "0x6dd7d8ea",
      "action": null,
      "actionIndex": null
    },
    {
      "blockNumber": "0",
      "transactionHash": "b147ca9d2a37ea8bf09137f0ce22547a64de8a1c3bd3e32aa9ea87827f2c21d9",
      "transactionIndex": 78,
      "timestamp": "1761277355291",
      "from": "0xF1d61F7Be4Dd3CC44cBE8b1f3Cf228C02dcE8CE6",
      "to": "0x535B3D7A252fa034Ed71F0C53ec0C6F784cB64E1",
      "value": "250000000000000000000",
      "functionSig": "0x602a9eee",
      "action": null,
      "actionIndex": null
    },
    {
      "blockNumber": "0",
      "transactionHash": "0266eda3f44c4cf23f376852b900125057ec14b8c76a415e024ee97b294a3510",
      "transactionIndex": 53,
      "timestamp": "1761277355291",
      "from": "0x513aD37501Ee3d080804189CB135634A8d968D4D",
      "to": "0x535B3D7A252fa034Ed71F0C53ec0C6F784cB64E1",
      "value": "250000000000000000000",
      "functionSig": "0x602a9eee",
      "action": null,
      "actionIndex": null
    },
    {
      "blockNumber": "0",
      "transactionHash": "fe70a8a45ce5fa9465ec112c4a46364dfa77ab2b0a9e3184b90ab1d468251b07",
      "transactionIndex": 25,
      "timestamp": "1761277355291",
      "from": "0xA5d751A5F645856fDE0931DbE543099198a44B50",
      "to": "0xF1d61F7Be4Dd3CC44cBE8b1f3Cf228C02dcE8CE6",
      "value": "2358490566037735849056603",
      "functionSig": "0x",
      "action": null,
      "actionIndex": null
    },
    {
      "blockNumber": "0",
      "transactionHash": "65522bc3a37cc949d7165dccc41f55d98e28eb012ebbf99eff9cdc3387d8c658",
      "transactionIndex": 0,
      "timestamp": "1761277355291",
      "from": "0xA5d751A5F645856fDE0931DbE543099198a44B50",
      "to": "0x513aD37501Ee3d080804189CB135634A8d968D4D",
      "value": "2358490566037735849056603",
      "functionSig": "0x",
      "action": null,
      "actionIndex": null
    }
  ]
}

Checklist

  • Documentation (if necessary)
  • Tests (if necessary)
  • Ready to be merged

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 26, 2026

Codecov Report

❌ Patch coverage is 9.89583% with 173 lines in your changes missing coverage. Please review.
✅ Project coverage is 53.46%. Comparing base (3d4f4fc) to head (476b1b0).
⚠️ Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
packages/api-http/source/controllers/wallets.ts 10.98% 154 Missing ⚠️
packages/api-http/source/routes/wallets.ts 0.00% 18 Missing ⚠️
packages/api-http/source/controllers/tokens.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1258      +/-   ##
===========================================
+ Coverage    53.29%   53.46%   +0.17%     
===========================================
  Files         1128     1131       +3     
  Lines        63486    64107     +621     
  Branches      1723     1800      +77     
===========================================
+ Hits         33835    34278     +443     
- Misses       29359    29535     +176     
- Partials       292      294       +2     
Flag Coverage Δ
contracts 98.60% <ø> (?)
packages 53.16% <9.89%> (-0.14%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@oXtxNt9U oXtxNt9U marked this pull request as ready for review April 1, 2026 01:21
@sebastijankuzner sebastijankuzner merged commit 6832cb6 into develop Apr 1, 2026
40 of 41 checks passed
@sebastijankuzner sebastijankuzner deleted the feat/api/wallet-activity branch April 1, 2026 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants