Skip to content

Expose contract deposit balance separately#52

Merged
YoshiyukiSakura merged 1 commit into
crossagentfrom
codex/contract-deposit-balance
Jun 11, 2026
Merged

Expose contract deposit balance separately#52
YoshiyukiSakura merged 1 commit into
crossagentfrom
codex/contract-deposit-balance

Conversation

@YoshiyukiSakura

Copy link
Copy Markdown
Collaborator

Summary

  • add deposit_balance to the contract detail API as a separate getDeposit()-based field
  • render Deposit Balance separately from native Balance on the contract detail page
  • update API docs and add route coverage for the new response field

Notes

  • Balance remains the native balance from /api/plugin/evm/accounts / eth_getBalance semantics.
  • Deposit Balance is the contract internal deposit value returned by getDeposit() when supported; unsupported contracts keep 0.

Tests

  • go test ./plugins/evm/http
  • npm run build in ui-react
  • git diff --check

Related to #48 and follow-up to #50.

@vercel

vercel Bot commented Jun 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
subscan-essentials Ready Ready Preview, Comment Jun 11, 2026 12:00pm
subscan-essentials-ui-react Ready Ready Preview, Comment Jun 11, 2026 12:00pm

Request Review

@YoshiyukiSakura YoshiyukiSakura merged commit 3589d24 into crossagent Jun 11, 2026
4 of 5 checks passed
YoshiyukiSakura added a commit that referenced this pull request Jun 13, 2026
* Expose contract deposit balance (#52)

* Show contract creation metadata (#53)
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.

1 participant