MCPcopy
hub / github.com/bnb-chain/bsc / Account

Struct Account

graphql/graphql.go:81–85  ·  view source on GitHub ↗

Account represents an Ethereum account at a particular block.

Source from the content-addressed store, hash-verified

79
80// Account represents an Ethereum account at a particular block.
81type Account struct {
82 r *Resolver
83 address common.Address
84 blockNrOrHash rpc.BlockNumberOrHash
85}
86
87// getState fetches the StateDB object for an account.
88func (a *Account) getState(ctx context.Context) (*state.StateDB, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected