Json Rpc Provider
A provider for interacting with Starknet using JSON-RPC. You should reuse it in your application to share the httpService or provide it with your own httpService.
Parameters
url of the service providing a rpc interface
service used for making http requests
Functions
Batch multiple calls into a single RPC request
Batch multiple various calls into a single RPC request
Calls a contract deployed on Starknet.
Declare contract using version 3 transaction.
Deploy an account contract using version 3 transaction.
Get a block with transaction receipts including optional response flags.
Get a block with transactions including optional response flags.
Get the contract class hash.
Estimate a fee.
Estimate a message fee.
Get L1 handler transaction data.
Get a nonce.
Get a Starknet version for the selected block.
Get block state information.
Get a value of storage var.
Get a value of storage var with metadata.
Get merkle paths in one of the state tries.
Get a transaction with optional response flags.
Get transaction by block id and index with optional response flags.
Simulate executing a list of transactions
Simulate executing a list of transactions, returning initial reads alongside results.
Get execution traces for all transactions in a block.
Get the execution trace of a transaction by its hash.