From ba2179d4f4a7459c3fdfe40c2a934ce0f8282887 Mon Sep 17 00:00:00 2001 From: Soham Zemse <22412996+zemse@users.noreply.github.com> Date: Thu, 28 Jul 2022 21:14:47 +0530 Subject: [PATCH] Add eth_multicall --- src/eth/execute.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/eth/execute.yaml b/src/eth/execute.yaml index c5e527074..26a5eaa5d 100644 --- a/src/eth/execute.yaml +++ b/src/eth/execute.yaml @@ -13,6 +13,27 @@ name: Return data schema: $ref: '#/components/schemas/bytes' +- name: eth_multicall + summary: Executes multiple message calls immediately one after the other without creating transactions on the block chain. + params: + - name: Transactions + required: true + schema: + title: Transactions + type: array + items: + $ref: '#/components/schemas/GenericTransaction' + - name: Block + required: false + schema: + $ref: '#/components/schemas/BlockNumberOrTag' + result: + name: Return data + schema: + title: Return data + type: array + items: + $ref: '#/components/schemas/bytes' - name: eth_estimateGas summary: Generates and returns an estimate of how much gas is necessary to allow the transaction to complete. params: