GuidesAPI Reference
Log In

Version 2023-03-08: granularity EVM simulation errors and changes to field names

High Level

  1. Removes support of passing domains to /domains in JSON body as a list of strings
  2. Remove risk_score property from /domains response
  3. Adds more granular error in EVM transaction scan response. UnknownError, SimulationFailed, InvalidTransaction => TransactionReverted, TransactionError, SimulationFailed, UnknownError
  4. Reformats price object across EVM transaction scan response. Changes snake_case to camelCase and changes some field names.
  5. Removes name, symbol and decimals from ERC20-related state changes.
  6. Introduces the multi-tx EVM scan endpoint /{chain}/v0/{network}/scan/transactions
  7. Adds protocol field to EVM scan endpoints with information about verified protocols
  8. Adds an optional request property simulatorConfig that enables simulating at a historical block number and providing state and balance override values to the simulator.
  9. EVM simulation now returns logs and decoded_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.