HTTP Methods
getFeeForMessage
Get the fee the network will charge for a particular Message.
POST
getFeeForMessage
Documentation Index
Fetch the complete documentation index at: https://www.helius.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
Request Parameters
Base-64 encoded serialized Solana transaction message to calculate the exact fee for.
The commitment level for the request.
confirmedfinalized
The minimum slot that the request can be evaluated at.
Authorizations
Body
application/json
The JSON-RPC protocol version.
Available options:
2.0 Example:
"2.0"
A unique identifier for the request.
Example:
"1"
The name of the RPC method to invoke.
Available options:
getFeeForMessage Example:
"getFeeForMessage"
Parameters for the method.
Base-64 encoded serialized Solana transaction message to calculate the exact fee for.
Example:
"AQABAgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEBAQAA"
Previous
getFirstAvailableBlockReturns the slot of the lowest confirmed block that has not been purged from the ledger.
Next
getFeeForMessage