Get Fungible Token Metadata
Retrieves a list of all assets events associated with an account or a Contract Identifier.
getAccountAssets
This API endpoint retrieves a comprehensive list of asset events associated with a specific account or Contract Identifier, including asset transfers and mints. It is essential for tracking asset movements and changes in ownership within the Stacks blockchain.
Parameters
principal
Requiredstring
The account address or contract identifier whose asset events are to be retrieved.
initOverrides
RequestInit
Optional overrides for the request initialization settings.
UserSession
The Stacks authentication process enables secure user sign-in for web apps by generating and handling encrypted authentication requests. It involves setting up an app domain, configuring permissions, and creating a UserSession to manage user data.
Functions
isSignInPending
function
Determines if there is an incoming authentication response.
handlePendingSignIn
function
Processes the response and provides a userData
object containing the user's identity, BNS username and profile information.
isUserSignedIn
function
Checks if the user is already authenticated.
loadUserData
function
Retrieves the user's profile data if the user is already authenticated.
encryptContent
function
Encrypts user data for secure storage.
decryptContent
function
Decrypts user data for secure storage.
Last updated on