@ApiAudience.Private @ApiStability.Unstable public class AccountWithAddressAndSigner extends AbstractAccount implements TxSigner
Modifier and Type | Field and Description |
---|---|
protected @NonNull AccountAddress |
address |
protected @NonNull TxSigner |
delegate |
nonce
Constructor and Description |
---|
AccountWithAddressAndSigner() |
Modifier and Type | Method and Description |
---|---|
AergoKey |
getKey()
Get
AergoKey if holds. |
Transaction |
sign(RawTransaction rawTransaction)
Sign to raw transaction.
|
bindState, getRecentlyUsedNonce, incrementAndGetNonce, setNonce
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAddress
@NonNull protected final @NonNull AccountAddress address
@NonNull protected final @NonNull TxSigner delegate
public AergoKey getKey()
Account
AergoKey
if holds. Otherwise return null.public Transaction sign(RawTransaction rawTransaction)
TxSigner