Version 2023-03-08: granularity EVM simulation errors and changes to field names
6 months ago by ReadMe API
High Level
- Removes support of passing domains to /domains in JSON body as a list of strings
- Remove
risk_score
property from /domains response - Adds more granular
error
in EVM transaction scan response.UnknownError
,SimulationFailed
,InvalidTransaction
=>TransactionReverted
,TransactionError
,SimulationFailed
,UnknownError
- Reformats
price
object across EVM transaction scan response. Changes snake_case to camelCase and changes some field names. - Removes
name
,symbol
anddecimals
from ERC20-related state changes. - Introduces the multi-tx EVM scan endpoint
/{chain}/v0/{network}/scan/transactions
- Adds
protocol
field to EVM scan endpoints with information about verified protocols - Adds an optional request property
simulatorConfig
that enables simulating at a historical block number and providing state and balance override values to the simulator. - EVM simulation now returns
logs
anddecoded_logs
Bump diff
Output:
Added: POST /ethereum/v0/mainnet/scan/transactions
Modified: POST /ethereum/v0/mainnet/scan/message
Response modified: 200
Attribute modified: simulationResults
Modified: POST /ethereum/v0/mainnet/scan/transaction
Body modified
Attribute added: simulatorConfig
Response modified: 200
Attribute modified: simulationResults
Modified: POST /v0/domains
Body modified
[Breaking] Alternative removed: Array of domains
Response modified: 200
[Breaking] Attribute removed: risk_score
Complete diff
To see all the exact changes made, download the OpenAPI specs and diff this version with the previous version using the diff
CLI command:
diff ./v20220601.yaml ./v20230308.yaml
Note: To see a side-by-side diff, add the -y flag before the file paths in the command above.