Skip to content

Commit b8da2ff

Browse files
authored
Remove getMevRefundsByHash endpoint (#584)
1 parent e8c0cf1 commit b8da2ff

File tree

1 file changed

+0
-35
lines changed

1 file changed

+0
-35
lines changed

docs/flashbots-auction/advanced/rpc-endpoint.mdx

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,41 +1006,6 @@ This API does not require authentication.
10061006
}
10071007
```
10081008

1009-
### flashbots_getMevRefundsByHash
1010-
1011-
Returns detailed information about the [MEV refunds](/flashbots-protect/mev-refunds) generated by a specific transaction or sbundle hash. An sbundle hash is a bundle hash for a bundle that was submitted to MEV-Share via `mev_sendBundle`. This API does not require authentication.
1012-
1013-
#### Request
1014-
1015-
```json
1016-
{
1017-
"jsonrpc": "2.0",
1018-
"id": 1,
1019-
"method": "flashbots_getMevRefundsByHash",
1020-
"params": ["0x8A29C254B498E0757FF93B3E8424225DC441C24AC5C6A2F8CC9925D36E0CDB86"]
1021-
}
1022-
```
1023-
1024-
#### Response
1025-
1026-
```json
1027-
{
1028-
"jsonrpc": "2.0",
1029-
"id": 1,
1030-
"result": {
1031-
"refunds": [
1032-
{
1033-
"txHash": "0xeb81e87b450f83a5e1a08033ea51bbb6a4b5b706eb629fbb1ed8e81d173207fe",
1034-
"amount": "0x95dc82ca0cb6b",
1035-
"recipient": "0xa34c84ed07fdf0c92858e364cfcdfa1e47fe5369"
1036-
}
1037-
]
1038-
}
1039-
}
1040-
```
1041-
1042-
Note: The total is returned as a hexadecimal string representing the amount in wei.
1043-
10441009
### API Response
10451010

10461011
- All method supports JSON-RPC standards for success response and not supported for error response(V2 methods are exceptions).

0 commit comments

Comments
 (0)