Skip to main content

Parameters

chainId
string
default:"starknet-sepolia"
required
Unique identifier for a blockchain network.
id
number
default:1
required
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"starknet_estimateFee"
required
JSON-RPC method name.
params
object
The parameters for method starknet_estimateFee: []Parameters for starknet_estimateFee:
  • params.request: Type: object[].
  • params.block_id: BlockID object containing hash and number.

Returns

result
array
Array of fee estimates corresponding to the transactions.