Package org.symbol.sdk.facade
Interface Account<TTransaction extends CatbufferType,TKeyPair extends KeyPair>
- Type Parameters:
TTransaction- Concrete transaction type.TKeyPair- Concrete key-pair type.
- All Superinterfaces:
PublicAccount
- All Known Implementing Classes:
SymbolFacade.SymbolAccount
public interface Account<TTransaction extends CatbufferType,TKeyPair extends KeyPair>
extends PublicAccount
- Account
- Cross-blockchain account — a
PublicAccountthat also holds the signing key pair and can sign its own chain's transactions.
-
Method Summary
Modifier and TypeMethodDescriptionkeyPair()Gets the account key pair.signTransaction(TTransaction transaction) Signs a transaction with this account's key pair.Methods inherited from interface org.symbol.sdk.facade.PublicAccount
address, publicKey
-
Method Details
-
keyPair
TKeyPair keyPair()- Account.keyPair
- Gets the account key pair.
- Returns:
- Key pair.
-
signTransaction
- Account.signTransaction
- Signs a transaction with this account's key pair.
- Parameters:
transaction- Transaction.- Returns:
- Signature.
-