Skip to content

Commit

Permalink
Merge pull request #385 from alchemyplatform/fix-simulateexecution
Browse files Browse the repository at this point in the history
add blocktag and format options to simulate execution
  • Loading branch information
SahilAujla authored May 14, 2024
2 parents c5f2c52 + 41b869b commit 56e2228
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions transact/alchemy_simulateExecution.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 56e2228

Please sign in to comment.