From 7e459540a60107f14157590979941e24e493e17a Mon Sep 17 00:00:00 2001 From: Alexander Graebe Date: Thu, 4 Feb 2021 04:40:39 -0800 Subject: [PATCH] fix: lint for sample code --- .../understand-stacks/managing-accounts.md | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/pages/understand-stacks/managing-accounts.md b/src/pages/understand-stacks/managing-accounts.md index c836dfdd..259583ab 100644 --- a/src/pages/understand-stacks/managing-accounts.md +++ b/src/pages/understand-stacks/managing-accounts.md @@ -79,7 +79,7 @@ const accounts = new AccountsApi(apiConfig); async function getAccountInfo() { const accountInfo = await accounts.getAccountInfo({ - principal: stacksAddress + principal: stacksAddress, }); return accountInfo; @@ -111,9 +111,9 @@ async function getAccountInfoWithoutProof() { principal: stacksAddress, proof: 0, }); - + return accountInfo; -}; +} ``` ## Step 4: Reviewing account history @@ -127,9 +127,9 @@ async function runFaucetStx() { const faucetTx = await faucets.runFaucetStx({ address: stacksAddress, }); - + return faucetTx; -}; +} ``` The API will respond with a new transaction ID and confirmation that the faucet run was successful: @@ -151,9 +151,9 @@ async function getAccountTransactions() { const history = await accounts.getAccountTransactions({ principal: stacksAddress, }); - + return history; -} +} ``` The API will respond with a paginatable list of transactions associated with the account: @@ -212,9 +212,9 @@ async function getAccountTransactions() { limit: 50, offset: 50, }); - + return history; -} +} ``` ## Step 5: Getting account balances @@ -228,7 +228,7 @@ async function getAccountBalance() { }); return balances; -} +} ``` The API will respond with the following breakdown of token balances: