Skip to content

Fix contract detail balance display#49

Open
YoshiyukiSakura wants to merge 1 commit into
litentry:masterfrom
YoshiyukiSakura:codex/contract-balance-issue-48
Open

Fix contract detail balance display#49
YoshiyukiSakura wants to merge 1 commit into
litentry:masterfrom
YoshiyukiSakura:codex/contract-balance-issue-48

Conversation

@YoshiyukiSakura

@YoshiyukiSakura YoshiyukiSakura commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Fix contract detail balance lookup by allowing /api/plugin/evm/accounts to include contracts when explicitly requested.
  • For single contract balance display, read contract-native balance and AA/paymaster getDeposit() balance when supported, so deposited HEI does not render as 0 HEI.
  • Update cursor typings and API docs for the new include_contracts parameter.

Fixes #48

Verification

  • go test ./plugins/evm/http
  • npm run build

Notes

  • Full go test ./plugins/evm/dao is blocked locally by the existing dao_test init path requiring ../../../configs/config.yaml plus MySQL/Redis.

@vercel

vercel Bot commented Jun 10, 2026

Copy link
Copy Markdown

@YoshiyukiSakura is attempting to deploy a commit to the Litentry Team on Vercel.

A member of the Team first needs to authorize it.

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.

Show Native Balance on Contract Detail Page

1 participant