starknet_provider 0.2.0

SDKdartflutter
Platformandroidioswindowslinuxmacos

Starknet provider for Dart and Flutter applications.

Starknet Provider

A Dart package for interacting with Starknet node using JSON-RPC, following the Starknet JSON-RPC specification.

Transaction support

FeatureStateVersion
invoke✅0, 1, 3
declare✅1, 2, 3
deploy_account✅1, 3

Supported JSON RPC version: 0.7.1

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
NameImplemented
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_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
NameImplemented
starknet_addInvokeTransaction✅
starknet_addDeclareTransaction✅
starknet_addDeployAccountTransaction✅