Check token added
ArConnect Injected API isTokenAdded() function
When trying to add a token, it can be useful to know if a token has already been added to ArConnect. The isTokenAdded()
function returns a boolean indicating whether the token with the supplied ID has been added to the extension or not.
Argument | Type | Description |
---|---|---|
|
| The contract ID of the token |
Note: This function does not require any permissions or the app to be connected to ArConnect.
Example usage
Last updated