Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockHeader ¶
type BlockHeader struct {
Hash string `json:"hash"`
Version int `json:"version"`
Nonce string `json:"nonce"`
TxMerkleRoot string `json:"tx_merkle_root"`
TxMultiMerkleRoot string `json:"tx_multi_merkle_root"`
VoteMerkleRoot string `json:"vote_merkle_root"`
DepositMerkleRoot string `json:"deposit_merkle_root"`
ExitMerkleRoot string `json:"exit_merkle_root"`
VoteSlashingMerkleRoot string `json:"vote_slashing_merkle_root"`
RandaoSlashingMerkleRoot string `json:"randao_slashing_merkle_root"`
ProposerSlashingMerkleRoot string `json:"proposer_slashing_merkle_root"`
GovernanceVotesMerkleRoot string `json:"governance_votes_merkle_root"`
PreviousBlockHash string `json:"previous_block_hash"`
Timestamp string `json:"timestamp"`
Slot int `json:"slot"`
StateRoot string `json:"state_root"`
FeeAddress string `json:"fee_address"`
}
type CoinProofs ¶
type Deposit ¶
type Deposit struct {
Hash string `json:"hash"`
BlockHash string `json:"block_hash"`
PublicKey string `json:"public_key"`
Data *DepositData `json:"data"`
}
type DepositData ¶
type Epoch ¶
type Epoch struct {
Epoch int `json:"epoch"`
Slot1 int `json:"slot_1"`
Slot2 int `json:"slot_2"`
Slot3 int `json:"slot_3"`
Slot4 int `json:"slot_4"`
Slot5 int `json:"slot_5"`
ParticipationPercentage string `json:"participation_percentage"`
Finalized bool `json:"finalized"`
Justified bool `json:"justified"`
Randao string `json:"randao"`
}
type PartialExit ¶
type Tx ¶
type Tx struct {
BlockHash string `json:"block_hash"`
Hash string `json:"hash"`
ToAddress string `json:"to_address"`
FromPublicKeyHash string `json:"from_public_key_hash"`
FromPublicKey string `json:"from_public_key"`
Amount int `json:"amount"`
Nonce int `json:"nonce"`
Fee int `json:"fee"`
Timestamp int `json:"timestamp"`
}
Click to show internal directories.
Click to hide internal directories.