Symbol account.

Hierarchy (view full)

Constructors

Properties

_facade: SymbolFacade
address: Address

Account address.

keyPair: KeyPair

Account key pair.

publicKey: PublicKey

Account public key.

Methods

  • Cosigns a Symbol transaction.

    Parameters

    • transaction: models.Transaction

      Transaction object.

    • Optional 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.

  • Cosigns a Symbol transaction hash.

    Parameters

    • transactionHash: Hash256

      Transaction hash.

    • Optional 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.

  • Creates a message encoder that can be used for encrypting and encoding messages between two parties.

    Returns MessageEncoder

    Message encoder using this account as one party.

  • Signs a Symbol transaction.

    Parameters

    Returns Signature

    Transaction signature.