Properties
account
addApp
addAsset
addAsset: ((assetId: number, 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;
}) => AssetParams)
Type declaration
-
- (assetId: number, 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;
}): AssetParams
-
Parameters
-
assetId: number
-
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
Returns AssetParams
address
address: string
amount
amount: bigint
appsLocalState
appsTotalSchema
appsTotalSchema: ApplicationStateSchema
assets
balance
balance: (() => bigint)
Type declaration
-
- (): bigint
-
Returns bigint
closeApp
closeApp: ((appID: number) => void)
Type declaration
-
- (appID: number): void
-
Returns void
closeAsset
closeAsset: ((assetId: number) => void)
Type declaration
-
- (assetId: number): void
-
Returns void
createdApps
createdAssets
createdAssets: Map<number, AssetParams>
deleteApp
deleteApp: ((appID: number) => void)
Type declaration
-
- (appID: number): void
-
Returns void
destroyAsset
destroyAsset: ((assetId: number) => void)
Type declaration
-
- (assetId: number): void
-
Returns void
getApp
getAppFromLocal
getAssetDef
getAssetDef: ((assetId: number) => undefined | AssetParams)
Type declaration
-
- (assetId: number): undefined | AssetParams
-
Returns undefined | AssetParams
getAssetHolding
get
Asset
Holding
: ((assetId
: number) => undefined | AssetHoldingM)
getGlobalState
get
Global
State
: ((appID
: number, key
: string | Uint8Array) => undefined | StackElem)
Type declaration
-
- (appID: number, key: string | Uint8Array): undefined | StackElem
-
Parameters
-
appID: number
-
key: string | Uint8Array
Returns undefined | StackElem
getLocalState
get
Local
State
: ((appID
: number, key
: string | Uint8Array) => undefined | StackElem)
Type declaration
-
- (appID: number, key: string | Uint8Array): undefined | StackElem
-
Parameters
-
appID: number
-
key: string | Uint8Array
Returns undefined | StackElem
getSpendAddress
getSpendAddress: (() => string)
Type declaration
-
- (): string
-
Returns string
minBalance
minBalance: number
modifyAsset
optInToASA
opt
In
ToASA
: ((assetIndex
: number, assetHolding
: AssetHoldingM) => void)
Type declaration
-
- (assetIndex: number, assetHolding: AssetHoldingM): void
-
Returns void
optInToApp
rekeyTo
rekeyTo: ((authAccountAddress: string) => void)
Type declaration
-
- (authAccountAddress: string): void
-
Parameters
-
authAccountAddress: string
Returns void
setFreezeState
setFreezeState: ((assetId: number, state: boolean) => void)
Type declaration
-
- (assetId: number, state: boolean): void
-
Parameters
-
assetId: number
-
state: boolean
Returns void
setGlobalState
set
Global
State
: ((appID
: number, key
: string | Uint8Array, value
: StackElem, line
?: number) => void)
Type declaration
-
- (appID: number, key: string | Uint8Array, value: StackElem, line?: number): void
-
Parameters
-
appID: number
-
key: string | Uint8Array
-
-
Optional
line: number
Returns void
setLocalState
Type declaration
-
- (appID: number, key: string | Uint8Array, value: StackElem, line?: number): AppLocalStateM
-
Parameters
-
appID: number
-
key: string | Uint8Array
-
-
Optional
line: number