Documentation
¶
Index ¶
- type BrokerAPI
- func (b *BrokerAPI) ChainConfig() *params.ChainConfig
- func (b *BrokerAPI) ConsensusReady() error
- func (b *BrokerAPI) GetBlock(mode string, value string) (*types.Block, error)
- func (b *BrokerAPI) GetBlockHeaders(start uint64, end uint64) ([]*types.BlockHeader, error)
- func (b *BrokerAPI) GetBlocks(start uint64, end uint64) ([]*types.Block, error)
- func (b *BrokerAPI) GetEvm(mes *vm.Message, vmConfig *vm.Config) (*vm.EVM, error)
- func (b *BrokerAPI) GetReceipt(hash *types.Hash) (*types.Receipt, error)
- func (b *BrokerAPI) GetSystemContract(addr *ethcommon.Address) (common.SystemContract, bool)
- func (b *BrokerAPI) GetTransaction(hash *types.Hash) (*types.Transaction, error)
- func (b *BrokerAPI) GetTransactionMeta(hash *types.Hash) (*types.TransactionMeta, error)
- func (b *BrokerAPI) GetViewStateLedger() ledger.StateLedger
- func (b *BrokerAPI) HandleTransaction(tx *types.Transaction) error
- func (b *BrokerAPI) StateAtTransaction(block *types.Block, txIndex int, reexec uint64) (*vm.Message, vm.BlockContext, *ledger.StateLedger, error)
- type ChainAPI
- type CoreAPI
- type FeedAPI
- func (api *FeedAPI) BloomStatus() (uint64, uint64)
- func (api *FeedAPI) SubscribeLogsEvent(ch chan<- []*types.EvmLog) event.Subscription
- func (api *FeedAPI) SubscribeNewBlockEvent(ch chan<- events.ExecutedEvent) event.Subscription
- func (api *FeedAPI) SubscribeNewTxEvent(ch chan<- []*types.Transaction) event.Subscription
- type GasAPI
- type TxPoolAPI
- func (api *TxPoolAPI) GetAccountMeta(account string, full bool) any
- func (api *TxPoolAPI) GetMeta(full bool) any
- func (api *TxPoolAPI) GetPendingTxCountByAccount(account string) uint64
- func (api *TxPoolAPI) GetTotalPendingTxCount() uint64
- func (api *TxPoolAPI) GetTransaction(hash *types.Hash) *types.Transaction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrokerAPI ¶
type BrokerAPI CoreAPI
func (*BrokerAPI) ChainConfig ¶
func (b *BrokerAPI) ChainConfig() *params.ChainConfig
func (*BrokerAPI) ConsensusReady ¶
func (*BrokerAPI) GetBlockHeaders ¶
func (*BrokerAPI) GetReceipt ¶
func (*BrokerAPI) GetSystemContract ¶
func (*BrokerAPI) GetTransaction ¶
func (*BrokerAPI) GetTransactionMeta ¶
func (*BrokerAPI) GetViewStateLedger ¶
func (b *BrokerAPI) GetViewStateLedger() ledger.StateLedger
func (*BrokerAPI) HandleTransaction ¶
func (b *BrokerAPI) HandleTransaction(tx *types.Transaction) error
func (*BrokerAPI) StateAtTransaction ¶
type FeedAPI ¶
type FeedAPI CoreAPI
func (*FeedAPI) SubscribeLogsEvent ¶
func (api *FeedAPI) SubscribeLogsEvent(ch chan<- []*types.EvmLog) event.Subscription
func (*FeedAPI) SubscribeNewBlockEvent ¶
func (api *FeedAPI) SubscribeNewBlockEvent(ch chan<- events.ExecutedEvent) event.Subscription
func (*FeedAPI) SubscribeNewTxEvent ¶
func (api *FeedAPI) SubscribeNewTxEvent(ch chan<- []*types.Transaction) event.Subscription
todo: subscribe from txpool?
type TxPoolAPI ¶
type TxPoolAPI CoreAPI
func (*TxPoolAPI) GetAccountMeta ¶
func (*TxPoolAPI) GetPendingTxCountByAccount ¶
func (*TxPoolAPI) GetTotalPendingTxCount ¶
func (*TxPoolAPI) GetTransaction ¶
func (api *TxPoolAPI) GetTransaction(hash *types.Hash) *types.Transaction
Click to show internal directories.
Click to hide internal directories.