Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodeSchema ¶
type EthSchema ¶
type EthSchema interface { BlockNumber() (*jsonrpc2.Request, *types.Number) GetBlockByNumber(num types.Number) (*jsonrpc2.Request, types.Block) GetBlockByHash(hash string) (*jsonrpc2.Request, types.BlockHeader) GetTransaction(hash string) (*jsonrpc2.Request, types.Transaction) GetTransactionReceipt(hash string) (*jsonrpc2.Request, types.TransactionReceipt) GetBalance(address string, block *types.Number) (*jsonrpc2.Request, *hexutil.Big) GetCode(address string, block *types.Number) (*jsonrpc2.Request, *string) GetNonce(address string, block *types.Number) (*jsonrpc2.Request, *hexutil.Uint64) GetStorage(address string, offset common.Hash, block *types.Number) (*jsonrpc2.Request, *string) }
type PubSubSchema ¶
type PubSubSchema interface { Subscribe() (*jsonrpc2.Request, *types.SubscriptionID) Unsubscribe(id types.SubscriptionID) (*jsonrpc2.Request, *types.UnsubscribeSuccess) }
type Schema ¶
type Schema interface { Eth() EthSchema Net() NetSchema Trace() TraceSchema PubSub() PubSubSchema }
type TraceSchema ¶
type TraceSchema interface { VMTrace(hash string) (*jsonrpc2.Request, types.TransactionStates) CallTrace(hash string) (*jsonrpc2.Request, types.CallTraces) }
Click to show internal directories.
Click to hide internal directories.