Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace types

Index

Type aliases

ASADef: z.infer<typeof ASADefSchema>
ASADefs: z.infer<typeof ASADefsSchema>
AccountAddress: string
AlgoTransferParam: BasicParams & { amountMicroAlgos: number | bigint; toAccountAddr: AccountAddress; type: TransferAlgo }
AppCallsParam: BasicParams & AppOptionalFlags & { appID: number; type: CallApp | ClearApp | CloseApp | DeleteApp | OptInToApp }
AppDefinitionFromFile: StorageConfig & AppOptionalFlags & SourceFile
AppDefinitionFromSource: StorageConfig & AppOptionalFlags & SourceCode
AppDefinitionFromSourceCompiled: StorageConfig & AppOptionalFlags & SourceCompiled
AssetTransferParam: BasicParams & { amount: number | bigint; assetID: number | string; toAccountAddr: AccountAddress; type: TransferAsset }
BasicParams: Sign & { payFlags: TxParams }
DeployASAParam: BasicParams & { asaDef?: ASADef; asaName: string; overrideAsaDef?: Partial<ASADef>; type: DeployASA }
DeployAppParam: BasicParams & { appDefinition: AppDefinition; type: DeployApp }
DestroyAssetParam: BasicParams & { assetID: number | string; type: DestroyAsset }

Transaction execution parameters (on blockchain OR runtime)

FreezeAssetParam: BasicParams & { assetID: number | string; freezeState: boolean; freezeTarget: AccountAddress; type: FreezeAsset }
KeyRegistrationParam: BasicParams & { nonParticipation?: false; selectionKey: string | Uint8Array; type: KeyRegistration; voteFirst: number; voteKey: string | Uint8Array; voteKeyDilution: number; voteLast: number }
ModifyAssetParam: BasicParams & { assetID: number | string; fields: AssetModFields; type: ModifyAsset }
OptInASAParam: BasicParams & { assetID: number | string; type: OptInASA }
RevokeAssetParam: BasicParams & { amount: number | bigint; assetID: number | string; recipient: AccountAddress; revocationTarget: AccountAddress; type: RevokeAsset }
Sign: SignWithSk | SignWithLsig
SignTxnParams: [WalletTransaction[], SignTxnOpts?]
SourceCode: { approvalProgramCode: string; clearProgramCode: string; metaType: SOURCE_CODE }

Type declaration

  • approvalProgramCode: string
  • clearProgramCode: string
  • metaType: SOURCE_CODE
SourceCompiled: { approvalProgramBytes: Uint8Array; clearProgramBytes: Uint8Array; metaType: BYTES }

Type declaration

  • approvalProgramBytes: Uint8Array
  • clearProgramBytes: Uint8Array
  • metaType: BYTES
SourceFile: { approvalProgramFilename: string; clearProgramFilename: string; metaType: FILE }

Type declaration

  • approvalProgramFilename: string
  • clearProgramFilename: string
  • metaType: FILE
StorageConfig: { appName: string; extraPages?: number; globalBytes: number; globalInts: number; localBytes: number; localInts: number }

Type declaration

  • appName: string
  • Optional extraPages?: number
  • globalBytes: number
  • globalInts: number
  • localBytes: number
  • localInts: number
UpdateAppParam: BasicParams & AppOptionalFlags & { appID: number; appName: string; newAppCode: SmartContract; type: UpdateApp }

Functions

  • isFileError(object: unknown): object is FileError
  • isSDKTransaction(object: unknown): object is Transaction

Generated using TypeDoc