starknet.dart

The goal of this SDK is to be able to interact with StarkNet smart contracts in a type-safe way.

šŸ’¬ telegram chat

StarkNet Features Compatibility

Transaction

FeatureStateVersion
invokeāœ…0, 1
declareāœ…1, 2
deploy_accountāœ…1

Supported RPC methods for JSON RPC v0.3.0

FeatureState
Read
starknet_getBlockWithTxHashesāœ…
starknet_getBlockWithTxsāœ…
starknet_getStateUpdateāœ…
starknet_getStorageAtāœ…
starknet_getTransactionByHashāœ…
starknet_getTransactionByBlockIdAndIndexāœ…
starknet_getTransactionReceiptāœ…
starknet_getClassāœ…
starknet_getClassHashAtāœ…
starknet_getClassAtāœ…
starknet_getBlockTransactionCountāœ…
starknet_callāœ…
starknet_estimateFeeāœ…
starknet_blockNumberāœ…
starknet_blockHashAndNumberāœ…
starknet_chainIdāœ…
starknet_pendingTransactionsāœ…
starknet_syncingāœ…
starknet_getEventsāœ…
starknet_getNonceāœ…
Write
starknet_addInvokeTransactionāœ…
starknet_addDeclareTransactionāœ…
starknet_addDeployAccountTransactionāœ…

Source code generation from contract ABI

FeatureCairo 0 (legacy)Cairo 1Cairo 2
callāœ…āœ…āŒ
invokeāœ…āœ…āŒ
core typesāœ…šŸš§āŒ
custom typesāœ…šŸš§āŒ
eventāŒāŒāŒ