From f12a8fcd736fa91ec57e27239f9eab76281fab2d Mon Sep 17 00:00:00 2001 From: Yihau Chen Date: Fri, 14 Jan 2022 16:34:05 +0800 Subject: [PATCH] docs: fix get fee for message docs (#22501) --- docs/src/developing/clients/jsonrpc-api.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/src/developing/clients/jsonrpc-api.md b/docs/src/developing/clients/jsonrpc-api.md index 2148b30f2c..ea3b56e1db 100644 --- a/docs/src/developing/clients/jsonrpc-api.md +++ b/docs/src/developing/clients/jsonrpc-api.md @@ -999,13 +999,12 @@ Get the fee the network will charge for a particular Message #### Parameters: -- `blockhash: ` - The blockhash of this block, as base-58 encoded string - `message: ` - Base-64 encoded Message - `` - (optional) [Commitment](jsonrpc-api.md#configuring-state-commitment) (used for retrieving blockhash) #### Results: -- `` - Fee corresponding to the message at the specified blockhash +- `` - Fee corresponding to the message at the specified blockhash #### Example: @@ -1017,7 +1016,7 @@ curl http://localhost:8899 -X POST -H "Content-Type: application/json" -d ' "jsonrpc":"2.0", "method":"getFeeForMessage", "params":[ - "FxVKTksYShgKjnFG3RQUEo2AEesDb4ZHGY3NGJ7KHd7F","AQABAgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEBAQAA", + "AQABAgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEBAQAA", { "commitment":"processed" }