Skip to main content

0.01 credits per call

getFeeForMessage on Solana: Returns the fee the cluster will charge for a message.

Endpoint

Authenticate with Authorization: Bearer <GOLDRUSH_API_KEY>. See authentication.

Parameters

Returns

object: {context, value: u64 | null}: fee in lamports, or null if the blockhash has expired.

Examples

Errors

Standard JSON-RPC errors: -32600 invalid request, -32601 method not found, -32602 invalid params.