Skip to main content

ValidatorMetadataV1Protocol

ValidatorMetadataV1Protocol Objects​

class ValidatorMetadataV1Protocol(typing.Protocol)

A typed view of a 0x3::validator::ValidatorMetadataV1.

authority_pubkey_bytes​

def authority_pubkey_bytes() -> bytes

Public key bytes for signing transactions (also serves as the authority name).

iota_address​

def iota_address() -> Address

The IOTA address of the validator.

name​

def name() -> str

A unique human-readable validator name.

net_address​

def net_address() -> str

Network address of the validator.

network_pubkey_bytes​

def network_pubkey_bytes() -> bytes

Public key bytes for TLS connections.

next_epoch_authority_pubkey_bytes​

def next_epoch_authority_pubkey_bytes() -> typing.Optional[bytes]

next_epoch_* metadata only takes effect in the next epoch. If None, the current value stays unchanged.

p2p_address​

def p2p_address() -> str

Address of the validator used for p2p activities such as state sync.

primary_address​

def primary_address() -> str

Primary address of the consensus.

proof_of_possession​

def proof_of_possession() -> bytes

Proof that the validator owns the private key.

protocol_pubkey_bytes​

def protocol_pubkey_bytes() -> bytes

Public key bytes for signing consensus blocks.