Skip to content

Commit f8fc414

Browse files
authored
Merge pull request #402 from alchemyplatform/ws-fix-note
add responses for v07 WS apis
2 parents 2db3a21 + b60690d commit f8fc414

File tree

1 file changed

+113
-37
lines changed

1 file changed

+113
-37
lines changed

evm_responses.yaml

+113-37
Original file line numberDiff line numberDiff line change
@@ -1490,18 +1490,35 @@ eth_estimateUserOperationGas:
14901490
result:
14911491
type: object
14921492
properties:
1493-
preVerificationGas:
1494-
type: integer
1495-
description: Gas overhead of this UserOperation
1496-
verificationGasLimit:
1497-
type: integer
1498-
description: Actual gas used by the validation of this UserOperation
1499-
callGasLimit:
1500-
type: integer
1501-
description: Value used by inner account execution
1502-
paymasterVerificationGasLimit:
1503-
type: integer
1504-
description: Value used by the paymaster during verification. Only present if the request used a v0.7 user operation that contained a paymaster.
1493+
entrypointV06Response:
1494+
type: object
1495+
title: Entrypoint v0.6 Response
1496+
properties:
1497+
preVerificationGas:
1498+
type: integer
1499+
description: "Gas overhead of this UserOperation."
1500+
verificationGasLimit:
1501+
type: integer
1502+
description: "Actual gas used by the validation of this UserOperation."
1503+
callGasLimit:
1504+
type: integer
1505+
description: "Value used by inner account execution."
1506+
entrypointV07Response:
1507+
type: object
1508+
title: Entrypoint v0.7 Response
1509+
properties:
1510+
preVerificationGas:
1511+
type: integer
1512+
description: "Gas overhead of this UserOperation."
1513+
verificationGasLimit:
1514+
type: integer
1515+
description: "Actual gas used by the validation of this UserOperation."
1516+
callGasLimit:
1517+
type: integer
1518+
description: "Value used by inner account execution."
1519+
paymasterVerificationGasLimit:
1520+
type: integer
1521+
description: "Value used by the paymaster during verification."
15051522
example:
15061523
$ref: ./evm_examples.yaml#/eth_estimateUserOperationGas
15071524

@@ -1562,11 +1579,33 @@ alchemy_requestPaymasterAndData:
15621579
result:
15631580
type: object
15641581
properties:
1565-
paymasterAndData:
1566-
type: string
1567-
description: |
1568-
The 0x-prefixed hex string for the user to put into the UO's paymasterAndData field.
1569-
Contains gas manager address, sigTimeRange, and secp256k1 signature.
1582+
entrypointV06Response:
1583+
type: object
1584+
title: Entrypoint v0.6 Response
1585+
properties:
1586+
paymasterAndData:
1587+
type: string
1588+
description: |
1589+
The 0x-prefixed hex string for the user to put into the UO's paymasterAndData field.
1590+
Contains gas manager address, sigTimeRange, and secp256k1 signature.
1591+
entrypointV07Response:
1592+
type: object
1593+
title: Entrypoint v0.7 Response
1594+
properties:
1595+
paymaster:
1596+
type: string
1597+
description: |
1598+
The paymaster address used in the operation.
1599+
paymasterData:
1600+
type: string
1601+
description: |
1602+
The data for the paymaster in the operation.
1603+
paymasterVerificationGasLimit:
1604+
type: string
1605+
description: "The gas limit for paymaster verification."
1606+
paymasterPostOpGasLimit:
1607+
type: string
1608+
description: "The gas limit for paymaster post-operation."
15701609
example:
15711610
$ref: ./evm_examples.yaml#/alchemy_requestPaymasterAndData
15721611

@@ -1578,25 +1617,62 @@ alchemy_requestGasAndPaymasterAndData:
15781617
result:
15791618
type: object
15801619
properties:
1581-
paymasterAndData:
1582-
type: string
1583-
description: |
1584-
The 0x-prefixed hex string for the user to put into the UO's paymasterAndData field.
1585-
Contains gas manager address, sigTimeRange, and secp256k1 signature.
1586-
callGasLimit:
1587-
type: string
1588-
description: The amount of gas to allocate the main execution call
1589-
verificationGasLimit:
1590-
type: string
1591-
description: The amount of gas to allocate for the verification step
1592-
preVerificationGas:
1593-
type: string
1594-
description: The amount of gas to pay for to compensate the bundler for pre-verification execution and calldata
1595-
maxFeePerGas:
1596-
type: string
1597-
description: The maximum fee per gas to pay for the execution of this operation (similar to EIP-1559 max_fee_per_gas)
1598-
maxPriorityFeePerGas:
1599-
type: string
1600-
description: Maximum priority fee per gas (similar to EIP-1559 max_priority_fee_per_gas)
1620+
entrypointV06Response:
1621+
title: Entrypoint v0.6 Response
1622+
type: object
1623+
properties:
1624+
paymasterAndData:
1625+
type: string
1626+
description: |
1627+
The 0x-prefixed hex string for the user to put into the UO's paymasterAndData field.
1628+
Contains gas manager address, sigTimeRange, and secp256k1 signature.
1629+
callGasLimit:
1630+
type: string
1631+
description: "The amount of gas to allocate for the main execution call."
1632+
verificationGasLimit:
1633+
type: string
1634+
description: "The amount of gas to allocate for the verification step."
1635+
preVerificationGas:
1636+
type: string
1637+
description: "The amount of gas to compensate the bundler for pre-verification execution and calldata."
1638+
maxFeePerGas:
1639+
type: string
1640+
description: "The maximum fee per gas to pay for the execution of this operation (similar to EIP-1559 max_fee_per_gas)."
1641+
maxPriorityFeePerGas:
1642+
type: string
1643+
description: "Maximum priority fee per gas (similar to EIP-1559 max_priority_fee_per_gas)."
1644+
entrypointV07Response:
1645+
type: object
1646+
title: Entrypoint v0.7 Response
1647+
properties:
1648+
paymaster:
1649+
type: string
1650+
description: |
1651+
The paymaster address used in the operation.
1652+
paymasterData:
1653+
type: string
1654+
description: |
1655+
The data for the paymaster in the operation.
1656+
callGasLimit:
1657+
type: string
1658+
description: "The amount of gas to allocate for the main execution call."
1659+
verificationGasLimit:
1660+
type: string
1661+
description: "The amount of gas to allocate for the verification step."
1662+
preVerificationGas:
1663+
type: string
1664+
description: "The amount of gas to compensate the bundler for pre-verification execution and calldata."
1665+
maxFeePerGas:
1666+
type: string
1667+
description: "The maximum fee per gas to pay for the execution of this operation (similar to EIP-1559 max_fee_per_gas)."
1668+
maxPriorityFeePerGas:
1669+
type: string
1670+
description: "Maximum priority fee per gas (similar to EIP-1559 max_priority_fee_per_gas)."
1671+
paymasterVerificationGasLimit:
1672+
type: string
1673+
description: "The gas limit for paymaster verification."
1674+
paymasterPostOpGasLimit:
1675+
type: string
1676+
description: "The gas limit for paymaster post-operation."
16011677
example:
16021678
$ref: ./evm_examples.yaml#/alchemy_requestGasAndPaymasterAndData

0 commit comments

Comments
 (0)