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

Method GetRootByDiffHash

ethclient/ethclient.go:241–245  ·  view source on GitHub ↗
(ctx context.Context, blockNr *big.Int, blockHash common.Hash, diffHash common.Hash)

Source from the content-addressed store, hash-verified

239}
240
241func (ec *Client) GetRootByDiffHash(ctx context.Context, blockNr *big.Int, blockHash common.Hash, diffHash common.Hash) (*core.VerifyResult, error) {
242 var result core.VerifyResult
243 err := ec.c.CallContext(ctx, &result, "eth_getRootByDiffHash", toBlockNumArg(blockNr), blockHash, diffHash)
244 return &result, err
245}
246
247type rpcTransaction struct {
248 tx *types.Transaction

Callers

nothing calls this directly

Calls 2

CallContextMethod · 0.80
toBlockNumArgFunction · 0.70

Tested by

no test coverage detected