Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PublicAPI ¶
type PublicAPI struct {
// contains filtered or unexported fields
}
PublicAPI represents filter API that is exported to `eth` namespace
func NewPublicAPI ¶
func NewPublicAPI(latestBlockChangedEvent *latestBlockChangedEvent, transactionSentToUpstreamEvent *transactionSentToUpstreamEvent) *PublicAPI
NewPublicAPI returns a reference to the PublicAPI object
func (*PublicAPI) GetFilterChanges ¶
GetFilterChanges returns the hashes for the filter with the given id since last time it was called. This can be used for polling.
https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_getfilterchanges
func (*PublicAPI) NewBlockFilter ¶
NewBlockFilter is an implemenation of `eth_newBlockFilter` API https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_newblockfilter
func (*PublicAPI) NewPendingTransactionFilter ¶
NewPendingTransactionFilter is an implementation of `eth_newPendingTransactionFilter` API https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_newpendingtransactionfilter
func (*PublicAPI) UninstallFilter ¶
UninstallFilter is an implemenation of `eth_uninstallFilter` API https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_uninstallfilter
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service represents out own implementation of personal sign operations.
func (*Service) TriggerTransactionSentToUpstreamEvent ¶
TriggerTransactionSentToUpstreamEvent notifies the subscribers of the TransactionSentToUpstream event