Skip to main content

Class: ValidatorMetadataV1

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

Extends

  • UniffiAbstractObject

Implements

Properties

[destructorGuardSymbol]

readonly [destructorGuardSymbol]: UniffiGcObject;

[pointerLiteralSymbol]

readonly [pointerLiteralSymbol]: bigint;

[uniffiTypeNameSymbol]

readonly [uniffiTypeNameSymbol]: "ValidatorMetadataV1" = "ValidatorMetadataV1";

Methods

authorityPubkeyBytes()

authorityPubkeyBytes(): ArrayBuffer;

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

Returns

ArrayBuffer

Implementation of

ValidatorMetadataV1Like.authorityPubkeyBytes


description()

description(): string;

Returns

string

Implementation of

ValidatorMetadataV1Like.description


imageUrl()

imageUrl(): string;

Returns

string

Implementation of

ValidatorMetadataV1Like.imageUrl


iotaAddress()

iotaAddress(): AddressLike;

The IOTA address of the validator.

Returns

AddressLike

Implementation of

ValidatorMetadataV1Like.iotaAddress


name()

name(): string;

A unique human-readable validator name.

Returns

string

Implementation of

ValidatorMetadataV1Like.name


netAddress()

netAddress(): string;

Network address of the validator.

Returns

string

Implementation of

ValidatorMetadataV1Like.netAddress


networkPubkeyBytes()

networkPubkeyBytes(): ArrayBuffer;

Public key bytes for TLS connections.

Returns

ArrayBuffer

Implementation of

ValidatorMetadataV1Like.networkPubkeyBytes


nextEpochAuthorityPubkeyBytes()

nextEpochAuthorityPubkeyBytes(): ArrayBuffer | undefined;

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

Returns

ArrayBuffer | undefined

Implementation of

ValidatorMetadataV1Like.nextEpochAuthorityPubkeyBytes


nextEpochNetAddress()

nextEpochNetAddress(): string | undefined;

Returns

string | undefined

Implementation of

ValidatorMetadataV1Like.nextEpochNetAddress


nextEpochNetworkPubkeyBytes()

nextEpochNetworkPubkeyBytes(): ArrayBuffer | undefined;

Returns

ArrayBuffer | undefined

Implementation of

ValidatorMetadataV1Like.nextEpochNetworkPubkeyBytes


nextEpochP2pAddress()

nextEpochP2pAddress(): string | undefined;

Returns

string | undefined

Implementation of

ValidatorMetadataV1Like.nextEpochP2pAddress


nextEpochPrimaryAddress()

nextEpochPrimaryAddress(): string | undefined;

Returns

string | undefined

Implementation of

ValidatorMetadataV1Like.nextEpochPrimaryAddress


nextEpochProofOfPossession()

nextEpochProofOfPossession(): ArrayBuffer | undefined;

Returns

ArrayBuffer | undefined

Implementation of

ValidatorMetadataV1Like.nextEpochProofOfPossession


nextEpochProtocolPubkeyBytes()

nextEpochProtocolPubkeyBytes(): ArrayBuffer | undefined;

Returns

ArrayBuffer | undefined

Implementation of

ValidatorMetadataV1Like.nextEpochProtocolPubkeyBytes


p2pAddress()

p2pAddress(): string;

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

Returns

string

Implementation of

ValidatorMetadataV1Like.p2pAddress


primaryAddress()

primaryAddress(): string;

Primary address of the consensus.

Returns

string

Implementation of

ValidatorMetadataV1Like.primaryAddress


projectUrl()

projectUrl(): string;

Returns

string

Implementation of

ValidatorMetadataV1Like.projectUrl


proofOfPossession()

proofOfPossession(): ArrayBuffer;

Proof that the validator owns the private key.

Returns

ArrayBuffer

Implementation of

ValidatorMetadataV1Like.proofOfPossession


protocolPubkeyBytes()

protocolPubkeyBytes(): ArrayBuffer;

Public key bytes for signing consensus blocks.

Returns

ArrayBuffer

Implementation of

ValidatorMetadataV1Like.protocolPubkeyBytes


toDebugString()

toDebugString(): string;

Returns

string


toString()

toString(): string;

Returns a string representation of an object.

Returns

string


uniffiDestroy()

uniffiDestroy(): void;

Explicitly tell Rust to destroy the native peer that backs this object.

Once this method has been called, any following method calls will throw an error.

Can be called more than once.

Returns

void

Overrides

UniffiAbstractObject.uniffiDestroy

uniffiUse()

uniffiUse<T>(block): T;

A convenience method to use this object, then destroy it after its use.

Type Parameters

T

T

Parameters

block

(obj) => T

Returns

T

Inherited from

UniffiAbstractObject.uniffiUse

instanceOf()

static instanceOf(obj_): obj_ is ValidatorMetadataV1;

Parameters

obj_

any

Returns

obj_ is ValidatorMetadataV1