Skip to content

support tx_full mev-share hint #601

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/specs/mev-share/_mev_sendBundle.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
"logs" |
"function_selector" |
"hash" |
"tx_hash"
"tx_hash" |
"full"
>,
builders?: Array<string>,
},
Expand Down
3 changes: 2 additions & 1 deletion docs/specs/mev-share/_mev_simBundle.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
"logs" |
"function_selector" |
"hash" |
"tx_hash"
"tx_hash" |
"full"
>,
builders?: Array<string>,
},
Expand Down
25 changes: 25 additions & 0 deletions docs/specs/mev-share/_streamEvent.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

```typescript
{
hash: string,
Expand All @@ -7,6 +8,18 @@
callData?: string,
functionSelector?: string,
to?: string,
from?: string,
value?: string,
maxFeePerGas?: string,
maxPriorityFeePerGas?: string,
nonce?: string,
chainId?: string,
accessList?: Array<{
address: string,
storageKeys: string[]
}>,
gas?: string,
type?: string
}>
}
```
Expand All @@ -20,3 +33,15 @@
| `txs.callData` | Hex-string | Calldata of the transaction. |
| `txs.functionSelector` | Hex-string | 4-byte function selector. |
| `txs.to` | Hex-string | Transaction recipient address. |
| `txs.from` | Hex-string | Transaction sender address. |
| `txs.value` | Hex-string | Value transferred in the transaction. |
| `txs.gasLimit` | Hex-string | Gas limit of the transaction. |
| `txs.maxFeePerGas` | Hex-string | Maximum fee per gas of the transaction. GasFeeCap |
| `txs.maxPriorityFeePerGas` | Hex-string | Maximum priority fee per gas of the transaction. GasTipCap |
| `txs.nonce` | Hex-string | Nonce of the transaction. |
| `txs.chainId` | Hex-string | Chain ID of the transaction. |
| `txs.accessList` | Array of JSON objects | Access list of the transaction. |
| `txs.accessList.address` | Hex-string | Address in the access list. |
| `txs.accessList.storageKeys` | Array of hex-strings | Storage keys in the access list. |
| `txs.gas` | Hex-string | Gas limit of the transaction. |
| `txs.type` | Hex-string | Type of the transaction. |
4 changes: 4 additions & 0 deletions docs/specs/mev-share/hints.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,9 @@
{
"name": "tx_hash",
"description": "Share individual tx hashes in the bundle."
},
{
"name": "full",
"description": "Share all fields of individual txs except signature. This includes nonce, gas price, gas limit, to, from, value, data, and chainId."
}
]