Skip to content

Commit 1a650cb

Browse files
committed
support tx_full mev-share hint
1 parent f23a32b commit 1a650cb

File tree

4 files changed

+33
-2
lines changed

4 files changed

+33
-2
lines changed

docs/specs/mev-share/_mev_sendBundle.mdx

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
"logs" |
4040
"function_selector" |
4141
"hash" |
42-
"tx_hash"
42+
"tx_hash" |
43+
"tx_full"
4344
>,
4445
builders?: Array<string>,
4546
},

docs/specs/mev-share/_mev_simBundle.mdx

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
"logs" |
3434
"function_selector" |
3535
"hash" |
36-
"tx_hash"
36+
"tx_hash" |
37+
"tx_full"
3738
>,
3839
builders?: Array<string>,
3940
},

docs/specs/mev-share/_streamEvent.mdx

+25
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
```typescript
23
{
34
hash: string,
@@ -7,6 +8,18 @@
78
callData?: string,
89
functionSelector?: string,
910
to?: string,
11+
from?: string,
12+
value?: string,
13+
maxFeePerGas?: string,
14+
maxPriorityFeePerGas?: string,
15+
nonce?: string,
16+
chainId?: string,
17+
accessList?: Array<{
18+
address: string,
19+
storageKeys: string[]
20+
}>,
21+
gas?: string,
22+
type?: string
1023
}>
1124
}
1225
```
@@ -20,3 +33,15 @@
2033
| `txs.callData` | Hex-string | Calldata of the transaction. |
2134
| `txs.functionSelector` | Hex-string | 4-byte function selector. |
2235
| `txs.to` | Hex-string | Transaction recipient address. |
36+
| `txs.from` | Hex-string | Transaction sender address. |
37+
| `txs.value` | Hex-string | Value transferred in the transaction. |
38+
| `txs.gasLimit` | Hex-string | Gas limit of the transaction. |
39+
| `txs.maxFeePerGas` | Hex-string | Maximum fee per gas of the transaction. GasFeeCap |
40+
| `txs.maxPriorityFeePerGas` | Hex-string | Maximum priority fee per gas of the transaction. GasTipCap |
41+
| `txs.nonce` | Hex-string | Nonce of the transaction. |
42+
| `txs.chainId` | Hex-string | Chain ID of the transaction. |
43+
| `txs.accessList` | Array of JSON objects | Access list of the transaction. |
44+
| `txs.accessList.address` | Hex-string | Address in the access list. |
45+
| `txs.accessList.storageKeys` | Array of hex-strings | Storage keys in the access list. |
46+
| `txs.gas` | Hex-string | Gas limit of the transaction. |
47+
| `txs.type` | Hex-string | Type of the transaction. |

docs/specs/mev-share/hints.json

+4
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,9 @@
2626
{
2727
"name": "tx_hash",
2828
"description": "Share individual tx hashes in the bundle."
29+
},
30+
{
31+
"name": "tx_full",
32+
"description": "Share all fields of individual txs except signature. This includes nonce, gas price, gas limit, to, from, value, data, and chainId."
2933
}
3034
]

0 commit comments

Comments
 (0)