Getting current account
When the user is connected, the app can get the address of the connected account using the currentAccount method, which returns a Promise<string> - account address in Bech32 format.
const currentAccount = await fuel.currentAccount();
console.log("Current Account ", currentAccount);Last updated