post https://{network}.g.alchemy.com/v2/
Simulates a transaction and returns a list of asset changes.
Response
Simulates a transaction and returns a list of asset changes.
xxxxxxxxxx
19curl --request POST \
--url https://eth-mainnet.g.alchemy.com/v2/docs-demo \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "alchemy_simulateAssetChanges",
"params": [
{
"from": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
"to": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"value": "0x0",
"data": "0xa9059cbb000000000000000000000000fc43f5f9dd45258b3aff31bdbe6561d97e8b71de00000000000000000000000000000000000000000000000000000000000f4240"
}
]
}
'
Try It!
to start a request and see the response here! Or choose an example: