Skip to main content

0.01 credits per call

getFees on Solana: Returns a recent blockhash and fee schedule (deprecated).
This method is deprecated in the upstream RPC API and may be removed by node operators. Use getFeeForMessage instead.

Endpoint

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

Parameters

Returns

object: {context, value: {blockhash, feeCalculator, lastValidSlot, lastValidBlockHeight}}.

Examples

Errors

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