Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanschneider authored Oct 1, 2024
1 parent 22ec9b1 commit 84077ed
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/flashbots-auction/advanced/rpc-endpoint.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ where

### flashbots_getFeeRefundTotalsByRecipient

The `flashbots_getFeeRefundTotalsByRecipient` JSON-RPC method returns the total amount of fee refunds that have been processed for a specific address. Our refund process calculates these values weekly.
The `flashbots_getFeeRefundTotalsByRecipient` JSON-RPC method returns the total amount of fee refunds that have been earned by a specific address. Our refund process calculates these values weekly.

```json
{
Expand All @@ -865,8 +865,8 @@ The response contains three fields:
}
```

- `pending`: the total amount of fee refunds not yet received by the recipient
- `received`: the total amount of fee refunds that have been processed and sent to the recipient
- `pending`: the total amount of fee refunds that have been earned but not yet received by the recipient
- `received`: the total amount of fee refunds that have been received by the recipient
- `maxBlockNumber`: the highest block number for which fee refunds have been processed

### flashbots_getFeeRefundsByRecipient
Expand All @@ -891,7 +891,7 @@ Responses are paginated and contain the following fields:

```json
{
"orders": [
"refunds": [
{
"hash": "0x...",
"amount": "0x...",
Expand All @@ -905,7 +905,7 @@ Responses are paginated and contain the following fields:
}
```

The `"orders"` field contains an array of fee refund orders, each with the following fields:
The `"refund"` field contains an array of per-order fee refunds, each with the following fields:

- `hash`: the bundle hash or transaction hash associated with the fee refund
- `amount`: the amount of the fee refund, in wei
Expand Down

0 comments on commit 84077ed

Please sign in to comment.