Starknet Provider
A Dart package for interacting with Starknet node using JSON-RPC, following the Starknet JSON-RPC specification. Package documentation
Also check WSS documentation for WebSocket support and how-to examples.
Read methods
Name of methods have been extracted from starknet-specs with the following command:
jq .methods[].name ../starknet-specs/api/starknet_api_openrpc.json
| Name | Implemented |
|---|---|
| starknet_specVersion | ✅ |
| starknet_getBlockWithTxHashes | ✅ |
| starknet_getBlockWithTxs | ✅ |
| starknet_getBlockWithReceipts | ✅ |
| starknet_getStateUpdate | ✅ |
| starknet_getStorageAt | ✅ |
| starknet_getTransactionStatus | ✅ |
| starknet_getTransactionByHash | ✅ |
| starknet_getTransactionByBlockIdAndIndex | ✅ |
| starknet_getTransactionReceipt | ✅ |
| starknet_getClass | ✅ |
| starknet_getClassHashAt | ✅ |
| starknet_getClassAt | ✅ |
| starknet_getBlockTransactionCount | ✅ |
| starknet_call | ✅ |
| starknet_estimateFee | ✅ |
| starknet_estimateMessageFee | ✅ |
| starknet_getMessagesStatus | ✅ |
| starknet_getStorageProof | ✅ |
| starknet_blockNumber | ✅ |
| starknet_blockHashAndNumber | ✅ |
| starknet_chainId | ✅ |
| starknet_syncing | ✅ |
| starknet_getEvents | ✅ |
| starknet_getNonce | ✅ |
Write methods
Name of methods have been extracted from starknet-specs with the following command:
jq .methods[].name ../starknet-specs/api/starknet_write_api.json
| Name | Implemented |
|---|---|
| starknet_addInvokeTransaction | ✅ |
| starknet_addDeclareTransaction | ✅ |
| starknet_addDeployAccountTransaction | ✅ |
Trace API Methods
Name of methods have been extracted from starknet-specs with the following command:
jq .methods[].name ../starknet-specs/api/starknet_trace_api_openrpc.json
| Name | Implemented |
|---|---|
| starknet_traceTransaction | ✅ |
| starknet_simulateTransactions | ✅ |
| starknet_traceBlockTransactions | ✅ |
