Skip to content
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

Updated miner_setMinPriorityFee param to hex #1460

Merged
merged 2 commits into from
Nov 29, 2023
Merged
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
8 changes: 4 additions & 4 deletions docs/public-networks/reference/api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5506,7 +5506,7 @@ curl -X POST --data '{"jsonrpc":"2.0","method":"miner_getMinPriorityFee","params
{
"jsonrpc": "2.0",
"id": 1,
"result": 0x1
"result": "0x1"
}
```
<!--/tabs-->
Expand Down Expand Up @@ -5567,7 +5567,7 @@ Use [`miner_getMinPriorityFee`](#minergetminpriorityfee) to get the current valu

#### Parameters

`minPriorityFeePerGas`: _integer_ - Minimum priority fee per gas
`minPriorityFeePerGas`: _string_ - Minimum priority fee per gas in hexadecimal.

#### Returns

Expand All @@ -5578,7 +5578,7 @@ Use [`miner_getMinPriorityFee`](#minergetminpriorityfee) to get the current valu
# curl HTTP request

```bash
curl -X POST --data '{"jsonrpc":"2.0","method":"miner_setMinPriorityFee","params":[1],"id":1}' http://127.0.0.1:8545
curl -X POST --data '{"jsonrpc":"2.0","method":"miner_setMinPriorityFee","params":["0x0a"],"id":1}' http://127.0.0.1:8545
```

# wscat WS request
Expand All @@ -5587,7 +5587,7 @@ curl -X POST --data '{"jsonrpc":"2.0","method":"miner_setMinPriorityFee","params
{
"jsonrpc": "2.0",
"method": "miner_setMinPriorityFee",
"params": [1],
"params": ["0x0a"],
"id": 1
}
```
Expand Down