You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For delegate call internal transactions at endpoint ?module=account&action=txlistinternal&txhash={transactionHash}, the API returns type: 'call' when I would expect 'delegatecall'
Environment
BlockScout Version: v4.1.7-beta
Steps to reproduce
try this API call: https://blockscout.com/xdai/mainnet/api?module=account&action=txlistinternal&txhash=0xa809848cc0bfaf33e58eb8de026f096c7e5184acf7640a326d01aea36c018365
@72L the type of this internal transaction is indeed call. What could be misleading here that API doesn't return callType., which is delegatecall for the referenced transaction. We will add callType in the reponse of the API endpoint as well.
For delegate call internal transactions at endpoint
?module=account&action=txlistinternal&txhash={transactionHash}
, the API returns type: 'call' when I would expect 'delegatecall'Environment
Steps to reproduce
https://blockscout.com/xdai/mainnet/api?module=account&action=txlistinternal&txhash=0xa809848cc0bfaf33e58eb8de026f096c7e5184acf7640a326d01aea36c018365
It produces:
I'm pretty sure the UI is correct given this is a Gnosis Safe using the Gnosis Safe Proxy contract in a delegate call
Expected Behaviour
The API should give
"type": "delegatecall"
Actual Behaviour
The API gives
"type": "call"
The text was updated successfully, but these errors were encountered: