@ApiAudience.Private @ApiStability.Unstable public class AccountWithKey extends AbstractAccount implements TxSigner
Modifier and Type | Field and Description |
---|---|
protected @NonNull AergoKey |
key |
nonce
Constructor and Description |
---|
AccountWithKey() |
Modifier and Type | Method and Description |
---|---|
AccountAddress |
getAddress()
Get address of an account.
|
Transaction |
sign(RawTransaction rawTransaction)
Sign to raw transaction.
|
bindState, getRecentlyUsedNonce, incrementAndGetNonce, setNonce
@NonNull protected final @NonNull AergoKey key
public AccountAddress getAddress()
Account
getAddress
in interface Account
public Transaction sign(RawTransaction rawTransaction)
TxSigner