Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StarknetData ¶
type StarknetData interface { BlockByNumber(ctx context.Context, blockNumber uint64) (*core.Block, error) BlockLatest(ctx context.Context) (*core.Block, error) BlockPending(ctx context.Context) (*core.Block, error) Transaction(ctx context.Context, transactionHash *felt.Felt) (core.Transaction, error) Class(ctx context.Context, classHash *felt.Felt) (core.Class, error) StateUpdate(ctx context.Context, blockNumber uint64) (*core.StateUpdate, error) StateUpdatePending(ctx context.Context) (*core.StateUpdate, error) StateUpdateWithBlock(ctx context.Context, blockNumber uint64) (*core.StateUpdate, *core.Block, error) StateUpdatePendingWithBlock(ctx context.Context) (*core.StateUpdate, *core.Block, error) }
StarknetData defines the function which are required to retrieve Starknet's state
Click to show internal directories.
Click to hide internal directories.