getFeeForMessage RPC Method
Get the fee the network will charge for a particular Message
Version Restriction
This method is only available in solana-core
v1.9 or newer. Please use
getFees for solana-core
v1.8 and below.
Parameters
string
required
Base-64 encoded Message
object
optional
Configuration object containing the following fields:
commitment string
optional
minContextSlot number
optional
The minimum slot that the request can be evaluated at
Result
<u64|null>
- Fee corresponding to the message at the specified blockhash