eth

package
v1.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type AccessTuple added in v1.2.8

type AccessTuple struct {
	Address     []byte   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	StorageKeys [][]byte `protobuf:"bytes,2,rep,name=storage_keys,json=storageKeys,proto3" json:"storage_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*AccessTuple) Descriptor deprecated added in v1.2.8

func (*AccessTuple) Descriptor() ([]byte, []int)

Deprecated: Use AccessTuple.ProtoReflect.Descriptor instead.

func (*AccessTuple) GetAddress added in v1.2.8

func (x *AccessTuple) GetAddress() []byte

func (*AccessTuple) GetStorageKeys added in v1.2.8

func (x *AccessTuple) GetStorageKeys() [][]byte

func (*AccessTuple) ProtoMessage added in v1.2.8

func (*AccessTuple) ProtoMessage()

func (*AccessTuple) ProtoReflect added in v1.2.8

func (x *AccessTuple) ProtoReflect() protoreflect.Message

func (*AccessTuple) Reset added in v1.2.8

func (x *AccessTuple) Reset()

func (*AccessTuple) String added in v1.2.8

func (x *AccessTuple) String() string

type Attestation added in v1.6.0

type Attestation struct {
	AggregationBits []byte           `protobuf:"bytes,1,opt,name=aggregation_bits,json=aggregationBits,proto3" json:"aggregation_bits,omitempty"`
	Data            *AttestationData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Signature       []byte           `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md#attestation

func (*Attestation) Descriptor deprecated added in v1.6.0

func (*Attestation) Descriptor() ([]byte, []int)

Deprecated: Use Attestation.ProtoReflect.Descriptor instead.

func (*Attestation) GetAggregationBits added in v1.6.0

func (x *Attestation) GetAggregationBits() []byte

func (*Attestation) GetData added in v1.6.0

func (x *Attestation) GetData() *AttestationData

func (*Attestation) GetSignature added in v1.6.0

func (x *Attestation) GetSignature() []byte

func (*Attestation) ProtoMessage added in v1.6.0

func (*Attestation) ProtoMessage()

func (*Attestation) ProtoReflect added in v1.6.0

func (x *Attestation) ProtoReflect() protoreflect.Message

func (*Attestation) Reset added in v1.6.0

func (x *Attestation) Reset()

func (*Attestation) String added in v1.6.0

func (x *Attestation) String() string

type AttestationData added in v1.6.0

type AttestationData struct {
	Slot            uint64      `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"`
	Index           uint64      `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	BeaconBlockRoot []byte      `protobuf:"bytes,3,opt,name=beacon_block_root,json=beaconBlockRoot,proto3" json:"beacon_block_root,omitempty"`
	Source          *Checkpoint `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"`
	Target          *Checkpoint `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"`
	// contains filtered or unexported fields
}

https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md#attestationdata

func (*AttestationData) Descriptor deprecated added in v1.6.0

func (*AttestationData) Descriptor() ([]byte, []int)

Deprecated: Use AttestationData.ProtoReflect.Descriptor instead.

func (*AttestationData) GetBeaconBlockRoot added in v1.6.0

func (x *AttestationData) GetBeaconBlockRoot() []byte

func (*AttestationData) GetIndex added in v1.6.0

func (x *AttestationData) GetIndex() uint64

func (*AttestationData) GetSlot added in v1.6.0

func (x *AttestationData) GetSlot() uint64

func (*AttestationData) GetSource added in v1.6.0

func (x *AttestationData) GetSource() *Checkpoint

func (*AttestationData) GetTarget added in v1.6.0

func (x *AttestationData) GetTarget() *Checkpoint

func (*AttestationData) ProtoMessage added in v1.6.0

func (*AttestationData) ProtoMessage()

func (*AttestationData) ProtoReflect added in v1.6.0

func (x *AttestationData) ProtoReflect() protoreflect.Message

func (*AttestationData) Reset added in v1.6.0

func (x *AttestationData) Reset()

func (*AttestationData) String added in v1.6.0

func (x *AttestationData) String() string

type AttesterSlashing added in v1.6.0

type AttesterSlashing struct {
	Attestation_1 *IndexedAttestation `protobuf:"bytes,1,opt,name=attestation_1,json=attestation1,proto3" json:"attestation_1,omitempty"`
	Attestation_2 *IndexedAttestation `protobuf:"bytes,2,opt,name=attestation_2,json=attestation2,proto3" json:"attestation_2,omitempty"`
	// contains filtered or unexported fields
}

https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md#proposerslashing

func (*AttesterSlashing) Descriptor deprecated added in v1.6.0

func (*AttesterSlashing) Descriptor() ([]byte, []int)

Deprecated: Use AttesterSlashing.ProtoReflect.Descriptor instead.

func (*AttesterSlashing) GetAttestation_1 added in v1.6.0

func (x *AttesterSlashing) GetAttestation_1() *IndexedAttestation

func (*AttesterSlashing) GetAttestation_2 added in v1.6.0

func (x *AttesterSlashing) GetAttestation_2() *IndexedAttestation

func (*AttesterSlashing) ProtoMessage added in v1.6.0

func (*AttesterSlashing) ProtoMessage()

func (*AttesterSlashing) ProtoReflect added in v1.6.0

func (x *AttesterSlashing) ProtoReflect() protoreflect.Message

func (*AttesterSlashing) Reset added in v1.6.0

func (x *AttesterSlashing) Reset()

func (*AttesterSlashing) String added in v1.6.0

func (x *AttesterSlashing) String() string

type BLSToExecutionChange added in v1.6.0

type BLSToExecutionChange struct {
	ValidatorIndex     uint64 `protobuf:"varint,1,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty"`
	FromBlsPubkey      []byte `protobuf:"bytes,2,opt,name=from_bls_pubkey,json=fromBlsPubkey,proto3" json:"from_bls_pubkey,omitempty"`
	ToExecutionAddress []byte `protobuf:"bytes,3,opt,name=to_execution_address,json=toExecutionAddress,proto3" json:"to_execution_address,omitempty"`
	// contains filtered or unexported fields
}

https://github.com/ethereum/consensus-specs/blob/dev/specs/capella/beacon-chain.md#blstoexecutionchange

func (*BLSToExecutionChange) Descriptor deprecated added in v1.6.0

func (*BLSToExecutionChange) Descriptor() ([]byte, []int)

Deprecated: Use BLSToExecutionChange.ProtoReflect.Descriptor instead.

func (*BLSToExecutionChange) GetFromBlsPubkey added in v1.6.0

func (x *BLSToExecutionChange) GetFromBlsPubkey() []byte

func (*BLSToExecutionChange) GetToExecutionAddress added in v1.6.0

func (x *BLSToExecutionChange) GetToExecutionAddress() []byte

func (*BLSToExecutionChange) GetValidatorIndex added in v1.6.0

func (x *BLSToExecutionChange) GetValidatorIndex() uint64

func (*BLSToExecutionChange) ProtoMessage added in v1.6.0

func (*BLSToExecutionChange) ProtoMessage()

func (*BLSToExecutionChange) ProtoReflect added in v1.6.0

func (x *BLSToExecutionChange) ProtoReflect() protoreflect.Message

func (*BLSToExecutionChange) Reset added in v1.6.0

func (x *BLSToExecutionChange) Reset()

func (*BLSToExecutionChange) String added in v1.6.0

func (x *BLSToExecutionChange) String() string

type BeaconBlock added in v1.6.0

type BeaconBlock struct {
	Slot          uint64           `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"`
	ProposerIndex uint64           `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty"`
	ParentRoot    []byte           `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty"`
	StateRoot     []byte           `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"`
	Body          *BeaconBlockBody `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

The beacon block: https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md#beaconblock Last update: Phase0

func (*BeaconBlock) Descriptor deprecated added in v1.6.0

func (*BeaconBlock) Descriptor() ([]byte, []int)

Deprecated: Use BeaconBlock.ProtoReflect.Descriptor instead.

func (*BeaconBlock) GetBody added in v1.6.0

func (x *BeaconBlock) GetBody() *BeaconBlockBody

func (*BeaconBlock) GetParentRoot added in v1.6.0

func (x *BeaconBlock) GetParentRoot() []byte

func (*BeaconBlock) GetProposerIndex added in v1.6.0

func (x *BeaconBlock) GetProposerIndex() uint64

func (*BeaconBlock) GetSlot added in v1.6.0

func (x *BeaconBlock) GetSlot() uint64

func (*BeaconBlock) GetStateRoot added in v1.6.0

func (x *BeaconBlock) GetStateRoot() []byte

func (*BeaconBlock) ProtoMessage added in v1.6.0

func (*BeaconBlock) ProtoMessage()

func (*BeaconBlock) ProtoReflect added in v1.6.0

func (x *BeaconBlock) ProtoReflect() protoreflect.Message

func (*BeaconBlock) Reset added in v1.6.0

func (x *BeaconBlock) Reset()

func (*BeaconBlock) String added in v1.6.0

func (x *BeaconBlock) String() string

type BeaconBlockBody added in v1.6.0

type BeaconBlockBody struct {
	RandaoReveal      []byte                 `protobuf:"bytes,1,opt,name=randao_reveal,json=randaoReveal,proto3" json:"randao_reveal,omitempty"`
	Eth1Data          *Eth1Data              `protobuf:"bytes,2,opt,name=eth1_data,json=eth1Data,proto3" json:"eth1_data,omitempty"`
	Graffiti          []byte                 `protobuf:"bytes,3,opt,name=graffiti,proto3" json:"graffiti,omitempty"`
	ProposerSlashings []*ProposerSlashing    `protobuf:"bytes,4,rep,name=proposer_slashings,json=proposerSlashings,proto3" json:"proposer_slashings,omitempty"`
	AttesterSlashings []*AttesterSlashing    `protobuf:"bytes,5,rep,name=attester_slashings,json=attesterSlashings,proto3" json:"attester_slashings,omitempty"`
	Attestations      []*Attestation         `protobuf:"bytes,6,rep,name=attestations,proto3" json:"attestations,omitempty"`
	Deposits          []*Deposit             `protobuf:"bytes,7,rep,name=deposits,proto3" json:"deposits,omitempty"`
	VoluntaryExits    []*SignedVoluntaryExit `protobuf:"bytes,8,rep,name=voluntary_exits,json=voluntaryExits,proto3" json:"voluntary_exits,omitempty"`
	SyncAggregate     *SyncAggregate         `protobuf:"bytes,9,opt,name=sync_aggregate,json=syncAggregate,proto3" json:"sync_aggregate,omitempty"`
	ExecutionPayload  *ExecutionPayload      `protobuf:"bytes,10,opt,name=execution_payload,json=executionPayload,proto3" json:"execution_payload,omitempty"`
	// Only: Capella
	BlsToExecutionChanges []*SignedBLSToExecutionChange `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

The beacon block body: https://github.com/ethereum/consensus-specs/blob/dev/specs/capella/beacon-chain.md#beaconblockbody Last update: Capella

func (*BeaconBlockBody) Descriptor deprecated added in v1.6.0

func (*BeaconBlockBody) Descriptor() ([]byte, []int)

Deprecated: Use BeaconBlockBody.ProtoReflect.Descriptor instead.

func (*BeaconBlockBody) GetAttestations added in v1.6.0

func (x *BeaconBlockBody) GetAttestations() []*Attestation

func (*BeaconBlockBody) GetAttesterSlashings added in v1.6.0

func (x *BeaconBlockBody) GetAttesterSlashings() []*AttesterSlashing

func (*BeaconBlockBody) GetBlsToExecutionChanges added in v1.6.0

func (x *BeaconBlockBody) GetBlsToExecutionChanges() []*SignedBLSToExecutionChange

func (*BeaconBlockBody) GetDeposits added in v1.6.0

func (x *BeaconBlockBody) GetDeposits() []*Deposit

func (*BeaconBlockBody) GetEth1Data added in v1.6.0

func (x *BeaconBlockBody) GetEth1Data() *Eth1Data

func (*BeaconBlockBody) GetExecutionPayload added in v1.6.0

func (x *BeaconBlockBody) GetExecutionPayload() *ExecutionPayload

func (*BeaconBlockBody) GetGraffiti added in v1.6.0

func (x *BeaconBlockBody) GetGraffiti() []byte

func (*BeaconBlockBody) GetProposerSlashings added in v1.6.0

func (x *BeaconBlockBody) GetProposerSlashings() []*ProposerSlashing

func (*BeaconBlockBody) GetRandaoReveal added in v1.6.0

func (x *BeaconBlockBody) GetRandaoReveal() []byte

func (*BeaconBlockBody) GetSyncAggregate added in v1.6.0

func (x *BeaconBlockBody) GetSyncAggregate() *SyncAggregate

func (*BeaconBlockBody) GetVoluntaryExits added in v1.6.0

func (x *BeaconBlockBody) GetVoluntaryExits() []*SignedVoluntaryExit

func (*BeaconBlockBody) ProtoMessage added in v1.6.0

func (*BeaconBlockBody) ProtoMessage()

func (*BeaconBlockBody) ProtoReflect added in v1.6.0

func (x *BeaconBlockBody) ProtoReflect() protoreflect.Message

func (*BeaconBlockBody) Reset added in v1.6.0

func (x *BeaconBlockBody) Reset()

func (*BeaconBlockBody) String added in v1.6.0

func (x *BeaconBlockBody) String() string

type BeaconBlockHeader added in v1.6.0

type BeaconBlockHeader struct {
	Slot          uint64 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"`
	ProposerIndex uint64 `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty"`
	ParentRoot    []byte `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty"`
	StateRoot     []byte `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"`
	BodyRoot      []byte `protobuf:"bytes,5,opt,name=body_root,json=bodyRoot,proto3" json:"body_root,omitempty"`
	// contains filtered or unexported fields
}

https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md#beaconblockheader

func (*BeaconBlockHeader) Descriptor deprecated added in v1.6.0

func (*BeaconBlockHeader) Descriptor() ([]byte, []int)

Deprecated: Use BeaconBlockHeader.ProtoReflect.Descriptor instead.

func (*BeaconBlockHeader) GetBodyRoot added in v1.6.0

func (x *BeaconBlockHeader) GetBodyRoot() []byte

func (*BeaconBlockHeader) GetParentRoot added in v1.6.0

func (x *BeaconBlockHeader) GetParentRoot() []byte

func (*BeaconBlockHeader) GetProposerIndex added in v1.6.0

func (x *BeaconBlockHeader) GetProposerIndex() uint64

func (*BeaconBlockHeader) GetSlot added in v1.6.0

func (x *BeaconBlockHeader) GetSlot() uint64

func (*BeaconBlockHeader) GetStateRoot added in v1.6.0

func (x *BeaconBlockHeader) GetStateRoot() []byte

func (*BeaconBlockHeader) ProtoMessage added in v1.6.0

func (*BeaconBlockHeader) ProtoMessage()

func (*BeaconBlockHeader) ProtoReflect added in v1.6.0

func (x *BeaconBlockHeader) ProtoReflect() protoreflect.Message

func (*BeaconBlockHeader) Reset added in v1.6.0

func (x *BeaconBlockHeader) Reset()

func (*BeaconBlockHeader) String added in v1.6.0

func (x *BeaconBlockHeader) String() string

type Checkpoint added in v1.6.0

type Checkpoint struct {
	Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	Root  []byte `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"`
	// contains filtered or unexported fields
}

https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md#checkpoint

func (*Checkpoint) Descriptor deprecated added in v1.6.0

func (*Checkpoint) Descriptor() ([]byte, []int)

Deprecated: Use Checkpoint.ProtoReflect.Descriptor instead.

func (*Checkpoint) GetEpoch added in v1.6.0

func (x *Checkpoint) GetEpoch() uint64

func (*Checkpoint) GetRoot added in v1.6.0

func (x *Checkpoint) GetRoot() []byte

func (*Checkpoint) ProtoMessage added in v1.6.0

func (*Checkpoint) ProtoMessage()

func (*Checkpoint) ProtoReflect added in v1.6.0

func (x *Checkpoint) ProtoReflect() protoreflect.Message

func (*Checkpoint) Reset added in v1.6.0

func (x *Checkpoint) Reset()

func (*Checkpoint) String added in v1.6.0

func (x *Checkpoint) String() string

type CompactBeaconBlock added in v1.6.0

type CompactBeaconBlock struct {
	Slot          uint64                  `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"`
	ProposerIndex uint64                  `protobuf:"varint,2,opt,name=proposer_index,json=proposerIndex,proto3" json:"proposer_index,omitempty"`
	ParentRoot    []byte                  `protobuf:"bytes,3,opt,name=parent_root,json=parentRoot,proto3" json:"parent_root,omitempty"`
	StateRoot     []byte                  `protobuf:"bytes,4,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"`
	Body          *CompactBeaconBlockBody `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

Type that follows [`BeaconBlock`] but without the execution payload, relying on [`CompactBeaconBlockBody`] instead.

func (*CompactBeaconBlock) Descriptor deprecated added in v1.6.0

func (*CompactBeaconBlock) Descriptor() ([]byte, []int)

Deprecated: Use CompactBeaconBlock.ProtoReflect.Descriptor instead.

func (*CompactBeaconBlock) GetBody added in v1.6.0

func (*CompactBeaconBlock) GetParentRoot added in v1.6.0

func (x *CompactBeaconBlock) GetParentRoot() []byte

func (*CompactBeaconBlock) GetProposerIndex added in v1.6.0

func (x *CompactBeaconBlock) GetProposerIndex() uint64

func (*CompactBeaconBlock) GetSlot added in v1.6.0

func (x *CompactBeaconBlock) GetSlot() uint64

func (*CompactBeaconBlock) GetStateRoot added in v1.6.0

func (x *CompactBeaconBlock) GetStateRoot() []byte

func (*CompactBeaconBlock) ProtoMessage added in v1.6.0

func (*CompactBeaconBlock) ProtoMessage()

func (*CompactBeaconBlock) ProtoReflect added in v1.6.0

func (x *CompactBeaconBlock) ProtoReflect() protoreflect.Message

func (*CompactBeaconBlock) Reset added in v1.6.0

func (x *CompactBeaconBlock) Reset()

func (*CompactBeaconBlock) String added in v1.6.0

func (x *CompactBeaconBlock) String() string

type CompactBeaconBlockBody added in v1.6.0

type CompactBeaconBlockBody struct {
	RandaoReveal      []byte                 `protobuf:"bytes,1,opt,name=randao_reveal,json=randaoReveal,proto3" json:"randao_reveal,omitempty"`
	Eth1Data          *Eth1Data              `protobuf:"bytes,2,opt,name=eth1_data,json=eth1Data,proto3" json:"eth1_data,omitempty"`
	Graffiti          []byte                 `protobuf:"bytes,3,opt,name=graffiti,proto3" json:"graffiti,omitempty"`
	ProposerSlashings []*ProposerSlashing    `protobuf:"bytes,4,rep,name=proposer_slashings,json=proposerSlashings,proto3" json:"proposer_slashings,omitempty"`
	AttesterSlashings []*AttesterSlashing    `protobuf:"bytes,5,rep,name=attester_slashings,json=attesterSlashings,proto3" json:"attester_slashings,omitempty"`
	Attestations      []*Attestation         `protobuf:"bytes,6,rep,name=attestations,proto3" json:"attestations,omitempty"`
	Deposits          []*Deposit             `protobuf:"bytes,7,rep,name=deposits,proto3" json:"deposits,omitempty"`
	VoluntaryExits    []*SignedVoluntaryExit `protobuf:"bytes,8,rep,name=voluntary_exits,json=voluntaryExits,proto3" json:"voluntary_exits,omitempty"`
	SyncAggregate     *SyncAggregate         `protobuf:"bytes,9,opt,name=sync_aggregate,json=syncAggregate,proto3" json:"sync_aggregate,omitempty"`
	// Only: Capella
	BlsToExecutionChanges []*SignedBLSToExecutionChange `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

Custom type that follows [`BeaconBlockBody`] but without the execution payload.

func (*CompactBeaconBlockBody) Descriptor deprecated added in v1.6.0

func (*CompactBeaconBlockBody) Descriptor() ([]byte, []int)

Deprecated: Use CompactBeaconBlockBody.ProtoReflect.Descriptor instead.

func (*CompactBeaconBlockBody) GetAttestations added in v1.6.0

func (x *CompactBeaconBlockBody) GetAttestations() []*Attestation

func (*CompactBeaconBlockBody) GetAttesterSlashings added in v1.6.0

func (x *CompactBeaconBlockBody) GetAttesterSlashings() []*AttesterSlashing

func (*CompactBeaconBlockBody) GetBlsToExecutionChanges added in v1.6.0

func (x *CompactBeaconBlockBody) GetBlsToExecutionChanges() []*SignedBLSToExecutionChange

func (*CompactBeaconBlockBody) GetDeposits added in v1.6.0

func (x *CompactBeaconBlockBody) GetDeposits() []*Deposit

func (*CompactBeaconBlockBody) GetEth1Data added in v1.6.0

func (x *CompactBeaconBlockBody) GetEth1Data() *Eth1Data

func (*CompactBeaconBlockBody) GetGraffiti added in v1.6.0

func (x *CompactBeaconBlockBody) GetGraffiti() []byte

func (*CompactBeaconBlockBody) GetProposerSlashings added in v1.6.0

func (x *CompactBeaconBlockBody) GetProposerSlashings() []*ProposerSlashing

func (*CompactBeaconBlockBody) GetRandaoReveal added in v1.6.0

func (x *CompactBeaconBlockBody) GetRandaoReveal() []byte

func (*CompactBeaconBlockBody) GetSyncAggregate added in v1.6.0

func (x *CompactBeaconBlockBody) GetSyncAggregate() *SyncAggregate

func (*CompactBeaconBlockBody) GetVoluntaryExits added in v1.6.0

func (x *CompactBeaconBlockBody) GetVoluntaryExits() []*SignedVoluntaryExit

func (*CompactBeaconBlockBody) ProtoMessage added in v1.6.0

func (*CompactBeaconBlockBody) ProtoMessage()

func (*CompactBeaconBlockBody) ProtoReflect added in v1.6.0

func (x *CompactBeaconBlockBody) ProtoReflect() protoreflect.Message

func (*CompactBeaconBlockBody) Reset added in v1.6.0

func (x *CompactBeaconBlockBody) Reset()

func (*CompactBeaconBlockBody) String added in v1.6.0

func (x *CompactBeaconBlockBody) String() string

type Deposit added in v1.6.0

type Deposit struct {
	Proof [][]byte     `protobuf:"bytes,1,rep,name=proof,proto3" json:"proof,omitempty"`
	Data  *DepositData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md#deposit

func (*Deposit) Descriptor deprecated added in v1.6.0

func (*Deposit) Descriptor() ([]byte, []int)

Deprecated: Use Deposit.ProtoReflect.Descriptor instead.

func (*Deposit) GetData added in v1.6.0

func (x *Deposit) GetData() *DepositData

func (*Deposit) GetProof added in v1.6.0

func (x *Deposit) GetProof() [][]byte

func (*Deposit) ProtoMessage added in v1.6.0

func (*Deposit) ProtoMessage()

func (*Deposit) ProtoReflect added in v1.6.0

func (x *Deposit) ProtoReflect() protoreflect.Message

func (*Deposit) Reset added in v1.6.0

func (x *Deposit) Reset()

func (*Deposit) String added in v1.6.0

func (x *Deposit) String() string

type DepositData added in v1.6.0

type DepositData struct {
	Pubkey                []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	WithdrawalCredentials []byte `protobuf:"bytes,2,opt,name=withdrawal_credentials,json=withdrawalCredentials,proto3" json:"withdrawal_credentials,omitempty"`
	Amount                uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	Signature             []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md#depositdata

func (*DepositData) Descriptor deprecated added in v1.6.0

func (*DepositData) Descriptor() ([]byte, []int)

Deprecated: Use DepositData.ProtoReflect.Descriptor instead.

func (*DepositData) GetAmount added in v1.6.0

func (x *DepositData) GetAmount() uint64

func (*DepositData) GetPubkey added in v1.6.0

func (x *DepositData) GetPubkey() []byte

func (*DepositData) GetSignature added in v1.6.0

func (x *DepositData) GetSignature() []byte

func (*DepositData) GetWithdrawalCredentials added in v1.6.0

func (x *DepositData) GetWithdrawalCredentials() []byte

func (*DepositData) ProtoMessage added in v1.6.0

func (*DepositData) ProtoMessage()

func (*DepositData) ProtoReflect added in v1.6.0

func (x *DepositData) ProtoReflect() protoreflect.Message

func (*DepositData) Reset added in v1.6.0

func (x *DepositData) Reset()

func (*DepositData) String added in v1.6.0

func (x *DepositData) String() string

type Eth1Data added in v1.6.0

type Eth1Data struct {
	DepositRoot  []byte `protobuf:"bytes,1,opt,name=deposit_root,json=depositRoot,proto3" json:"deposit_root,omitempty"`
	DepositCount uint64 `protobuf:"varint,2,opt,name=deposit_count,json=depositCount,proto3" json:"deposit_count,omitempty"`
	BlockHash    []byte `protobuf:"bytes,3,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	// contains filtered or unexported fields
}

https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md#eth1data

func (*Eth1Data) Descriptor deprecated added in v1.6.0

func (*Eth1Data) Descriptor() ([]byte, []int)

Deprecated: Use Eth1Data.ProtoReflect.Descriptor instead.

func (*Eth1Data) GetBlockHash added in v1.6.0

func (x *Eth1Data) GetBlockHash() []byte

func (*Eth1Data) GetDepositCount added in v1.6.0

func (x *Eth1Data) GetDepositCount() uint64

func (*Eth1Data) GetDepositRoot added in v1.6.0

func (x *Eth1Data) GetDepositRoot() []byte

func (*Eth1Data) ProtoMessage added in v1.6.0

func (*Eth1Data) ProtoMessage()

func (*Eth1Data) ProtoReflect added in v1.6.0

func (x *Eth1Data) ProtoReflect() protoreflect.Message

func (*Eth1Data) Reset added in v1.6.0

func (x *Eth1Data) Reset()

func (*Eth1Data) String added in v1.6.0

func (x *Eth1Data) String() string

type ExecutionPayload added in v1.6.0

type ExecutionPayload struct {

	// The execution payload header
	Header       *ExecutionPayloadHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Transactions []*Transaction          `protobuf:"bytes,2,rep,name=transactions,proto3" json:"transactions,omitempty"`
	// contains filtered or unexported fields
}

An execution payload Last update: Capella We don't include the withdrawals because we're not interested in them and they add some overhead.

func (*ExecutionPayload) Descriptor deprecated added in v1.6.0

func (*ExecutionPayload) Descriptor() ([]byte, []int)

Deprecated: Use ExecutionPayload.ProtoReflect.Descriptor instead.

func (*ExecutionPayload) GetHeader added in v1.6.0

func (x *ExecutionPayload) GetHeader() *ExecutionPayloadHeader

func (*ExecutionPayload) GetTransactions added in v1.6.0

func (x *ExecutionPayload) GetTransactions() []*Transaction

func (*ExecutionPayload) ProtoMessage added in v1.6.0

func (*ExecutionPayload) ProtoMessage()

func (*ExecutionPayload) ProtoReflect added in v1.6.0

func (x *ExecutionPayload) ProtoReflect() protoreflect.Message

func (*ExecutionPayload) Reset added in v1.6.0

func (x *ExecutionPayload) Reset()

func (*ExecutionPayload) String added in v1.6.0

func (x *ExecutionPayload) String() string

type ExecutionPayloadHeader added in v1.6.0

type ExecutionPayloadHeader struct {
	ParentHash   []byte `protobuf:"bytes,1,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty"`
	FeeRecipient []byte `protobuf:"bytes,2,opt,name=fee_recipient,json=feeRecipient,proto3" json:"fee_recipient,omitempty"`
	StateRoot    []byte `protobuf:"bytes,3,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"`
	ReceiptsRoot []byte `protobuf:"bytes,4,opt,name=receipts_root,json=receiptsRoot,proto3" json:"receipts_root,omitempty"`
	LogsBloom    []byte `protobuf:"bytes,5,opt,name=logs_bloom,json=logsBloom,proto3" json:"logs_bloom,omitempty"`
	PrevRandao   []byte `protobuf:"bytes,6,opt,name=prev_randao,json=prevRandao,proto3" json:"prev_randao,omitempty"`
	BlockNumber  uint64 `protobuf:"varint,7,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
	GasLimit     uint64 `protobuf:"varint,8,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
	GasUsed      uint64 `protobuf:"varint,9,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"`
	Timestamp    uint64 `protobuf:"varint,10,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	ExtraData    []byte `protobuf:"bytes,11,opt,name=extra_data,json=extraData,proto3" json:"extra_data,omitempty"`
	// Big endian encoded U256
	BaseFeePerGas    []byte `protobuf:"bytes,12,opt,name=base_fee_per_gas,json=baseFeePerGas,proto3" json:"base_fee_per_gas,omitempty"`
	BlockHash        []byte `protobuf:"bytes,13,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	TransactionsRoot []byte `protobuf:"bytes,14,opt,name=transactions_root,json=transactionsRoot,proto3" json:"transactions_root,omitempty"`
	// Only: Capella
	WithdrawalsRoot []byte `protobuf:"bytes,15,opt,name=withdrawals_root,json=withdrawalsRoot,proto3,oneof" json:"withdrawals_root,omitempty"`
	// contains filtered or unexported fields
}

The execution payload header: https://github.com/ethereum/consensus-specs/blob/dev/specs/capella/beacon-chain.md#executionpayloadheader Last update: Capella

func (*ExecutionPayloadHeader) Descriptor deprecated added in v1.6.0

func (*ExecutionPayloadHeader) Descriptor() ([]byte, []int)

Deprecated: Use ExecutionPayloadHeader.ProtoReflect.Descriptor instead.

func (*ExecutionPayloadHeader) GetBaseFeePerGas added in v1.6.0

func (x *ExecutionPayloadHeader) GetBaseFeePerGas() []byte

func (*ExecutionPayloadHeader) GetBlockHash added in v1.6.0

func (x *ExecutionPayloadHeader) GetBlockHash() []byte

func (*ExecutionPayloadHeader) GetBlockNumber added in v1.6.0

func (x *ExecutionPayloadHeader) GetBlockNumber() uint64

func (*ExecutionPayloadHeader) GetExtraData added in v1.6.0

func (x *ExecutionPayloadHeader) GetExtraData() []byte

func (*ExecutionPayloadHeader) GetFeeRecipient added in v1.6.0

func (x *ExecutionPayloadHeader) GetFeeRecipient() []byte

func (*ExecutionPayloadHeader) GetGasLimit added in v1.6.0

func (x *ExecutionPayloadHeader) GetGasLimit() uint64

func (*ExecutionPayloadHeader) GetGasUsed added in v1.6.0

func (x *ExecutionPayloadHeader) GetGasUsed() uint64

func (*ExecutionPayloadHeader) GetLogsBloom added in v1.6.0

func (x *ExecutionPayloadHeader) GetLogsBloom() []byte

func (*ExecutionPayloadHeader) GetParentHash added in v1.6.0

func (x *ExecutionPayloadHeader) GetParentHash() []byte

func (*ExecutionPayloadHeader) GetPrevRandao added in v1.6.0

func (x *ExecutionPayloadHeader) GetPrevRandao() []byte

func (*ExecutionPayloadHeader) GetReceiptsRoot added in v1.6.0

func (x *ExecutionPayloadHeader) GetReceiptsRoot() []byte

func (*ExecutionPayloadHeader) GetStateRoot added in v1.6.0

func (x *ExecutionPayloadHeader) GetStateRoot() []byte

func (*ExecutionPayloadHeader) GetTimestamp added in v1.6.0

func (x *ExecutionPayloadHeader) GetTimestamp() uint64

func (*ExecutionPayloadHeader) GetTransactionsRoot added in v1.6.0

func (x *ExecutionPayloadHeader) GetTransactionsRoot() []byte

func (*ExecutionPayloadHeader) GetWithdrawalsRoot added in v1.6.0

func (x *ExecutionPayloadHeader) GetWithdrawalsRoot() []byte

func (*ExecutionPayloadHeader) ProtoMessage added in v1.6.0

func (*ExecutionPayloadHeader) ProtoMessage()

func (*ExecutionPayloadHeader) ProtoReflect added in v1.6.0

func (x *ExecutionPayloadHeader) ProtoReflect() protoreflect.Message

func (*ExecutionPayloadHeader) Reset added in v1.6.0

func (x *ExecutionPayloadHeader) Reset()

func (*ExecutionPayloadHeader) String added in v1.6.0

func (x *ExecutionPayloadHeader) String() string

type IndexedAttestation added in v1.6.0

type IndexedAttestation struct {
	AttestingIndices []uint64         `protobuf:"varint,1,rep,packed,name=attesting_indices,json=attestingIndices,proto3" json:"attesting_indices,omitempty"`
	Data             *AttestationData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Signature        []byte           `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md#indexedattestation

func (*IndexedAttestation) Descriptor deprecated added in v1.6.0

func (*IndexedAttestation) Descriptor() ([]byte, []int)

Deprecated: Use IndexedAttestation.ProtoReflect.Descriptor instead.

func (*IndexedAttestation) GetAttestingIndices added in v1.6.0

func (x *IndexedAttestation) GetAttestingIndices() []uint64

func (*IndexedAttestation) GetData added in v1.6.0

func (x *IndexedAttestation) GetData() *AttestationData

func (*IndexedAttestation) GetSignature added in v1.6.0

func (x *IndexedAttestation) GetSignature() []byte

func (*IndexedAttestation) ProtoMessage added in v1.6.0

func (*IndexedAttestation) ProtoMessage()

func (*IndexedAttestation) ProtoReflect added in v1.6.0

func (x *IndexedAttestation) ProtoReflect() protoreflect.Message

func (*IndexedAttestation) Reset added in v1.6.0

func (x *IndexedAttestation) Reset()

func (*IndexedAttestation) String added in v1.6.0

func (x *IndexedAttestation) String() string

type ProposerSlashing added in v1.6.0

type ProposerSlashing struct {
	Header_1 *SignedBeaconBlockHeader `protobuf:"bytes,1,opt,name=header_1,json=header1,proto3" json:"header_1,omitempty"`
	Header_2 *SignedBeaconBlockHeader `protobuf:"bytes,2,opt,name=header_2,json=header2,proto3" json:"header_2,omitempty"`
	// contains filtered or unexported fields
}

https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md#proposerslashing

func (*ProposerSlashing) Descriptor deprecated added in v1.6.0

func (*ProposerSlashing) Descriptor() ([]byte, []int)

Deprecated: Use ProposerSlashing.ProtoReflect.Descriptor instead.

func (*ProposerSlashing) GetHeader_1 added in v1.6.0

func (x *ProposerSlashing) GetHeader_1() *SignedBeaconBlockHeader

func (*ProposerSlashing) GetHeader_2 added in v1.6.0

func (x *ProposerSlashing) GetHeader_2() *SignedBeaconBlockHeader

func (*ProposerSlashing) ProtoMessage added in v1.6.0

func (*ProposerSlashing) ProtoMessage()

func (*ProposerSlashing) ProtoReflect added in v1.6.0

func (x *ProposerSlashing) ProtoReflect() protoreflect.Message

func (*ProposerSlashing) Reset added in v1.6.0

func (x *ProposerSlashing) Reset()

func (*ProposerSlashing) String added in v1.6.0

func (x *ProposerSlashing) String() string

type SignedBLSToExecutionChange added in v1.6.0

type SignedBLSToExecutionChange struct {
	Message   *BLSToExecutionChange `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Signature []byte                `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

https://github.com/ethereum/consensus-specs/blob/dev/specs/capella/beacon-chain.md#signedblstoexecutionchange

func (*SignedBLSToExecutionChange) Descriptor deprecated added in v1.6.0

func (*SignedBLSToExecutionChange) Descriptor() ([]byte, []int)

Deprecated: Use SignedBLSToExecutionChange.ProtoReflect.Descriptor instead.

func (*SignedBLSToExecutionChange) GetMessage added in v1.6.0

func (*SignedBLSToExecutionChange) GetSignature added in v1.6.0

func (x *SignedBLSToExecutionChange) GetSignature() []byte

func (*SignedBLSToExecutionChange) ProtoMessage added in v1.6.0

func (*SignedBLSToExecutionChange) ProtoMessage()

func (*SignedBLSToExecutionChange) ProtoReflect added in v1.6.0

func (*SignedBLSToExecutionChange) Reset added in v1.6.0

func (x *SignedBLSToExecutionChange) Reset()

func (*SignedBLSToExecutionChange) String added in v1.6.0

func (x *SignedBLSToExecutionChange) String() string

type SignedBeaconBlock added in v1.6.0

type SignedBeaconBlock struct {
	Message   *BeaconBlock `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Signature []byte       `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md#signedbeaconblock

func (*SignedBeaconBlock) Descriptor deprecated added in v1.6.0

func (*SignedBeaconBlock) Descriptor() ([]byte, []int)

Deprecated: Use SignedBeaconBlock.ProtoReflect.Descriptor instead.

func (*SignedBeaconBlock) GetMessage added in v1.6.0

func (x *SignedBeaconBlock) GetMessage() *BeaconBlock

func (*SignedBeaconBlock) GetSignature added in v1.6.0

func (x *SignedBeaconBlock) GetSignature() []byte

func (*SignedBeaconBlock) ProtoMessage added in v1.6.0

func (*SignedBeaconBlock) ProtoMessage()

func (*SignedBeaconBlock) ProtoReflect added in v1.6.0

func (x *SignedBeaconBlock) ProtoReflect() protoreflect.Message

func (*SignedBeaconBlock) Reset added in v1.6.0

func (x *SignedBeaconBlock) Reset()

func (*SignedBeaconBlock) String added in v1.6.0

func (x *SignedBeaconBlock) String() string

type SignedBeaconBlockHeader added in v1.6.0

type SignedBeaconBlockHeader struct {
	Message   *BeaconBlockHeader `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Signature []byte             `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md#signedbeaconblockheader

func (*SignedBeaconBlockHeader) Descriptor deprecated added in v1.6.0

func (*SignedBeaconBlockHeader) Descriptor() ([]byte, []int)

Deprecated: Use SignedBeaconBlockHeader.ProtoReflect.Descriptor instead.

func (*SignedBeaconBlockHeader) GetMessage added in v1.6.0

func (x *SignedBeaconBlockHeader) GetMessage() *BeaconBlockHeader

func (*SignedBeaconBlockHeader) GetSignature added in v1.6.0

func (x *SignedBeaconBlockHeader) GetSignature() []byte

func (*SignedBeaconBlockHeader) ProtoMessage added in v1.6.0

func (*SignedBeaconBlockHeader) ProtoMessage()

func (*SignedBeaconBlockHeader) ProtoReflect added in v1.6.0

func (x *SignedBeaconBlockHeader) ProtoReflect() protoreflect.Message

func (*SignedBeaconBlockHeader) Reset added in v1.6.0

func (x *SignedBeaconBlockHeader) Reset()

func (*SignedBeaconBlockHeader) String added in v1.6.0

func (x *SignedBeaconBlockHeader) String() string

type SignedVoluntaryExit added in v1.6.0

type SignedVoluntaryExit struct {
	Message   *VoluntaryExit `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Signature []byte         `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md#signedvoluntaryexit

func (*SignedVoluntaryExit) Descriptor deprecated added in v1.6.0

func (*SignedVoluntaryExit) Descriptor() ([]byte, []int)

Deprecated: Use SignedVoluntaryExit.ProtoReflect.Descriptor instead.

func (*SignedVoluntaryExit) GetMessage added in v1.6.0

func (x *SignedVoluntaryExit) GetMessage() *VoluntaryExit

func (*SignedVoluntaryExit) GetSignature added in v1.6.0

func (x *SignedVoluntaryExit) GetSignature() []byte

func (*SignedVoluntaryExit) ProtoMessage added in v1.6.0

func (*SignedVoluntaryExit) ProtoMessage()

func (*SignedVoluntaryExit) ProtoReflect added in v1.6.0

func (x *SignedVoluntaryExit) ProtoReflect() protoreflect.Message

func (*SignedVoluntaryExit) Reset added in v1.6.0

func (x *SignedVoluntaryExit) Reset()

func (*SignedVoluntaryExit) String added in v1.6.0

func (x *SignedVoluntaryExit) String() string

type SyncAggregate added in v1.6.0

type SyncAggregate struct {
	SyncCommitteeBits      []byte `protobuf:"bytes,1,opt,name=sync_committee_bits,json=syncCommitteeBits,proto3" json:"sync_committee_bits,omitempty"`
	SyncCommitteeSignature []byte `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

https://github.com/ethereum/consensus-specs/blob/dev/specs/altair/beacon-chain.md#syncaggregate

func (*SyncAggregate) Descriptor deprecated added in v1.6.0

func (*SyncAggregate) Descriptor() ([]byte, []int)

Deprecated: Use SyncAggregate.ProtoReflect.Descriptor instead.

func (*SyncAggregate) GetSyncCommitteeBits added in v1.6.0

func (x *SyncAggregate) GetSyncCommitteeBits() []byte

func (*SyncAggregate) GetSyncCommitteeSignature added in v1.6.0

func (x *SyncAggregate) GetSyncCommitteeSignature() []byte

func (*SyncAggregate) ProtoMessage added in v1.6.0

func (*SyncAggregate) ProtoMessage()

func (*SyncAggregate) ProtoReflect added in v1.6.0

func (x *SyncAggregate) ProtoReflect() protoreflect.Message

func (*SyncAggregate) Reset added in v1.6.0

func (x *SyncAggregate) Reset()

func (*SyncAggregate) String added in v1.6.0

func (x *SyncAggregate) String() string

type Transaction

type Transaction struct {
	To          []byte         `protobuf:"bytes,1,opt,name=to,proto3,oneof" json:"to,omitempty"`
	Gas         uint64         `protobuf:"varint,2,opt,name=gas,proto3" json:"gas,omitempty"`
	GasPrice    uint64         `protobuf:"varint,3,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
	Hash        []byte         `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
	Input       []byte         `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"`
	Nonce       uint64         `protobuf:"varint,6,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Value       []byte         `protobuf:"bytes,7,opt,name=value,proto3" json:"value,omitempty"`
	From        []byte         `protobuf:"bytes,8,opt,name=from,proto3,oneof" json:"from,omitempty"`
	Type        uint32         `protobuf:"varint,9,opt,name=type,proto3" json:"type,omitempty"`
	MaxFee      uint64         `protobuf:"varint,10,opt,name=max_fee,json=maxFee,proto3" json:"max_fee,omitempty"`                // = maxFeePerGas = GasFeeCap
	PriorityFee uint64         `protobuf:"varint,11,opt,name=priority_fee,json=priorityFee,proto3" json:"priority_fee,omitempty"` // = maxPriorityFeePerGas = GasTipCap
	V           uint64         `protobuf:"varint,12,opt,name=v,proto3" json:"v,omitempty"`
	R           []byte         `protobuf:"bytes,13,opt,name=r,proto3" json:"r,omitempty"`
	S           []byte         `protobuf:"bytes,14,opt,name=s,proto3" json:"s,omitempty"`
	ChainId     uint32         `protobuf:"varint,15,opt,name=chainId,proto3" json:"chainId,omitempty"`
	AccessList  []*AccessTuple `protobuf:"bytes,16,rep,name=access_list,json=accessList,proto3" json:"access_list,omitempty"`
	// contains filtered or unexported fields
}

/ Typed transaction

func (*Transaction) Descriptor deprecated

func (*Transaction) Descriptor() ([]byte, []int)

Deprecated: Use Transaction.ProtoReflect.Descriptor instead.

func (*Transaction) GetAccessList added in v1.2.8

func (x *Transaction) GetAccessList() []*AccessTuple

func (*Transaction) GetChainId

func (x *Transaction) GetChainId() uint32

func (*Transaction) GetFrom

func (x *Transaction) GetFrom() []byte

func (*Transaction) GetGas

func (x *Transaction) GetGas() uint64

func (*Transaction) GetGasPrice

func (x *Transaction) GetGasPrice() uint64

func (*Transaction) GetHash

func (x *Transaction) GetHash() []byte

func (*Transaction) GetInput

func (x *Transaction) GetInput() []byte

func (*Transaction) GetMaxFee

func (x *Transaction) GetMaxFee() uint64

func (*Transaction) GetNonce

func (x *Transaction) GetNonce() uint64

func (*Transaction) GetPriorityFee

func (x *Transaction) GetPriorityFee() uint64

func (*Transaction) GetR

func (x *Transaction) GetR() []byte

func (*Transaction) GetS

func (x *Transaction) GetS() []byte

func (*Transaction) GetTo

func (x *Transaction) GetTo() []byte

func (*Transaction) GetType

func (x *Transaction) GetType() uint32

func (*Transaction) GetV

func (x *Transaction) GetV() uint64

func (*Transaction) GetValue

func (x *Transaction) GetValue() []byte

func (*Transaction) ProtoMessage

func (*Transaction) ProtoMessage()

func (*Transaction) ProtoReflect

func (x *Transaction) ProtoReflect() protoreflect.Message

func (*Transaction) Reset

func (x *Transaction) Reset()

func (*Transaction) String

func (x *Transaction) String() string

type VoluntaryExit added in v1.6.0

type VoluntaryExit struct {
	Epoch          uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	ValidatorIndex uint64 `protobuf:"varint,2,opt,name=validator_index,json=validatorIndex,proto3" json:"validator_index,omitempty"`
	// contains filtered or unexported fields
}

https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md#voluntaryexit

func (*VoluntaryExit) Descriptor deprecated added in v1.6.0

func (*VoluntaryExit) Descriptor() ([]byte, []int)

Deprecated: Use VoluntaryExit.ProtoReflect.Descriptor instead.

func (*VoluntaryExit) GetEpoch added in v1.6.0

func (x *VoluntaryExit) GetEpoch() uint64

func (*VoluntaryExit) GetValidatorIndex added in v1.6.0

func (x *VoluntaryExit) GetValidatorIndex() uint64

func (*VoluntaryExit) ProtoMessage added in v1.6.0

func (*VoluntaryExit) ProtoMessage()

func (*VoluntaryExit) ProtoReflect added in v1.6.0

func (x *VoluntaryExit) ProtoReflect() protoreflect.Message

func (*VoluntaryExit) Reset added in v1.6.0

func (x *VoluntaryExit) Reset()

func (*VoluntaryExit) String added in v1.6.0

func (x *VoluntaryExit) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL