Properties
Optional
args
args?: Uint8Array[]
assertProgramMaxLen
assertProgramMaxLen: ((approvalProgramBytes: Uint8Array, clearProgramBytes: Uint8Array, extraPages: number) => void)
Type declaration
-
- (approvalProgramBytes: Uint8Array, clearProgramBytes: Uint8Array, extraPages: number): void
-
Parameters
-
approvalProgramBytes: Uint8Array
-
clearProgramBytes: Uint8Array
-
extraPages: number
Returns void
budget
budget: number
closeApp
closeApp: ((sender: string, appID: number) => void)
Type declaration
-
- (sender: string, appID: number): void
-
Parameters
-
sender: string
-
appID: number
Returns void
Optional
debugStack
debugStack?: number
deductFee
deduct
Fee
: ((sender
: string, index
: number, params
: TxParams) => void)
Type declaration
-
- (sender: string, index: number, params: TxParams): void
-
Parameters
-
sender: string
-
index: number
-
Returns void
deleteApp
deleteApp: ((appID: number) => void)
Type declaration
-
- (appID: number): void
-
Returns void
deployASA
deployASADef
deployASADef
: ((name
: string, asaDef
: { clawback
?: string; decimals
: number | bigint; defaultFrozen
?: boolean; freeze
?: string; manager
?: string; metadataHash
?: string | Uint8Array | Buffer; name
?: string; note
?: string; noteb64
?: string; optInAccNames
?: string[]; reserve
?: string; total
: string | number | bigint; unitName
?: string; url
?: string; }, fromAccountAddr
: string, flags
: ASADeploymentFlags) => ASAInfo)
Type declaration
-
- (name: string, asaDef: {
clawback?: string;
decimals: number | bigint;
defaultFrozen?: boolean;
freeze?: string;
manager?: string;
metadataHash?: string | Uint8Array | Buffer;
name?: string;
note?: string;
noteb64?: string;
optInAccNames?: string[];
reserve?: string;
total: string | number | bigint;
unitName?: string;
url?: string;
}, fromAccountAddr: string, flags: ASADeploymentFlags): ASAInfo
-
Parameters
-
name: string
-
asaDef: {
clawback?: string;
decimals: number | bigint;
defaultFrozen?: boolean;
freeze?: string;
manager?: string;
metadataHash?: string | Uint8Array | Buffer;
name?: string;
note?: string;
noteb64?: string;
optInAccNames?: string[];
reserve?: string;
total: string | number | bigint;
unitName?: string;
url?: string;
}
-
Optional
clawback?: string
-
decimals: number | bigint
-
Optional
defaultFrozen?: boolean
-
Optional
freeze?: string
-
Optional
manager?: string
-
Optional
metadataHash?: string | Uint8Array | Buffer
-
Optional
name?: string
-
Optional
note?: string
-
Optional
noteb64?: string
-
Optional
optInAccNames?: string[]
-
Optional
reserve?: string
-
total: string | number | bigint
-
Optional
unitName?: string
-
Optional
url?: string
-
fromAccountAddr: string
-
deployApp
destroyAsset
destroyAsset: ((assetId: number) => void)
Type declaration
-
- (assetId: number): void
-
Returns void
freezeAsset
freezeAsset: ((assetId: number, freezeTarget: string, freezeState: boolean) => void)
Type declaration
-
- (assetId: number, freezeTarget: string, freezeState: boolean): void
-
Parameters
-
assetId: number
-
freezeTarget: string
-
freezeState: boolean
Returns void
getAccount
getApp
Type declaration
-
- (appID: number, line?: number): SSCAttributesM
-
Parameters
-
appID: number
-
Optional
line: number
getAssetAccount
getCallerApplicationAddress
getCallerApplicationAddress: (() => string)
Type declaration
-
- (): string
-
Returns string
getCallerApplicationID
getCallerApplicationID: (() => number)
Type declaration
-
- (): number
-
Returns number
gtxs
innerTxAppIDCallStack
innerTxAppIDCallStack: number[]
isInnerTx
isInnerTx: boolean
knowableID
knowableID: Map<number, number>
lastLog
lastLog: Uint8Array
modifyAsset
optInToASA
Type declaration
-
- (assetIndex: number, address: string, flags: TxParams): TxReceipt
-
Parameters
-
assetIndex: number
-
address: string
-
optInToApp
opt
In
To
App
: ((accountAddr
: string, appID
: number, idx
: number) => TxReceipt)
Type declaration
-
- (accountAddr: string, appID: number, idx: number): TxReceipt
-
Parameters
-
accountAddr: string
-
appID: number
-
idx: number
pooledApplCost
pooledApplCost: number
processTransactions
Type declaration
-
- (signedTransactions: SignedTransaction[], appDefMap?: Map<number, SmartContract | AppDefinition>, lsigMap?: Map<number, SignWithLsig>): TxReceipt[]
-
Parameters
-
signedTransactions: SignedTransaction[]
-
-
Optional
lsigMap: Map<number, SignWithLsig>
remainingFee
remainingFee: number
remainingTxns
remainingTxns: number
revokeAsset
revokeAsset: ((recipient: string, assetID: number, revocationTarget: string, amount: bigint) => void)
Type declaration
-
- (recipient: string, assetID: number, revocationTarget: string, amount: bigint): void
-
Parameters
-
recipient: string
-
assetID: number
-
revocationTarget: string
-
amount: bigint
Returns void
sharedScratchSpace
state
transferAlgo
transferAlgo: ((transaction: Transaction) => void)
Type declaration
-
- (transaction: Transaction): void
-
Returns void
transferAsset
transferAsset: ((transaction: Transaction) => void)
Type declaration
-
- (transaction: Transaction): void
-
Returns void
tx
updateApp
verifyMinimumFees
verifyMinimumFees: (() => void)