Versions in this module Expand all Collapse all v1 v1.13.13 Aug 9, 2024 Changes in this version + func New(stack *node.Node, backend ethapi.Backend, filterSystem *filters.FilterSystem, ...) error + type AccessTuple struct + func (at *AccessTuple) Address(ctx context.Context) common.Address + func (at *AccessTuple) StorageKeys(ctx context.Context) []common.Hash + type Account struct + func (a *Account) Address(ctx context.Context) (common.Address, error) + func (a *Account) Balance(ctx context.Context) (hexutil.Big, error) + func (a *Account) Code(ctx context.Context) (hexutil.Bytes, error) + func (a *Account) Storage(ctx context.Context, args struct{ ... }) (common.Hash, error) + func (a *Account) TransactionCount(ctx context.Context) (hexutil.Uint64, error) + type Block struct + func (b *Block) Account(ctx context.Context, args struct{ ... }) (*Account, error) + func (b *Block) BaseFeePerGas(ctx context.Context) (*hexutil.Big, error) + func (b *Block) BlobGasUsed(ctx context.Context) (*hexutil.Uint64, error) + func (b *Block) Call(ctx context.Context, args struct{ ... }) (*CallResult, error) + func (b *Block) Difficulty(ctx context.Context) (hexutil.Big, error) + func (b *Block) EstimateGas(ctx context.Context, args struct{ ... }) (hexutil.Uint64, error) + func (b *Block) ExcessBlobGas(ctx context.Context) (*hexutil.Uint64, error) + func (b *Block) ExtraData(ctx context.Context) (hexutil.Bytes, error) + func (b *Block) GasLimit(ctx context.Context) (hexutil.Uint64, error) + func (b *Block) GasUsed(ctx context.Context) (hexutil.Uint64, error) + func (b *Block) Hash(ctx context.Context) (common.Hash, error) + func (b *Block) Logs(ctx context.Context, args struct{ ... }) ([]*Log, error) + func (b *Block) LogsBloom(ctx context.Context) (hexutil.Bytes, error) + func (b *Block) Miner(ctx context.Context, args BlockNumberArgs) (*Account, error) + func (b *Block) MixHash(ctx context.Context) (common.Hash, error) + func (b *Block) NextBaseFeePerGas(ctx context.Context) (*hexutil.Big, error) + func (b *Block) Nonce(ctx context.Context) (hexutil.Bytes, error) + func (b *Block) Number(ctx context.Context) (hexutil.Uint64, error) + func (b *Block) OmmerAt(ctx context.Context, args struct{ ... }) (*Block, error) + func (b *Block) OmmerCount(ctx context.Context) (*hexutil.Uint64, error) + func (b *Block) OmmerHash(ctx context.Context) (common.Hash, error) + func (b *Block) Ommers(ctx context.Context) (*[]*Block, error) + func (b *Block) Parent(ctx context.Context) (*Block, error) + func (b *Block) Raw(ctx context.Context) (hexutil.Bytes, error) + func (b *Block) RawHeader(ctx context.Context) (hexutil.Bytes, error) + func (b *Block) ReceiptsRoot(ctx context.Context) (common.Hash, error) + func (b *Block) StateRoot(ctx context.Context) (common.Hash, error) + func (b *Block) Timestamp(ctx context.Context) (hexutil.Uint64, error) + func (b *Block) TotalDifficulty(ctx context.Context) (hexutil.Big, error) + func (b *Block) TransactionAt(ctx context.Context, args struct{ ... }) (*Transaction, error) + func (b *Block) TransactionCount(ctx context.Context) (*hexutil.Uint64, error) + func (b *Block) Transactions(ctx context.Context) (*[]*Transaction, error) + func (b *Block) TransactionsRoot(ctx context.Context) (common.Hash, error) + func (b *Block) Withdrawals(ctx context.Context) (*[]*Withdrawal, error) + func (b *Block) WithdrawalsRoot(ctx context.Context) (*common.Hash, error) + type BlockFilterCriteria struct + Addresses *[]common.Address + Topics *[][]common.Hash + type BlockNumberArgs struct + Block *Long + func (a BlockNumberArgs) NumberOr(current rpc.BlockNumberOrHash) rpc.BlockNumberOrHash + func (a BlockNumberArgs) NumberOrLatest() rpc.BlockNumberOrHash + type BlockType int + type CallData struct + Data *hexutil.Bytes + From *common.Address + Gas *Long + GasPrice *hexutil.Big + MaxFeePerGas *hexutil.Big + MaxPriorityFeePerGas *hexutil.Big + To *common.Address + Value *hexutil.Big + type CallResult struct + func (c *CallResult) Data() hexutil.Bytes + func (c *CallResult) GasUsed() hexutil.Uint64 + func (c *CallResult) Status() hexutil.Uint64 + type FilterCriteria struct + Addresses *[]common.Address + FromBlock *Long + ToBlock *Long + Topics *[][]common.Hash + type GraphiQL struct + func (h GraphiQL) ServeHTTP(w http.ResponseWriter, r *http.Request) + type Log struct + func (l *Log) Account(ctx context.Context, args BlockNumberArgs) *Account + func (l *Log) Data(ctx context.Context) hexutil.Bytes + func (l *Log) Index(ctx context.Context) hexutil.Uint64 + func (l *Log) Topics(ctx context.Context) []common.Hash + func (l *Log) Transaction(ctx context.Context) *Transaction + type Long int64 + func (b *Long) UnmarshalGraphQL(input interface{}) error + func (b Long) ImplementsGraphQLType(name string) bool + type Pending struct + func (p *Pending) Account(ctx context.Context, args struct{ ... }) *Account + func (p *Pending) Call(ctx context.Context, args struct{ ... }) (*CallResult, error) + func (p *Pending) EstimateGas(ctx context.Context, args struct{ ... }) (hexutil.Uint64, error) + func (p *Pending) TransactionCount(ctx context.Context) (hexutil.Uint64, error) + func (p *Pending) Transactions(ctx context.Context) (*[]*Transaction, error) + type Resolver struct + func (r *Resolver) Block(ctx context.Context, args struct{ ... }) (*Block, error) + func (r *Resolver) Blocks(ctx context.Context, args struct{ ... }) ([]*Block, error) + func (r *Resolver) ChainID(ctx context.Context) (hexutil.Big, error) + func (r *Resolver) GasPrice(ctx context.Context) (hexutil.Big, error) + func (r *Resolver) Logs(ctx context.Context, args struct{ ... }) ([]*Log, error) + func (r *Resolver) MaxPriorityFeePerGas(ctx context.Context) (hexutil.Big, error) + func (r *Resolver) Pending(ctx context.Context) *Pending + func (r *Resolver) SendRawTransaction(ctx context.Context, args struct{ ... }) (common.Hash, error) + func (r *Resolver) Syncing() (*SyncState, error) + func (r *Resolver) Transaction(ctx context.Context, args struct{ ... }) *Transaction + type SyncState struct + func (s *SyncState) CurrentBlock() hexutil.Uint64 + func (s *SyncState) HealedBytecodeBytes() hexutil.Uint64 + func (s *SyncState) HealedBytecodes() hexutil.Uint64 + func (s *SyncState) HealedTrienodeBytes() hexutil.Uint64 + func (s *SyncState) HealedTrienodes() hexutil.Uint64 + func (s *SyncState) HealingBytecode() hexutil.Uint64 + func (s *SyncState) HealingTrienodes() hexutil.Uint64 + func (s *SyncState) HighestBlock() hexutil.Uint64 + func (s *SyncState) StartingBlock() hexutil.Uint64 + func (s *SyncState) SyncedAccountBytes() hexutil.Uint64 + func (s *SyncState) SyncedAccounts() hexutil.Uint64 + func (s *SyncState) SyncedBytecodeBytes() hexutil.Uint64 + func (s *SyncState) SyncedBytecodes() hexutil.Uint64 + func (s *SyncState) SyncedStorage() hexutil.Uint64 + func (s *SyncState) SyncedStorageBytes() hexutil.Uint64 + func (s *SyncState) TxIndexFinishedBlocks() hexutil.Uint64 + func (s *SyncState) TxIndexRemainingBlocks() hexutil.Uint64 + type Transaction struct + func (t *Transaction) AccessList(ctx context.Context) *[]*AccessTuple + func (t *Transaction) BlobGasPrice(ctx context.Context) (*hexutil.Big, error) + func (t *Transaction) BlobGasUsed(ctx context.Context) (*hexutil.Uint64, error) + func (t *Transaction) BlobVersionedHashes(ctx context.Context) *[]common.Hash + func (t *Transaction) Block(ctx context.Context) *Block + func (t *Transaction) CreatedContract(ctx context.Context, args BlockNumberArgs) (*Account, error) + func (t *Transaction) CumulativeGasUsed(ctx context.Context) (*hexutil.Uint64, error) + func (t *Transaction) EffectiveGasPrice(ctx context.Context) (*hexutil.Big, error) + func (t *Transaction) EffectiveTip(ctx context.Context) (*hexutil.Big, error) + func (t *Transaction) From(ctx context.Context, args BlockNumberArgs) *Account + func (t *Transaction) Gas(ctx context.Context) hexutil.Uint64 + func (t *Transaction) GasPrice(ctx context.Context) hexutil.Big + func (t *Transaction) GasUsed(ctx context.Context) (*hexutil.Uint64, error) + func (t *Transaction) Hash(ctx context.Context) common.Hash + func (t *Transaction) Index(ctx context.Context) *hexutil.Uint64 + func (t *Transaction) InputData(ctx context.Context) hexutil.Bytes + func (t *Transaction) Logs(ctx context.Context) (*[]*Log, error) + func (t *Transaction) MaxFeePerBlobGas(ctx context.Context) *hexutil.Big + func (t *Transaction) MaxFeePerGas(ctx context.Context) *hexutil.Big + func (t *Transaction) MaxPriorityFeePerGas(ctx context.Context) *hexutil.Big + func (t *Transaction) Nonce(ctx context.Context) hexutil.Uint64 + func (t *Transaction) R(ctx context.Context) hexutil.Big + func (t *Transaction) Raw(ctx context.Context) (hexutil.Bytes, error) + func (t *Transaction) RawReceipt(ctx context.Context) (hexutil.Bytes, error) + func (t *Transaction) S(ctx context.Context) hexutil.Big + func (t *Transaction) Status(ctx context.Context) (*hexutil.Uint64, error) + func (t *Transaction) To(ctx context.Context, args BlockNumberArgs) *Account + func (t *Transaction) Type(ctx context.Context) *hexutil.Uint64 + func (t *Transaction) V(ctx context.Context) hexutil.Big + func (t *Transaction) Value(ctx context.Context) (hexutil.Big, error) + func (t *Transaction) YParity(ctx context.Context) (*hexutil.Big, error) + type Withdrawal struct + func (w *Withdrawal) Address(ctx context.Context) common.Address + func (w *Withdrawal) Amount(ctx context.Context) hexutil.Uint64 + func (w *Withdrawal) Index(ctx context.Context) hexutil.Uint64 + func (w *Withdrawal) Validator(ctx context.Context) hexutil.Uint64