docs: fix get fee for message docs (#22501)
This commit is contained in:
parent
f804ccdece
commit
f12a8fcd73
|
@ -999,13 +999,12 @@ Get the fee the network will charge for a particular Message
|
||||||
|
|
||||||
#### Parameters:
|
#### Parameters:
|
||||||
|
|
||||||
- `blockhash: <string>` - The blockhash of this block, as base-58 encoded string
|
|
||||||
- `message: <string>` - Base-64 encoded Message
|
- `message: <string>` - Base-64 encoded Message
|
||||||
- `<object>` - (optional) [Commitment](jsonrpc-api.md#configuring-state-commitment) (used for retrieving blockhash)
|
- `<object>` - (optional) [Commitment](jsonrpc-api.md#configuring-state-commitment) (used for retrieving blockhash)
|
||||||
|
|
||||||
#### Results:
|
#### Results:
|
||||||
|
|
||||||
- `<u64>` - Fee corresponding to the message at the specified blockhash
|
- `<u64 | null>` - Fee corresponding to the message at the specified blockhash
|
||||||
|
|
||||||
#### Example:
|
#### Example:
|
||||||
|
|
||||||
|
@ -1017,7 +1016,7 @@ curl http://localhost:8899 -X POST -H "Content-Type: application/json" -d '
|
||||||
"jsonrpc":"2.0",
|
"jsonrpc":"2.0",
|
||||||
"method":"getFeeForMessage",
|
"method":"getFeeForMessage",
|
||||||
"params":[
|
"params":[
|
||||||
"FxVKTksYShgKjnFG3RQUEo2AEesDb4ZHGY3NGJ7KHd7F","AQABAgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEBAQAA",
|
"AQABAgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEBAQAA",
|
||||||
{
|
{
|
||||||
"commitment":"processed"
|
"commitment":"processed"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue