curl --request POST \
--url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/evm/simulateUserOp \
--header 'Content-Type: application/json' \
--data '{
"chainId": "An example name",
"operation": {},
"entryPoint": "0xbF394748301603f18d953C90F0b087CBEC0E1834",
"domain": "An example name",
"value": "An example name"
}'
{
"inAssets": [
{
"asset": {
"address": "0xbF394748301603f18d953C90F0b087CBEC0E1834",
"chainId": 123,
"chainName": "<string>",
"decimals": 123,
"logoUrl": "<string>",
"name": "<string>",
"symbol": "<string>",
"type": "<string>"
},
"transferIn": [
{
"rawValue": "<string>",
"summary": "<string>",
"usdPrice": "<string>",
"value": "<string>"
}
],
"transferOut": [
{
"rawValue": "<string>",
"summary": "<string>",
"usdPrice": "<string>",
"value": "<string>"
}
]
}
],
"outAssets": [
{
"asset": {
"address": "0xbF394748301603f18d953C90F0b087CBEC0E1834",
"chainId": 123,
"chainName": "<string>",
"decimals": 123,
"logoUrl": "<string>",
"name": "<string>",
"symbol": "<string>",
"type": "<string>"
},
"transferIn": [
{
"rawValue": "<string>",
"summary": "<string>",
"usdPrice": "<string>",
"value": "<string>"
}
],
"transferOut": [
{
"rawValue": "<string>",
"summary": "<string>",
"usdPrice": "<string>",
"value": "<string>"
}
]
}
],
"counterparties": [
"0xbF394748301603f18d953C90F0b087CBEC0E1834"
],
"priceData": {
"nativeTokenUsdPrice": 123
},
"showTotalFiat": true,
"validation": {
"result": "Benign",
"description": "<string>",
"reason": "<string>",
"classification": "<string>"
},
"assetExposures": [
{
"asset": {
"address": "0xbF394748301603f18d953C90F0b087CBEC0E1834",
"chainId": 123,
"chainName": "<string>",
"decimals": 123,
"logoUrl": "<string>",
"name": "<string>",
"symbol": "<string>",
"type": "<string>"
},
"spenderToInfo": {}
}
]
}
curl --request POST \
--url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/evm/simulateUserOp \
--header 'Content-Type: application/json' \
--data '{
"chainId": "An example name",
"operation": {},
"entryPoint": "0xbF394748301603f18d953C90F0b087CBEC0E1834",
"domain": "An example name",
"value": "An example name"
}'
{
"inAssets": [
{
"asset": {
"address": "0xbF394748301603f18d953C90F0b087CBEC0E1834",
"chainId": 123,
"chainName": "<string>",
"decimals": 123,
"logoUrl": "<string>",
"name": "<string>",
"symbol": "<string>",
"type": "<string>"
},
"transferIn": [
{
"rawValue": "<string>",
"summary": "<string>",
"usdPrice": "<string>",
"value": "<string>"
}
],
"transferOut": [
{
"rawValue": "<string>",
"summary": "<string>",
"usdPrice": "<string>",
"value": "<string>"
}
]
}
],
"outAssets": [
{
"asset": {
"address": "0xbF394748301603f18d953C90F0b087CBEC0E1834",
"chainId": 123,
"chainName": "<string>",
"decimals": 123,
"logoUrl": "<string>",
"name": "<string>",
"symbol": "<string>",
"type": "<string>"
},
"transferIn": [
{
"rawValue": "<string>",
"summary": "<string>",
"usdPrice": "<string>",
"value": "<string>"
}
],
"transferOut": [
{
"rawValue": "<string>",
"summary": "<string>",
"usdPrice": "<string>",
"value": "<string>"
}
]
}
],
"counterparties": [
"0xbF394748301603f18d953C90F0b087CBEC0E1834"
],
"priceData": {
"nativeTokenUsdPrice": 123
},
"showTotalFiat": true,
"validation": {
"result": "Benign",
"description": "<string>",
"reason": "<string>",
"classification": "<string>"
},
"assetExposures": [
{
"asset": {
"address": "0xbF394748301603f18d953C90F0b087CBEC0E1834",
"chainId": 123,
"chainName": "<string>",
"decimals": 123,
"logoUrl": "<string>",
"name": "<string>",
"symbol": "<string>",
"type": "<string>"
},
"spenderToInfo": {}
}
]
}
ID of the environment
36
"95b11417-f18f-457f-8804-68e361f9164f"
Simulated transaction result
The response is of type object
.