From 41b869b7e36427dba16ca91d06a462d5aa800662 Mon Sep 17 00:00:00 2001 From: Sahil Aujla Date: Tue, 14 May 2024 10:14:18 -0400 Subject: [PATCH] add blocktag and format options to simulate execution --- transact/alchemy_simulateExecution.yaml | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/transact/alchemy_simulateExecution.yaml b/transact/alchemy_simulateExecution.yaml index 4fd2e0b3..aead99c5 100644 --- a/transact/alchemy_simulateExecution.yaml +++ b/transact/alchemy_simulateExecution.yaml @@ -52,10 +52,28 @@ paths: default: alchemy_simulateExecution params: type: array - minItems: 1 - maxItems: 1 + minItems: 3 + maxItems: 3 items: - $ref: ../components/schemas.yaml#/TxObject + oneOf: + - type: object + title: format + properties: + format: + type: string + enum: + - NESTED + - FLAT + - $ref: ../components/schemas.yaml#/TxObject + title: txObject + - type: string + title: blockTag + enum: + - latest + - safe + - finalized + - earliest + responses: '200': description: Flat Response