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

API

We also provide an API to quickly request a list of all signature requests.

const signatureRequests = await multisig.api.getSignatureRequests(data:SignerConnectMessage);

SignerConnectMessage object

Field
Description
Type

username

Username subscribing

string

keyType

The type of key subscribing to the WebSocket. Can be "Active" or "Posting"

KeychainKeyTypes enum

message

Encrypted Message (through Keychain signBuffer). If none is provided, a request will be sent to sign username using Keychain.

string (optional)

Previous6 - Users both receive a successful broadcast notificationNextUtils

Last updated 1 year ago