We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the follow attributes to [AbstractAddress], so that types can be used as expected:
AbstractAddress]
Example use with Wallet address
import type { Address, WalletLocked, WalletUnlocked } from 'fuels'; import { FUEL_NETWORK_URL, Provider, Wallet } from 'fuels'; const myWallet: WalletUnlocked = Wallet.generate({ provider }); const address: Address = myWallet.address; const someWallet: WalletLocked = Wallet.fromAddress(address, provider);
Received the following error
Type 'AbstractAddress' is missing the following properties from type 'Address': bech32Address, toEvmAddress, toAssetId ts(2739)
The text was updated successfully, but these errors were encountered:
In the long run, this might not make sense. 🤔
Please check what I said here.
Sorry, something went wrong.
That makes sense!
This issue will be resolved by the removal of AbtractAddress - see #1584
AbtractAddress
Closed in favour of #1584
No branches or pull requests
Summary
Add the follow attributes to [
AbstractAddress]
, so that types can be used as expected:Reproduction
Example use with Wallet address
Received the following error
The text was updated successfully, but these errors were encountered: