Browse Source

Update managing-accounts.md

feat/new-clarity-onboarding
Dominic Wong 4 years ago
committed by Alexander Graebe
parent
commit
e52ce52660
  1. 12
      src/pages/understand-stacks/managing-accounts.md

12
src/pages/understand-stacks/managing-accounts.md

@ -127,9 +127,9 @@ async function runFaucetStx() {
const faucetTx = await faucets.runFaucetStx({
address: stacksAddress,
});
};
console.log(faucetTx);
return faucetTx;
};
```
The API will respond with a new transaction ID and confirmation that the faucet run was successful:
@ -152,7 +152,7 @@ async function getAccountTransactions() {
principal: stacksAddress,
});
console.log(history);
return history;
}
```
@ -212,6 +212,8 @@ async function getAccountTransactions() {
limit: 50,
offset: 50,
});
return history;
}
```
@ -225,7 +227,7 @@ async function getAccountBalance() {
principal: stacksAddress,
});
console.log(balances);
return balances;
}
```

Loading…
Cancel
Save