Hive Multisig SDK
  • Welcome!
  • Quick Start
  • WebSocket flow
    • 1 - Users connect to the Websocket
    • 2 - User A requests a transaction
    • 3 - User B receives the signature request
    • 4 - User B signs the transaction
    • 5 - User B broadcasts the transaction
    • 6 - Users both receive a successful broadcast notification
  • API
  • Utils
    • Encode Transaction
    • Decode Transaction
  • Static helpers
    • Get/Reset HiveMultisig instance
    • Get Signers
    • Get Authorities
    • Validate Initiator
  • Demo
Powered by GitBook
On this page
  • Get Signers
  • Parameters
  1. Static helpers

Get Signers

Get Signers

To get all the potential signers with respect to key type you can use the getSigners static method.

const signers:[string,number][] = HiveMultisig.getSigners(username:string,keyType:KeychainKeyTypes););

This function will return a tuple array of the public keys and its corresponding weight.

Parameters

Field
Description
Type

username

The username of the user in the transaction

string

keyType

The keyType used when initiating the transaction

KeychainKeyTypes enum

PreviousGet/Reset HiveMultisig instanceNextGet Authorities

Last updated 1 year ago