mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-14 12:05:18 +00:00
d83c43dcb4
* add block and tx endpoints * add block legacy endpoint
12 lines
327 B
Go
12 lines
327 B
Go
package v032
|
|
|
|
import (
|
|
tmtypes "github.com/tendermint/tendermint/types"
|
|
)
|
|
|
|
// BlockMeta contains meta information about a block - namely, it's ID and Header.
|
|
type BlockMeta struct {
|
|
BlockID tmtypes.BlockID `json:"block_id"` // the block hash and partsethash
|
|
Header Header `json:"header"` // The block's Header
|
|
}
|