SymbolAccount⚓︎
- SymbolAccount
- Symbol account.
Extends⚓︎
Constructors⚓︎
new SymbolAccount()⚓︎
Creates a Symbol account.
Parameters⚓︎
Parameter | Type | Description |
---|---|---|
facade |
SymbolFacade |
Symbol facade. |
keyPair |
KeyPair |
Account key pair. |
Returns⚓︎
SymbolAccount
Overrides⚓︎
SymbolPublicAccount
.constructor
Properties⚓︎
Property | Modifier | Type | Description | Inherited from |
---|---|---|---|---|
_facade |
protected |
SymbolFacade |
- | SymbolPublicAccount ._facade |
address |
public |
Address |
Account address. | SymbolPublicAccount .address |
keyPair |
public |
KeyPair |
Account key pair. | - |
publicKey |
public |
PublicKey |
Account public key. | SymbolPublicAccount .publicKey |
Methods⚓︎
cosignTransaction()⚓︎
- SymbolAccount.cosignTransaction
- Cosigns a Symbol transaction.
Parameters⚓︎
Parameter | Type | Description |
---|---|---|
transaction |
Transaction |
Transaction object. |
detached ? |
boolean |
\c true if resulting cosignature is appropriate for network propagation. \c false if resulting cosignature is appropriate for attaching to an aggregate. |
Returns⚓︎
| Cosignature
| DetachedCosignature
Signed cosignature.
cosignTransactionHash()⚓︎
- SymbolAccount.cosignTransactionHash
- Cosigns a Symbol transaction hash.
Parameters⚓︎
Parameter | Type | Description |
---|---|---|
transactionHash |
Hash256 |
Transaction hash. |
detached ? |
boolean |
\c true if resulting cosignature is appropriate for network propagation. \c false if resulting cosignature is appropriate for attaching to an aggregate. |
Returns⚓︎
| Cosignature
| DetachedCosignature
Signed cosignature.
messageEncoder()⚓︎
- SymbolAccount.messageEncoder
- Creates a message encoder that can be used for encrypting and encoding messages between two parties.
Returns⚓︎
Message encoder using this account as one party.
signTransaction()⚓︎
- SymbolAccount.signTransaction
- Signs a Symbol transaction.
Parameters⚓︎
Parameter | Type | Description |
---|---|---|
transaction |
Transaction |
Transaction object. |
Returns⚓︎
Transaction signature.