Versions in this module Expand all Collapse all v1 v1.0.0 May 10, 2023 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) 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{ ... }) (Long, error) + func (b *Block) ExtraData(ctx context.Context) (hexutil.Bytes, error) + func (b *Block) GasLimit(ctx context.Context) (Long, error) + func (b *Block) GasUsed(ctx context.Context) (Long, 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) (Long, error) + func (b *Block) OmmerAt(ctx context.Context, args struct{ ... }) (*Block, error) + func (b *Block) OmmerCount(ctx context.Context) (*int32, 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) (*int32, error) + func (b *Block) Transactions(ctx context.Context) (*[]*Transaction, error) + func (b *Block) TransactionsRoot(ctx context.Context) (common.Hash, error) + type BlockFilterCriteria struct + Addresses *[]common.Address + Topics *[][]common.Hash + type BlockNumberArgs struct + Block *hexutil.Uint64 + 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 *hexutil.Uint64 + 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() Long + func (c *CallResult) Status() Long + type FilterCriteria struct + Addresses *[]common.Address + FromBlock *hexutil.Uint64 + ToBlock *hexutil.Uint64 + 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) int32 + 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{ ... }) (Long, error) + func (p *Pending) TransactionCount(ctx context.Context) (int32, 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, error) + 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 + type Transaction struct + func (t *Transaction) AccessList(ctx context.Context) (*[]*AccessTuple, error) + func (t *Transaction) Block(ctx context.Context) (*Block, error) + func (t *Transaction) CreatedContract(ctx context.Context, args BlockNumberArgs) (*Account, error) + func (t *Transaction) CumulativeGasUsed(ctx context.Context) (*Long, 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, error) + func (t *Transaction) Gas(ctx context.Context) (hexutil.Uint64, error) + func (t *Transaction) GasPrice(ctx context.Context) (hexutil.Big, error) + func (t *Transaction) GasUsed(ctx context.Context) (*Long, error) + func (t *Transaction) Hash(ctx context.Context) common.Hash + func (t *Transaction) Index(ctx context.Context) (*int32, error) + func (t *Transaction) InputData(ctx context.Context) (hexutil.Bytes, error) + func (t *Transaction) Logs(ctx context.Context) (*[]*Log, error) + func (t *Transaction) MaxFeePerGas(ctx context.Context) (*hexutil.Big, error) + func (t *Transaction) MaxPriorityFeePerGas(ctx context.Context) (*hexutil.Big, error) + func (t *Transaction) Nonce(ctx context.Context) (hexutil.Uint64, error) + func (t *Transaction) R(ctx context.Context) (hexutil.Big, error) + 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, error) + func (t *Transaction) Status(ctx context.Context) (*Long, error) + func (t *Transaction) To(ctx context.Context, args BlockNumberArgs) (*Account, error) + func (t *Transaction) Type(ctx context.Context) (*int32, error) + func (t *Transaction) V(ctx context.Context) (hexutil.Big, error) + func (t *Transaction) Value(ctx context.Context) (hexutil.Big, error)