Share your GetBlock experience with other devs and get 5M RPCs

banner image

Last updated on January 1, 1970

1 min read

Method getFeeCalculatorForBlockhash Solana (SOL)
connect with JSON-RPC protocol

getFeeCalculatorForBlockhash

info-circle-fill

Method not allowed

info-circle-fill

DEPRECATED Please use isBlockhashValid or getFeeForMessage instead Thismethod is expected to be removed in solana-core v2.0Returns the fee calculator associated with the query blockhash, or nullif the blockhash has expired

Parameters

blockhash - string

query blockhash as a Base58 encoded string

commitment - object

Optional

Request

curl --location --request POST 'https://sol.getblock.io/mainnet' \ 
--header 'x-api-key: YOUR-API-KEY' \ 
--header 'Content-Type: application/json' \ 
--data-raw '{"jsonrpc": "2.0",
"method": "getFeeCalculatorForBlockhash",
"params": [null, null],
"id": "getblock.io"}'

Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}
banner icon

Start Building with GetBlock RPCs for Free