frontend
frontend copied to clipboard
Show decoded target address in User operations
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.