Creating a wallet on the blockchain network
create wallet
OK
const response = await fetch('//api.client.nbcgate.tech/api/wallet', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
{ "address": "text", "blockchainType": "text" }
Get wallet balance and number of transactions by address and network
networkId
address
const response = await fetch('//api.client.nbcgate.tech/api/wallet/{networkId}/{address}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "balance": "text", "tokens": [ { "id": 0, "name": "text", "value": "text" } ], "transactionCount": "text" }