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"`
Timestamp string `json:"timestamp"`
Slot int `json:"slot"`
FeeAddress string `json:"fee_address"`
PreviousBlockHash string `json:"previous_block_hash"`
VotesMerkleRoot string `json:"votes_merkle_root"`
DepositsMerkleRoot string `json:"deposits_merkle_root"`
ExitsMerkleRoot string `json:"exits_merkle_root"`
PartialExitsMerkleRoot string `json:"partial_exits_merkle_root"`
CoinProofsMerkleRoot string `json:"coin_proofs_merkle_root"`
ExecutionsMerkleRoot string `json:"executions_merkle_root"`
TxsMerkleRoot string `json:"txs_merkle_root"`
VoteMerkleRoot string `json:"vote_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"`
MultiSignatureTxsMerkleRoot string `json:"multi_signature_txs_merkle_root"`
}
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"`
ExpectedVotes int `json:"expected_votes"`
Participation string `json:"participation"`
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.