Creates a new Algorand state account. @balance: initial Algo balance (in micro Algo) @account: algo-sdk Account type or string. If strirng is provided then it is used as an account name. If algo-sdk Account is not used than a random account is generated (with an associated private key)
Optionalaccount: string | default
Deploy application in account's state
application definition metadata NOTE - approval and clear program must be the TEAL code as string
Deploy Asset in account's state
removes asset holding from account
Queries application by application index from account's global state. Returns undefined if app is not found.
Queries application by application index from account's local state. Returns undefined if app is not found.
Queries asset definition by assetId
Queries asset holding by assetId
Queries app global state value. Returns
undefined if the key is not present.
Fetches local state value for key present in account returns undefined otherwise
Modifies Asset fields
Fields for modification
new freeze state
Updates app global state. Throws error if app is not found.
Set new key-value pair or update pair with existing key in account for application id: appID, throw error otherwise
line number in TEAL file Note: if user is accessing this function directly through runtime, then line number is unknown
Generated using TypeDoc