Get all multisigs list
OK
const response = await fetch('//api.client.nbcgate.tech/api/blockchain/multisigs', { method: 'GET', headers: {}, }); const data = await response.json();
[ { "address": "text", "description": "text", "id": 0, "name": "text", "network": { "id": 0 }, "owners": [ "text" ], "threshold": 0, "version": "text" } ]
Delete multisig with specified id
number
No Content
const response = await fetch('//api.client.nbcgate.tech/api/blockchain/multisigs/{id}', { method: 'DELETE', headers: {}, }); const data = await response.json();
{ "errors": [ { "code": 0, "field": "text", "message": "text" } ], "message": "text", "statusCode": 0 }
Get multisig with specified id
const response = await fetch('//api.client.nbcgate.tech/api/blockchain/multisigs/{id}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "address": "text", "description": "text", "id": 0, "name": "text", "network": { "id": 0 }, "owners": [ "text" ], "threshold": 0, "version": "text" }
Create new multisig wallet
create multisig
"All business owners addresses list"
"Business owners in fuji network"
Created
const response = await fetch('//api.client.nbcgate.tech/api/blockchain/multisigs', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "name": "Business owners in fuji network", "network": 1, "owners": [ "text" ], "threshold": 0 }), }); const data = await response.json();