|
@ -79,7 +79,7 @@ const accounts = new AccountsApi(apiConfig); |
|
|
|
|
|
|
|
|
async function getAccountInfo() { |
|
|
async function getAccountInfo() { |
|
|
const accountInfo = await accounts.getAccountInfo({ |
|
|
const accountInfo = await accounts.getAccountInfo({ |
|
|
principal: stacksAddress |
|
|
principal: stacksAddress, |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
return accountInfo; |
|
|
return accountInfo; |
|
@ -113,7 +113,7 @@ async function getAccountInfoWithoutProof() { |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
return accountInfo; |
|
|
return accountInfo; |
|
|
}; |
|
|
} |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
## Step 4: Reviewing account history |
|
|
## Step 4: Reviewing account history |
|
@ -129,7 +129,7 @@ async function runFaucetStx() { |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
return faucetTx; |
|
|
return faucetTx; |
|
|
}; |
|
|
} |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
The API will respond with a new transaction ID and confirmation that the faucet run was successful: |
|
|
The API will respond with a new transaction ID and confirmation that the faucet run was successful: |
|
|