MCPcopy Create free account
hub / github.com/tendermint/tendermint / HeaderByHash

Method HeaderByHash

rpc/client/interface.go:82–82  ·  view source on GitHub ↗
(ctx context.Context, hash bytes.HexBytes)

Source from the content-addressed store, hash-verified

80 BlockResults(ctx context.Context, height *int64) (*coretypes.ResultBlockResults, error)
81 Header(ctx context.Context, height *int64) (*coretypes.ResultHeader, error)
82 HeaderByHash(ctx context.Context, hash bytes.HexBytes) (*coretypes.ResultHeader, error)
83 Commit(ctx context.Context, height *int64) (*coretypes.ResultCommit, error)
84 Validators(ctx context.Context, height *int64, page, perPage *int) (*coretypes.ResultValidators, error)
85 Tx(ctx context.Context, hash bytes.HexBytes, prove bool) (*coretypes.ResultTx, error)

Callers 4

makeHeaderByHashFuncFunction · 0.65
HeaderByHashMethod · 0.65
TestAppCallsFunction · 0.65
HeaderByHashMethod · 0.65

Implementers 5

Environmentinternal/rpc/core/env.go
Clientlight/rpc/client.go
baseRPCClientrpc/client/http/http.go
Clientrpc/client/mocks/client.go
Localrpc/client/local/local.go

Calls

no outgoing calls

Tested by 1

TestAppCallsFunction · 0.52