package
0.0.0-20250130105826-8a2b41069928
Repository: https://github.com/0xbridge/polygon-edge.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
GetBlockHeader returns a header using the provided number.
No description provided by the author
No description provided by the author
GetNumericBlockNumber returns block number based on current state or specified number.
GetTxAndBlockByTxHash returns the tx and the block including the tx by given tx hash.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewJSONRPC returns the JSONRPC http server.
No description provided by the author
NewRPCErrorResponse is used to create a custom error response.
NewRPCResponse returns Success/Error response object.
No description provided by the author
NewThrottling creates new throttling and limits number of concurrent requests to maximumConcurrentRequests.
# Constants
Blocks represents subscription type for blockchain events.
No description provided by the author
No description provided by the author
The index in heap which is indicating the element is not in the heap.
No description provided by the author
PendingTransactions represents subscription type for tx pool events.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
ErrExecutionTimeout indicates the execution was terminated due to timeout.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrNoConfig is an error returns when config is empty.
No description provided by the author
No description provided by the author
No description provided by the author
ErrTraceGenesisBlock is an error returned when tracing genesis block which can't be traced.
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
Bridge is the bridge jsonrpc endpoint.
No description provided by the author
No description provided by the author
Debug is the debug jsonrpc endpoint.
Dispatcher handles all json rpc requests by delegating the execution flow to the corresponding service.
ErrorResponse is a jsonrpc error response.
Eth is the eth jsonrpc endpoint.
FilterManager manages all running filters.
No description provided by the author
No description provided by the author
JSONRPC is an API consensus.
No description provided by the author
LogQuery is a query to filter logs.
Net is the net jsonrpc endpoint.
ObjectError is a jsonrpc error.
Request is a jsonrpc request.
No description provided by the author
SuccessResponse is a jsonrpc success response.
Throttling provides functionality which limits number of concurrent requests.
No description provided by the author
TxPool is the txpool jsonrpc endpoint.
Web3 is the web3 jsonrpc endpoint.
# Interfaces
No description provided by the author
JSONRPCStore defines all the methods required by all the JSON RPC endpoints.
Response is a jsonrpc response interface.