Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchBlock ¶
func FetchBlock(ctx context.Context, starknetClients *firecoreRPC.Clients[*starknetRPC.Provider], requestBlockNum uint64) (*starknetRPC.BlockWithReceipts, error)
func FetchStateUpdate ¶
func FetchStateUpdate(ctx context.Context, starknetClients *firecoreRPC.Clients[*starknetRPC.Provider], blockNum uint64) (*starknetRPC.StateUpdateOutput, error)
Types ¶
type Fetcher ¶
type Fetcher struct {
// contains filtered or unexported fields
}
func NewFetcher ¶
func (*Fetcher) IsBlockAvailable ¶
Click to show internal directories.
Click to hide internal directories.