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
https://github.com/massalabs/massa-web3/blob/main/packages/web3-utils/src/arguments.ts#L11
address
The text was updated successfully, but these errors were encountered:
Hello! From the FT contract, it's a string https://github.com/massalabs/massa-standards/blob/604d35739aa3663c53434cb69ac62c7b6131ef1d/smart-contracts/assembly/contracts/FT/token.ts#L147
If you need a check you still can do
const args = new Args(); args.addString(new Address("AU...").base58Encoded)
It will check if the address is valid.
If you just need to to send the string
const args = new Args(); args.addString("AU...");
Sorry, something went wrong.
Hello! From the FT contract, it's a string https://github.com/massalabs/massa-standards/blob/604d35739aa3663c53434cb69ac62c7b6131ef1d/smart-contracts/assembly/contracts/FT/token.ts#L147 If you need a check you still can do const args = new Args(); args.addString(new Address("AU...").base58Encoded) It will check if the address is valid. If you just need to to send the string const args = new Args(); args.addString("AU...");
Thanks for answer, i mean it will be cool make it more abstract like Address type)))
No branches or pull requests
https://github.com/massalabs/massa-web3/blob/main/packages/web3-utils/src/arguments.ts#L11
needaddress
typeThe text was updated successfully, but these errors were encountered: