Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Protected api

Methods

getFee

getFees

getPotentialSignatures

  • This method will return the set of all public keys that could possibly sign for a given transaction. This call can be used by wallets to filter their set of public keys to just the relevant subset prior to calling get_required_signatures() to get the minimum subset.

    Parameters

    Returns Observable<Address[]>

    public keys that can sign transaction

getRequiredSignatures

  • This API will take a partially signed transaction and a set of public keys that the owner has the ability to sign for and return the minimal subset of public keys that should add signatures to the transaction.

    Parameters

    • transaction: Transaction

      partially signed transaction

    • keys: Address[]

      available owner public keys

    Returns Observable<Address[]>

    public keys that should add signatures

Protected request

validateTransaction

verifyAccountAuthority

  • verifyAccountAuthority(nameOrId: string, keys: Address[]): Observable<boolean>
  • Verifies if the signers have enough authority to authorize an account.

    Parameters

    • nameOrId: string

      account name or object id

    • keys: Address[]

      signer keys

    Returns Observable<boolean>

    if the signers have enough authority

verifyAuthority

  • verifyAuthority(transaction: Transaction): Observable<boolean>
  • Verifies required signatures of a transaction.

    Parameters

    • transaction: Transaction

      signed transaction to verify

    Returns Observable<boolean>

    if the transaction has all of the required signatures

Generated using TypeDoc