-
Notifications
You must be signed in to change notification settings - Fork 1
Multi Signature
Nathanael Burchill edited this page Oct 18, 2016
·
1 revision
Multi-signature SDK.
Returns a list of multi-signature transactions that waiting for signature by publicKey.
risesdk.api.multiSignatures.getPending("<public key of account>")
Create a multi-signature account.
risesdk.api.multiSignatures.create("<secret of account>", <request lifetime>, <minimum signatures needed>, <array of public keys strings>)
- Lifetime in hours (1-24).
- Minimum signatures needed to approve a tx or a change (1-15).
- For the array of public key strings add a '+' before publicKey to add an account or add a '-' to remove.
Signs a transaction that is awaiting signature.
risesdk.api.multiSignatures.sign("<secret of account>", "<public key of account>", "<id of transaction>")
Gets a list of accounts that are part of a multi-signature account.
risesdk.api.multiSignatures.getAccounts("<public key of multi-signature account>")