list of AccountStore
Create Asset in Runtime without using asa.yaml
ASA name
ASA Deployment Flags
create new application and returns application id
application approval program
application clear program
SSCDeployment flags
Transaction parameters
Create Asset in Runtime using asa.yaml
ASA name
ASA Deployment Flags
asserts if account is defined.
address
account
line number in TEAL file Note: if user is accessing this function directly through runtime, the line number is unknown
asserts if account address is defined
account address
line number in TEAL file Note: if user is accessing this function directly through runtime, the line number is unknown
asserts if application exists in state
application index
application
line number in TEAL file Note: if user is accessing this function directly through runtime, the line number is unknown
asserts if asset exists in state
asset index
asset definitions
line number Note: if user is accessing this function directly through runtime, the line number is unknown
Ensure no duplicate transaction in group txn
group transaction
Creates a new account with logic signature and smart contract arguments in the runtime store. The arguments are used when we send a transaction with this account and verify it.
TEAL code
arguments passed
logic signature with arguments.
Getter for _defaultAccounts, returns a synced version of the accounts list
list of AccountStore
Deploy Asset in Runtime using asa.yaml
ASA name
ASA Deployment Flags
Deploy Asset in Runtime without using asa.yaml
ASA name
ASA Deployment Flags
This function executes a transaction based on a smart contract logic and updates state afterwards
: Transaction parameters
Transfers amount
of microAlgos from from
address to to
address
From account
to address
amount of algo in microalgos
Fetches account from this.store
account address
Fetches app from this.store
Application Index
Queries app id by app name from global state. Returns undefined if app is not found.
Queries app id by app name from global state. Returns undefined if app is not found. https://www.pivotaltracker.com/story/show/180142720
Returns asset creator account or throws error is it doesn't exist
Index
Returns Asset Definitions
Asset Index
Returns Asset Holding from an account
Asset Index
address of account to get holding from
Queries asset id by asset name from global state. Returns undefined if asset is not found.
Asset name
Fetches global state value for key present in creator's global state for given appID, returns undefined otherwise
Fetches local state for account address and application index
application index
address for which local state needs to be retrieved
Return current round
Return current timestamp
Returns transaction receipt for a particular transaction
transaction ID
Setup initial accounts as {address: SDKAccount}. This should be called only when initializing Runtime.
Loads logic signature for contract mode, creates a new runtime account associated with lsig
ASC filename
only show logs on console when set as true. By default this value is true
loaded logic signature from assets/
Asset Opt-In for account in Runtime
Asset Index
Account address to opt-into asset
Transaction Parameters
Opt-In to all accounts given in asa.yaml to a specific asset.
Asset Index
list account opt to asa
Account address opt-in for application Id
Account address
Application Id
Stateful smart contract transaction optional parameters (accounts, args..)
Transaction Parameters
Resets the state of the default accounts
This function executes TEAL code line by line
: teal code as string
: execution Mode (Stateless or Stateful)
set current round with timestamp for a block
current round
block's timestamp
Update application
application Name. Note in runtime application name just placeholder params
sender address
application Id
new application source code
Transaction parameters
Stateful smart contract transaction optional parameters (accounts, args..)
Validate signature for Algorand account on transaction params. Include check spending account when creating a transaction from Algorand account Throw RuntimeError if signature is invalid.
transaction parameters.
validate logic signature and teal logic
Transaction Parameters
Validate first and last rounds of transaction using current round
transactions
Generated using TypeDoc
Returns a list of initialized default accounts created using static accountSDK from account.ts and funded with default balance (100 ALGO)