SDK

Simulate an EVM AA UserOp

post/sdk/{environmentId}/evm/simulateUserOp

Request

  • Base URL
    https://app.dynamicauth.com/api/v0
  • Auth
    none declared

Path parameters

environmentIdstring required
Example:95b11417-f18f-457f-8804-68e361f9164f

ID of the environment

Request body

chainIdstring required
operationobject required
entryPointstring required

Valid blockchain wallet address, must be an alphanumeric string without any special characters

domainstring
valuestring required

Example request

{
  "chainId": "An example name",
  "entryPoint": "0xbF394748301603f18d953C90F0b087CBEC0E1834",
  "domain": "An example name",
  "value": "An example name"
}

Response

Simulated transaction result

showTotalFiatboolean required

Example response

{
  "inAssets": [
    {
      "asset": {
        "address": "0xbF394748301603f18d953C90F0b087CBEC0E1834"
      }
    }
  ],
  "outAssets": [
    {
      "asset": {
        "address": "0xbF394748301603f18d953C90F0b087CBEC0E1834"
      }
    }
  ],
  "counterparties": [
    "0xbF394748301603f18d953C90F0b087CBEC0E1834"
  ],
  "assetExposures": [
    {
      "asset": {
        "address": "0xbF394748301603f18d953C90F0b087CBEC0E1834"
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 5 revisions of this API.