Skip to main content

getFeeForMessage RPC Method

Loading...

Updated on
Apr 30, 2025

getFeeForMessage RPC Method

Please note that this method is only available in solana-core v1.9 or newer. Please use getFees for solana-core v1.8

Parameters

message
string
REQUIRED
Loading...
object
object
Loading...
commitment
string
Loading...
maxSupportedTransactionVersion
number
Loading...

Returns

result
Loading...
context
Loading...
apiVersion
Loading...
slot
Loading...
value
Loading...
Request
Response
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free