public final class AccountIndex extends Object implements ID
If the account is registered as a Baker or as a Delegator then the baker id and vice versa the delegator id corresponds to the underlying account index.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static AccountIndex |
from(DelegatorId delegatorId) |
static AccountIndex |
from(long index) |
byte[] |
getBytes() |
long |
getId() |
UInt64 |
getIndex()
The account index
|
int |
hashCode() |
String |
toString() |
public static AccountIndex from(long index)
public static AccountIndex from(DelegatorId delegatorId)
public byte[] getBytes()
public UInt64 getIndex()
Copyright © 2025. All rights reserved.