Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show decoded target address in User operations #2189

Open
k1rill-fedoseev opened this issue Aug 23, 2024 · 0 comments
Open

Show decoded target address in User operations #2189

k1rill-fedoseev opened this issue Aug 23, 2024 · 0 comments
Labels
need design For issues that wait for design updates

Comments

@k1rill-fedoseev
Copy link
Member

k1rill-fedoseev commented Aug 23, 2024

API route /api/v2/proxy/account-abstraction/operations/<op_hash> may include the following decoded field:

{
//...
  "execute_target": {
        "ens_domain_name": null,
        "hash": "0x017405a2De0613e12cd3D7B67e691BfEfC46Debf",
        "implementations": [],
        "is_contract": true,
        "is_verified": true,
        "metadata": null,
        "name": "Missions"
  },
//...
}

E.g. if the user operation was a USDC-transfer, this contract would a USDC contract address. We should display this field in the UI, if available.

Field is available in the API iff execute_call_data field is present too.

@k1rill-fedoseev k1rill-fedoseev added the need design For issues that wait for design updates label Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need design For issues that wait for design updates
Projects
None yet
Development

No branches or pull requests

1 participant