ValidatorWithdrawal
in package
ValidatorWithdrawal represents a withdrawal event from a validator, including the amount and related indexes.
Tags
Table of Contents
Properties
Methods
- fromRPCArr() : static
- Constructs a ValidatorWithdrawal object from an array received through RPC.
Properties
$address
public
Address
$address
$amount
public
OOGmp
$amount
$index
public
OOGmp
$index
$validatorIndex
public
OOGmp
$validatorIndex
Methods
fromRPCArr()
Constructs a ValidatorWithdrawal object from an array received through RPC.
public
static fromRPCArr(array<string|int, mixed> $rpcArr) : static
Parameters
- $rpcArr : array<string|int, mixed>
-
The array containing withdrawal data.
Tags
Return values
static —The ValidatorWithdrawal object.