| Constructor and Description |
|---|
MultisigAccountInfo(java.lang.String recordId,
int version,
Address accountAddress,
long minApproval,
long minRemoval,
java.util.List<Address> cosignatories,
java.util.List<Address> multisigAddresses) |
| Modifier and Type | Method and Description |
|---|---|
Address |
getAccountAddress()
Returns account multisig public account.
|
java.util.List<Address> |
getCosignatoryAddresses()
Returns multisig account cosignatories.
|
long |
getMinApproval()
Returns number of signatures needed to approve a transaction.
|
long |
getMinRemoval()
Returns number of signatures needed to remove a cosignatory.
|
java.util.List<Address> |
getMultisigAddresses()
Returns multisig accounts this account is cosigner of.
|
java.util.Optional<java.lang.String> |
getRecordId()
Returns database record id of the entity.
|
int |
getVersion() |
boolean |
hasCosigner(Address account)
Checks if an account is cosignatory of the multisig account.
|
boolean |
isCosignerOfMultisigAccount(Address account)
Checks if the multisig account is cosignatory of an account.
|
boolean |
isMultisig()
Checks if the account is a multisig account.
|
byte[] |
serialize() |
public Address getAccountAddress()
public long getMinApproval()
public long getMinRemoval()
public java.util.List<Address> getCosignatoryAddresses()
PublicAccountpublic java.util.List<Address> getMultisigAddresses()
PublicAccountpublic boolean hasCosigner(Address account)
account - PublicAccountpublic boolean isCosignerOfMultisigAccount(Address account)
account - PublicAccountpublic int getVersion()
public java.util.Optional<java.lang.String> getRecordId()
StoredgetRecordId in interface Storedpublic boolean isMultisig()
public byte[] serialize()