Crate starknet_api

Crate starknet_api 

Source
Expand description

Representations of canonical Starknet components.

Modules§

abi
block
block_hash
class_cache
compression_utils
consensus_transaction
contract_class
core
crypto
data_availability
deprecated_contract_class
executable_transaction
execution_resources
execution_utils
hash
rpc_transaction
serde_utils
Utilities for serialising/deserialising hexadecimal values.
staking
state
transaction
transaction_hash
type_utils
versioned_constants_logic

Macros§

calldata
define_versioned_constants
Auto-generate getters for listed versioned constants versions. Optionally provide an intermediate struct for deserialization. Also, provide the path to the directory containing the diffs between versions (for initial definition of the struct, run UPDATE_EXPECT=1 cargo test -p <crate> test_vc_diffs_regression to generate the diffs).
define_versioned_constants_inner
impl_deploy_transaction_trait
impl_from_through_intermediate
Implements From<bottom_type> for top_type for all bottom_types. Assumes:

Structs§

CasmHashMismatch

Enums§

StarknetApiError
The error type returned by StarknetApi.

Type Aliases§

StarknetApiResult