|
| 1 | +Transaction4844Unsigned: |
| 2 | + type: object |
| 3 | + title: EIP-4844 transaction. |
| 4 | + required: |
| 5 | + - type |
| 6 | + - nonce |
| 7 | + - to |
| 8 | + - gas |
| 9 | + - value |
| 10 | + - input |
| 11 | + - maxPriorityFeePerGas |
| 12 | + - maxFeePerGas |
| 13 | + - maxFeePerBlobGas |
| 14 | + - accessList |
| 15 | + - blobVersionedHashes |
| 16 | + - chainId |
| 17 | + properties: |
| 18 | + type: |
| 19 | + title: type |
| 20 | + $ref: '#/components/schemas/byte' |
| 21 | + nonce: |
| 22 | + title: nonce |
| 23 | + $ref: '#/components/schemas/uint' |
| 24 | + to: |
| 25 | + title: to address |
| 26 | + $ref: '#/components/schemas/address' |
| 27 | + gas: |
| 28 | + title: gas limit |
| 29 | + $ref: '#/components/schemas/uint' |
| 30 | + value: |
| 31 | + title: value |
| 32 | + $ref: '#/components/schemas/uint' |
| 33 | + input: |
| 34 | + title: input data |
| 35 | + $ref: '#/components/schemas/bytes' |
| 36 | + maxPriorityFeePerGas: |
| 37 | + title: max priority fee per gas |
| 38 | + description: Maximum fee per gas the sender is willing to pay to miners in wei |
| 39 | + $ref: '#/components/schemas/uint' |
| 40 | + maxFeePerGas: |
| 41 | + title: max fee per gas |
| 42 | + description: The maximum total fee per gas the sender is willing to pay (includes the network / base fee and miner / priority fee) in wei |
| 43 | + $ref: '#/components/schemas/uint' |
| 44 | + maxFeePerBlobGas: |
| 45 | + title: max fee per blob gas |
| 46 | + description: The maximum total fee per gas the sender is willing to pay for blob gas in wei |
| 47 | + $ref: '#/components/schemas/uint' |
| 48 | + accessList: |
| 49 | + title: accessList |
| 50 | + description: EIP-2930 access list |
| 51 | + $ref: '#/components/schemas/AccessList' |
| 52 | + blobVersionedHashes: |
| 53 | + title: blobVersionedHashes |
| 54 | + description: List of versioned blob hashes associated with the transaction's EIP-4844 data blobs. |
| 55 | + type: array |
| 56 | + items: |
| 57 | + $ref: '#/components/schemas/hash32' |
| 58 | + chainId: |
| 59 | + title: chainId |
| 60 | + description: Chain ID that this transaction is valid on. |
| 61 | + $ref: '#/components/schemas/uint' |
1 | 62 | AccessListEntry:
|
2 | 63 | title: Access list entry
|
3 | 64 | type: object
|
@@ -164,9 +225,31 @@ TransactionLegacyUnsigned:
|
164 | 225 | $ref: '#/components/schemas/uint'
|
165 | 226 | TransactionUnsigned:
|
166 | 227 | oneOf:
|
| 228 | + - $ref: '#/components/schemas/Transaction4844Unsigned' |
167 | 229 | - $ref: '#/components/schemas/Transaction1559Unsigned'
|
168 | 230 | - $ref: '#/components/schemas/Transaction2930Unsigned'
|
169 | 231 | - $ref: '#/components/schemas/TransactionLegacyUnsigned'
|
| 232 | +Transaction4844Signed: |
| 233 | + title: Signed 4844 Transaction |
| 234 | + type: object |
| 235 | + allOf: |
| 236 | + - $ref: '#/components/schemas/Transaction4844Unsigned' |
| 237 | + - title: EIP-4844 transaction signature properties. |
| 238 | + required: |
| 239 | + - yParity |
| 240 | + - r |
| 241 | + - s |
| 242 | + properties: |
| 243 | + yParity: |
| 244 | + title: yParity |
| 245 | + description: The parity (0 for even, 1 for odd) of the y-value of the secp256k1 signature. |
| 246 | + $ref: '#/components/schemas/uint' |
| 247 | + r: |
| 248 | + title: r |
| 249 | + $ref: '#/components/schemas/uint' |
| 250 | + s: |
| 251 | + title: s |
| 252 | + $ref: '#/components/schemas/uint' |
170 | 253 | Transaction1559Signed:
|
171 | 254 | title: Signed 1559 Transaction
|
172 | 255 | type: object
|
@@ -239,6 +322,7 @@ TransactionLegacySigned:
|
239 | 322 | $ref: '#/components/schemas/uint'
|
240 | 323 | TransactionSigned:
|
241 | 324 | oneOf:
|
| 325 | + - $ref: '#/components/schemas/Transaction4844Signed' |
242 | 326 | - $ref: '#/components/schemas/Transaction1559Signed'
|
243 | 327 | - $ref: '#/components/schemas/Transaction2930Signed'
|
244 | 328 | - $ref: '#/components/schemas/TransactionLegacySigned'
|
@@ -313,10 +397,26 @@ GenericTransaction:
|
313 | 397 | title: max fee per gas
|
314 | 398 | description: The maximum total fee per gas the sender is willing to pay (includes the network / base fee and miner / priority fee) in wei
|
315 | 399 | $ref: '#/components/schemas/uint'
|
| 400 | + maxFeePerBlobGas: |
| 401 | + title: max fee per blob gas |
| 402 | + description: The maximum total fee per gas the sender is willing to pay for blob gas in wei |
| 403 | + $ref: '#/components/schemas/uint' |
316 | 404 | accessList:
|
317 | 405 | title: accessList
|
318 | 406 | description: EIP-2930 access list
|
319 | 407 | $ref: '#/components/schemas/AccessList'
|
| 408 | + blobVersionedHashes: |
| 409 | + title: blobVersionedHashes |
| 410 | + description: List of versioned blob hashes associated with the transaction's EIP-4844 data blobs. |
| 411 | + type: array |
| 412 | + items: |
| 413 | + $ref: '#/components/schemas/hash32' |
| 414 | + blobs: |
| 415 | + title: blobs |
| 416 | + description: Raw blob data. |
| 417 | + type: array |
| 418 | + items: |
| 419 | + $ref: '#/components/schemas/bytes' |
320 | 420 | chainId:
|
321 | 421 | title: chainId
|
322 | 422 | description: Chain ID that this transaction is valid on.
|
|
0 commit comments