Optional
account: string | defaultReadonly
accountReadonly
addressDeploy application in account's state
application index
application definition metadata NOTE - approval and clear program must be the TEAL code as string
Deploy Asset in account's state
Asset Index
Asset Name
Asset Definitions
Optional
clawback?: stringOptional
defaultOptional
freeze?: stringOptional
manager?: stringOptional
metadataOptional
name?: stringOptional
note?: stringOptional
noteb64?: stringOptional
optOptional
reserve?: stringOptional
unitOptional
url?: stringQueries application by application index from account's global state. Returns undefined if app is not found.
application index
Queries application by application index from account's local state. Returns undefined if app is not found.
application index
Queries asset holding by assetId
asset index
Set new key-value pair or update pair with existing key in account for application id: appID, throw error otherwise
Optional
line: numberline number in TEAL file Note: if user is accessing this function directly through runtime, then line number is unknown
Generated using TypeDoc
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)