Skip to content

Show decoded target address in User operations #2189

Description

@k1rill-fedoseev

Design in [Figma](https://www.figma.com/design/ErLH8qySSkpprB87H0onWw/Blockscout_Pages?node-id=25201-110892&t=8ELhWKmyrzObZnYN-4)

Screenshot 2025-01-08 at 7 26 02 PM

Tooltip text: Target smart contract called by the User operation

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestv1.38.0Release v1.38.0

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions