Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ChainID = method[NoParams, felt.Felt]{/* contains filtered or unexported fields */} SpecVersion = method[NoParams, string]{/* contains filtered or unexported fields */} BlockHashAndNumber = method[NoParams, rpcv10.BlockHashAndNumber]{ // contains filtered or unexported fields } BlockWithReceipts = method[BlockWithReceiptsParams, rpcv10.BlockWithReceipts]{ // contains filtered or unexported fields } StateUpdate = method[BlockParams, rpcv10.StateUpdate]{/* contains filtered or unexported fields */} Class = method[ClassParams, rpcv10.Class]{/* contains filtered or unexported fields */} CompiledCasm = method[ClassHashParams, rpcv10.CompiledCasmResponse]{ // contains filtered or unexported fields } )
Functions ¶
Types ¶
type BlockParams ¶
type BlockParams struct {
BlockNumber uint64
}
type BlockWithReceiptsParams ¶
type BlockWithReceiptsParams struct {
BlockNumber uint64
}
Proof facts are part of the INVOKE v3 transaction hash; the remote omits them unless asked.
type ClassHashParams ¶
type ClassParams ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
type EventListener ¶
type Option ¶
type Option func(*options)
func WithListener ¶
func WithListener(l EventListener) Option
func WithMaxRetries ¶
func WithMaxWait ¶
func WithMinWait ¶
func WithUserAgent ¶
type SelectiveListener ¶
func (*SelectiveListener) OnResponse ¶
func (l *SelectiveListener) OnResponse(method, outcome string, took time.Duration)
Click to show internal directories.
Click to hide internal directories.