From 5baa39656a1e0a521480e2c2562d64d4b046c478 Mon Sep 17 00:00:00 2001 From: Ahmad Wilson Date: Thu, 6 Aug 2026 10:38:34 -0500 Subject: [PATCH] eth: add example for eth_simulateV1 Add a minimal request/response example mirroring the validated ethSimulate-simple fixture so the method documentation shows a concrete call. --- src/eth/execute.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/src/eth/execute.yaml b/src/eth/execute.yaml index 1c1d700ed..ee42cff97 100644 --- a/src/eth/execute.yaml +++ b/src/eth/execute.yaml @@ -165,3 +165,35 @@ message: Max init code size exceeded - code: -38026 message: Client adjustable limit exceeded + examples: + - name: eth_simulateV1 simple transfer + params: + - name: Payload + value: + blockStateCalls: + - stateOverrides: + '0xc000000000000000000000000000000000000000': + balance: '0x3e8' + calls: + - from: '0xc000000000000000000000000000000000000000' + to: '0xc100000000000000000000000000000000000000' + value: '0x3e8' + - from: '0xc100000000000000000000000000000000000000' + to: '0xc200000000000000000000000000000000000000' + value: '0x3e8' + - name: Block tag + value: 'latest' + result: + name: Result of calls + value: + - calls: + - returnData: '0x' + logs: [] + gasUsed: '0x5208' + maxUsedGas: '0x5208' + status: '0x1' + - returnData: '0x' + logs: [] + gasUsed: '0x5208' + maxUsedGas: '0x5208' + status: '0x1'