Get Authorities

Get Authorities

To get the authority of a user with respect to key type, you can use the getAuthoritiesstatic function.

const auth:[string:number][] = HiveMultisig.getAuthorities(username:string, keyType:KeychainKeyType);

This function will return a tuple array of public key and weight.

Parameters

FieldDescriptionType

username

The username of the user in the transaction

string

keyType

The keyType used when initiating the transaction

KeychainKeyTypes enum

Last updated