Documentation ¶
Index ¶
- func DecodeBlock(b []byte) (*types.Block, error)
- func DecodeCallMsg(callArgsBytes []byte) (ret ethereum.CallMsg, err error)
- func DecodeChainID(b []byte, def ...uint16) (uint16, error)
- func DecodeFilterQuery(b []byte) (*ethereum.FilterQuery, error)
- func DecodeGenesisAlloc(b []byte) (core.GenesisAlloc, error)
- func DecodeLog(b []byte, includeDerivedFields bool) (*types.Log, error)
- func DecodeLogs(b []byte) ([]*types.Log, error)
- func DecodeReceipt(b []byte) (*types.Receipt, error)
- func DecodeReceiptFull(receiptBytes []byte) (*types.Receipt, error)
- func DecodeTransaction(b []byte) (*types.Transaction, error)
- func EncodeBlock(block *types.Block) []byte
- func EncodeCallMsg(c ethereum.CallMsg) []byte
- func EncodeChainID(chainID uint16) []byte
- func EncodeFilterQuery(q *ethereum.FilterQuery) []byte
- func EncodeGenesisAlloc(alloc core.GenesisAlloc) []byte
- func EncodeLog(log *types.Log, includeDerivedFields bool) []byte
- func EncodeLogs(logs []*types.Log) []byte
- func EncodeReceipt(receipt *types.Receipt) []byte
- func EncodeReceiptFull(r *types.Receipt) []byte
- func EncodeTransaction(tx *types.Transaction) []byte
- func MustDecodeChainID(b []byte, def ...uint16) uint16
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeCallMsg ¶
func DecodeFilterQuery ¶
func DecodeGenesisAlloc ¶
func DecodeGenesisAlloc(b []byte) (core.GenesisAlloc, error)
func DecodeTransaction ¶
func DecodeTransaction(b []byte) (*types.Transaction, error)
func EncodeBlock ¶
func EncodeCallMsg ¶
func EncodeCallMsg(c ethereum.CallMsg) []byte
func EncodeChainID ¶ added in v0.3.0
func EncodeFilterQuery ¶
func EncodeFilterQuery(q *ethereum.FilterQuery) []byte
func EncodeGenesisAlloc ¶
func EncodeGenesisAlloc(alloc core.GenesisAlloc) []byte
func EncodeLogs ¶
func EncodeReceipt ¶
EncodeReceipt serializes the receipt in RLP format
func EncodeReceiptFull ¶
EncodeReceiptFull encodes the receipt including fields not serialized by EncodeReceipt
func EncodeTransaction ¶
func EncodeTransaction(tx *types.Transaction) []byte
func MustDecodeChainID ¶ added in v0.3.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.