algosdk 1.24.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/browser/algosdk.min.js +1 -1
- package/dist/browser/algosdk.min.js.LICENSE.txt +0 -18
- package/dist/browser/algosdk.min.js.map +1 -1
- package/dist/cjs/{src/abi → abi}/abi_type.js +0 -0
- package/dist/cjs/abi/abi_type.js.map +1 -0
- package/dist/cjs/{src/abi → abi}/contract.js +0 -0
- package/dist/cjs/abi/contract.js.map +1 -0
- package/dist/cjs/{src/abi → abi}/index.js +0 -0
- package/dist/cjs/abi/index.js.map +1 -0
- package/dist/cjs/{src/abi → abi}/interface.js +0 -0
- package/dist/cjs/abi/interface.js.map +1 -0
- package/dist/cjs/{src/abi → abi}/method.js +0 -0
- package/dist/cjs/abi/method.js.map +1 -0
- package/dist/cjs/{src/abi → abi}/reference.js +0 -0
- package/dist/cjs/abi/reference.js.map +1 -0
- package/dist/cjs/{src/abi → abi}/transaction.js +0 -0
- package/dist/cjs/abi/transaction.js.map +1 -0
- package/dist/cjs/{src/account.js → account.js} +0 -0
- package/dist/cjs/account.js.map +1 -0
- package/dist/cjs/{src/bid.js → bid.js} +0 -0
- package/dist/cjs/bid.js.map +1 -0
- package/dist/cjs/{src/boxStorage.js → boxStorage.js} +0 -0
- package/dist/cjs/boxStorage.js.map +1 -0
- package/dist/cjs/{src/client → client}/baseHTTPClient.js +0 -0
- package/dist/cjs/client/baseHTTPClient.js.map +1 -0
- package/dist/cjs/{src/client → client}/client.js +0 -0
- package/dist/cjs/client/client.js.map +1 -0
- package/dist/cjs/{src/client → client}/kmd.js +0 -0
- package/dist/cjs/client/kmd.js.map +1 -0
- package/dist/cjs/{src/client → client}/urlTokenBaseHTTPClient.js +0 -0
- package/dist/cjs/client/urlTokenBaseHTTPClient.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/algod/accountApplicationInformation.js +0 -0
- package/dist/cjs/client/v2/algod/accountApplicationInformation.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/algod/accountAssetInformation.js +0 -0
- package/dist/cjs/client/v2/algod/accountAssetInformation.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/algod/accountInformation.js +0 -0
- package/dist/cjs/client/v2/algod/accountInformation.js.map +1 -0
- package/dist/cjs/client/v2/algod/algod.js +512 -0
- package/dist/cjs/client/v2/algod/algod.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/algod/block.js +0 -0
- package/dist/cjs/client/v2/algod/block.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/algod/compile.js +0 -0
- package/dist/cjs/client/v2/algod/compile.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/algod/dryrun.js +0 -0
- package/dist/cjs/client/v2/algod/dryrun.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/algod/genesis.js +0 -0
- package/dist/cjs/client/v2/algod/genesis.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/algod/getApplicationBoxByName.js +0 -0
- package/dist/cjs/client/v2/algod/getApplicationBoxByName.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/algod/getApplicationBoxes.js +0 -0
- package/dist/cjs/client/v2/algod/getApplicationBoxes.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/algod/getApplicationByID.js +0 -0
- package/dist/cjs/client/v2/algod/getApplicationByID.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/algod/getAssetByID.js +0 -0
- package/dist/cjs/client/v2/algod/getAssetByID.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/algod/getBlockHash.js +0 -0
- package/dist/cjs/client/v2/algod/getBlockHash.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/algod/getTransactionProof.js +0 -0
- package/dist/cjs/client/v2/algod/getTransactionProof.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/algod/healthCheck.js +0 -0
- package/dist/cjs/client/v2/algod/healthCheck.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/algod/lightBlockHeaderProof.js +0 -0
- package/dist/cjs/client/v2/algod/lightBlockHeaderProof.js.map +1 -0
- package/dist/cjs/client/v2/algod/models/types.js +2085 -0
- package/dist/cjs/client/v2/algod/models/types.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/algod/pendingTransactionInformation.js +0 -0
- package/dist/cjs/client/v2/algod/pendingTransactionInformation.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/algod/pendingTransactions.js +0 -0
- package/dist/cjs/client/v2/algod/pendingTransactions.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/algod/pendingTransactionsByAddress.js +0 -0
- package/dist/cjs/client/v2/algod/pendingTransactionsByAddress.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/algod/sendRawTransaction.js +0 -0
- package/dist/cjs/client/v2/algod/sendRawTransaction.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/algod/stateproof.js +0 -0
- package/dist/cjs/client/v2/algod/stateproof.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/algod/status.js +0 -0
- package/dist/cjs/client/v2/algod/status.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/algod/statusAfterBlock.js +0 -0
- package/dist/cjs/client/v2/algod/statusAfterBlock.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/algod/suggestedParams.js +0 -0
- package/dist/cjs/client/v2/algod/suggestedParams.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/algod/supply.js +0 -0
- package/dist/cjs/client/v2/algod/supply.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/algod/versions.js +0 -0
- package/dist/cjs/client/v2/algod/versions.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/basemodel.js +0 -0
- package/dist/cjs/client/v2/basemodel.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/indexer/indexer.js +0 -0
- package/dist/cjs/client/v2/indexer/indexer.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/indexer/lookupAccountAppLocalStates.js +0 -0
- package/dist/cjs/client/v2/indexer/lookupAccountAppLocalStates.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/indexer/lookupAccountAssets.js +0 -0
- package/dist/cjs/client/v2/indexer/lookupAccountAssets.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/indexer/lookupAccountByID.js +0 -0
- package/dist/cjs/client/v2/indexer/lookupAccountByID.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/indexer/lookupAccountCreatedApplications.js +0 -0
- package/dist/cjs/client/v2/indexer/lookupAccountCreatedApplications.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/indexer/lookupAccountCreatedAssets.js +0 -0
- package/dist/cjs/client/v2/indexer/lookupAccountCreatedAssets.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/indexer/lookupAccountTransactions.js +0 -0
- package/dist/cjs/client/v2/indexer/lookupAccountTransactions.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/indexer/lookupApplicationBoxByIDandName.js +0 -0
- package/dist/cjs/client/v2/indexer/lookupApplicationBoxByIDandName.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/indexer/lookupApplicationLogs.js +0 -0
- package/dist/cjs/client/v2/indexer/lookupApplicationLogs.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/indexer/lookupApplications.js +0 -0
- package/dist/cjs/client/v2/indexer/lookupApplications.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/indexer/lookupAssetBalances.js +0 -0
- package/dist/cjs/client/v2/indexer/lookupAssetBalances.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/indexer/lookupAssetByID.js +0 -0
- package/dist/cjs/client/v2/indexer/lookupAssetByID.js.map +1 -0
- package/dist/cjs/client/v2/indexer/lookupAssetTransactions.js +385 -0
- package/dist/cjs/client/v2/indexer/lookupAssetTransactions.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/indexer/lookupBlock.js +0 -0
- package/dist/cjs/client/v2/indexer/lookupBlock.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/indexer/lookupTransactionByID.js +0 -0
- package/dist/cjs/client/v2/indexer/lookupTransactionByID.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/indexer/makeHealthCheck.js +0 -0
- package/dist/cjs/client/v2/indexer/makeHealthCheck.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/indexer/models/types.js +0 -0
- package/dist/cjs/client/v2/indexer/models/types.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/indexer/searchAccounts.js +0 -0
- package/dist/cjs/client/v2/indexer/searchAccounts.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/indexer/searchForApplicationBoxes.js +0 -0
- package/dist/cjs/client/v2/indexer/searchForApplicationBoxes.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/indexer/searchForApplications.js +0 -0
- package/dist/cjs/client/v2/indexer/searchForApplications.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/indexer/searchForAssets.js +0 -0
- package/dist/cjs/client/v2/indexer/searchForAssets.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/indexer/searchForTransactions.js +0 -0
- package/dist/cjs/client/v2/indexer/searchForTransactions.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/jsonrequest.js +0 -0
- package/dist/cjs/client/v2/jsonrequest.js.map +1 -0
- package/dist/cjs/{src/client → client}/v2/serviceClient.js +0 -0
- package/dist/cjs/client/v2/serviceClient.js.map +1 -0
- package/dist/cjs/{src/composer.js → composer.js} +0 -0
- package/dist/cjs/composer.js.map +1 -0
- package/dist/cjs/{src/convert.js → convert.js} +0 -0
- package/dist/cjs/convert.js.map +1 -0
- package/dist/cjs/dryrun.js +309 -0
- package/dist/cjs/dryrun.js.map +1 -0
- package/dist/cjs/{src/encoding → encoding}/address.js +0 -0
- package/dist/cjs/encoding/address.js.map +1 -0
- package/dist/cjs/{src/encoding → encoding}/bigint.js +0 -0
- package/dist/cjs/encoding/bigint.js.map +1 -0
- package/dist/cjs/{src/encoding → encoding}/encoding.js +0 -0
- package/dist/cjs/encoding/encoding.js.map +1 -0
- package/dist/cjs/{src/encoding → encoding}/uint64.js +0 -0
- package/dist/cjs/encoding/uint64.js.map +1 -0
- package/dist/cjs/{src/group.js → group.js} +0 -0
- package/dist/cjs/group.js.map +1 -0
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/{src/logic → logic}/sourcemap.js +0 -0
- package/dist/cjs/logic/sourcemap.js.map +1 -0
- package/dist/cjs/logicsig.js +435 -0
- package/dist/cjs/logicsig.js.map +1 -0
- package/dist/cjs/main.js +197 -0
- package/dist/cjs/main.js.map +1 -0
- package/dist/cjs/makeTxn.js +670 -0
- package/dist/cjs/makeTxn.js.map +1 -0
- package/dist/cjs/{src/mnemonic → mnemonic}/mnemonic.js +0 -0
- package/dist/cjs/mnemonic/mnemonic.js.map +1 -0
- package/dist/cjs/{src/mnemonic → mnemonic}/wordlists/english.js +0 -0
- package/dist/cjs/mnemonic/wordlists/english.js.map +1 -0
- package/dist/cjs/{src/multisig.js → multisig.js} +0 -0
- package/dist/cjs/multisig.js.map +1 -0
- package/dist/cjs/{src/nacl → nacl}/naclWrappers.js +0 -0
- package/dist/cjs/nacl/naclWrappers.js.map +1 -0
- package/dist/cjs/{src/signer.js → signer.js} +0 -0
- package/dist/cjs/signer.js.map +1 -0
- package/dist/cjs/{src/transaction.js → transaction.js} +0 -0
- package/dist/cjs/transaction.js.map +1 -0
- package/dist/cjs/{src/types → types}/account.js +0 -0
- package/dist/cjs/types/account.js.map +1 -0
- package/dist/cjs/{src/types → types}/address.js +0 -0
- package/dist/cjs/types/address.js.map +1 -0
- package/dist/cjs/{src/types → types}/blockHeader.js +0 -0
- package/dist/cjs/types/blockHeader.js.map +1 -0
- package/dist/cjs/{src/types → types}/index.js +0 -0
- package/dist/cjs/types/index.js.map +1 -0
- package/dist/cjs/{src/types → types}/intDecoding.js +0 -0
- package/dist/cjs/types/intDecoding.js.map +1 -0
- package/dist/cjs/{src/types → types}/multisig.js +0 -0
- package/dist/cjs/types/multisig.js.map +1 -0
- package/dist/cjs/{src/types → types}/transactions/application.js +0 -0
- package/dist/cjs/types/transactions/application.js.map +1 -0
- package/dist/cjs/{src/types → types}/transactions/asset.js +0 -0
- package/dist/cjs/types/transactions/asset.js.map +1 -0
- package/dist/cjs/{src/types → types}/transactions/base.js +0 -0
- package/dist/cjs/types/transactions/base.js.map +1 -0
- package/dist/cjs/{src/types → types}/transactions/builder.js +0 -0
- package/dist/cjs/types/transactions/builder.js.map +1 -0
- package/dist/cjs/{src/types → types}/transactions/encoded.js +0 -0
- package/dist/cjs/types/transactions/encoded.js.map +1 -0
- package/dist/cjs/{src/types → types}/transactions/index.js +0 -0
- package/dist/cjs/types/transactions/index.js.map +1 -0
- package/dist/cjs/{src/types → types}/transactions/keyreg.js +0 -0
- package/dist/cjs/types/transactions/keyreg.js.map +1 -0
- package/dist/cjs/{src/types → types}/transactions/payment.js +0 -0
- package/dist/cjs/types/transactions/payment.js.map +1 -0
- package/dist/cjs/{src/types → types}/transactions/stateproof.js +0 -0
- package/dist/cjs/types/transactions/stateproof.js.map +1 -0
- package/dist/cjs/{src/types → types}/utils.js +0 -0
- package/dist/cjs/types/utils.js.map +1 -0
- package/dist/cjs/{src/utils → utils}/utils.js +0 -0
- package/dist/cjs/utils/utils.js.map +1 -0
- package/dist/cjs/{src/wait.js → wait.js} +0 -0
- package/dist/cjs/wait.js.map +1 -0
- package/dist/esm/{src/abi → abi}/abi_type.js +0 -0
- package/dist/esm/abi/abi_type.js.map +1 -0
- package/dist/esm/{src/abi → abi}/contract.js +0 -0
- package/dist/esm/abi/contract.js.map +1 -0
- package/dist/esm/{src/abi → abi}/index.js +0 -0
- package/dist/esm/abi/index.js.map +1 -0
- package/dist/esm/{src/abi → abi}/interface.js +0 -0
- package/dist/esm/abi/interface.js.map +1 -0
- package/dist/esm/{src/abi → abi}/method.js +0 -0
- package/dist/esm/abi/method.js.map +1 -0
- package/dist/esm/{src/abi → abi}/reference.js +0 -0
- package/dist/esm/abi/reference.js.map +1 -0
- package/dist/esm/{src/abi → abi}/transaction.js +0 -0
- package/dist/esm/abi/transaction.js.map +1 -0
- package/dist/esm/{src/account.js → account.js} +0 -0
- package/dist/esm/account.js.map +1 -0
- package/dist/esm/{src/bid.js → bid.js} +0 -0
- package/dist/esm/bid.js.map +1 -0
- package/dist/esm/{src/boxStorage.js → boxStorage.js} +0 -0
- package/dist/esm/boxStorage.js.map +1 -0
- package/dist/esm/{src/client → client}/baseHTTPClient.js +0 -0
- package/dist/esm/client/baseHTTPClient.js.map +1 -0
- package/dist/esm/{src/client → client}/client.js +0 -0
- package/dist/esm/client/client.js.map +1 -0
- package/dist/esm/{src/client → client}/kmd.js +0 -0
- package/dist/esm/client/kmd.js.map +1 -0
- package/dist/esm/{src/client → client}/urlTokenBaseHTTPClient.js +0 -0
- package/dist/esm/client/urlTokenBaseHTTPClient.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/algod/accountApplicationInformation.js +0 -0
- package/dist/esm/client/v2/algod/accountApplicationInformation.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/algod/accountAssetInformation.js +0 -0
- package/dist/esm/client/v2/algod/accountAssetInformation.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/algod/accountInformation.js +0 -0
- package/dist/esm/client/v2/algod/accountInformation.js.map +1 -0
- package/dist/esm/client/v2/algod/algod.js +506 -0
- package/dist/esm/client/v2/algod/algod.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/algod/block.js +0 -0
- package/dist/esm/client/v2/algod/block.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/algod/compile.js +0 -0
- package/dist/esm/client/v2/algod/compile.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/algod/dryrun.js +0 -0
- package/dist/esm/client/v2/algod/dryrun.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/algod/genesis.js +0 -0
- package/dist/esm/client/v2/algod/genesis.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/algod/getApplicationBoxByName.js +0 -0
- package/dist/esm/client/v2/algod/getApplicationBoxByName.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/algod/getApplicationBoxes.js +0 -0
- package/dist/esm/client/v2/algod/getApplicationBoxes.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/algod/getApplicationByID.js +0 -0
- package/dist/esm/client/v2/algod/getApplicationByID.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/algod/getAssetByID.js +0 -0
- package/dist/esm/client/v2/algod/getAssetByID.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/algod/getBlockHash.js +0 -0
- package/dist/esm/client/v2/algod/getBlockHash.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/algod/getTransactionProof.js +0 -0
- package/dist/esm/client/v2/algod/getTransactionProof.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/algod/healthCheck.js +0 -0
- package/dist/esm/client/v2/algod/healthCheck.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/algod/lightBlockHeaderProof.js +0 -0
- package/dist/esm/client/v2/algod/lightBlockHeaderProof.js.map +1 -0
- package/dist/esm/client/v2/algod/models/types.js +2038 -0
- package/dist/esm/client/v2/algod/models/types.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/algod/pendingTransactionInformation.js +0 -0
- package/dist/esm/client/v2/algod/pendingTransactionInformation.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/algod/pendingTransactions.js +0 -0
- package/dist/esm/client/v2/algod/pendingTransactions.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/algod/pendingTransactionsByAddress.js +0 -0
- package/dist/esm/client/v2/algod/pendingTransactionsByAddress.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/algod/sendRawTransaction.js +0 -0
- package/dist/esm/client/v2/algod/sendRawTransaction.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/algod/stateproof.js +0 -0
- package/dist/esm/client/v2/algod/stateproof.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/algod/status.js +0 -0
- package/dist/esm/client/v2/algod/status.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/algod/statusAfterBlock.js +0 -0
- package/dist/esm/client/v2/algod/statusAfterBlock.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/algod/suggestedParams.js +0 -0
- package/dist/esm/client/v2/algod/suggestedParams.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/algod/supply.js +0 -0
- package/dist/esm/client/v2/algod/supply.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/algod/versions.js +0 -0
- package/dist/esm/client/v2/algod/versions.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/basemodel.js +0 -0
- package/dist/esm/client/v2/basemodel.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/indexer/indexer.js +0 -0
- package/dist/esm/client/v2/indexer/indexer.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/indexer/lookupAccountAppLocalStates.js +0 -0
- package/dist/esm/client/v2/indexer/lookupAccountAppLocalStates.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/indexer/lookupAccountAssets.js +0 -0
- package/dist/esm/client/v2/indexer/lookupAccountAssets.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/indexer/lookupAccountByID.js +0 -0
- package/dist/esm/client/v2/indexer/lookupAccountByID.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/indexer/lookupAccountCreatedApplications.js +0 -0
- package/dist/esm/client/v2/indexer/lookupAccountCreatedApplications.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/indexer/lookupAccountCreatedAssets.js +0 -0
- package/dist/esm/client/v2/indexer/lookupAccountCreatedAssets.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/indexer/lookupAccountTransactions.js +0 -0
- package/dist/esm/client/v2/indexer/lookupAccountTransactions.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/indexer/lookupApplicationBoxByIDandName.js +0 -0
- package/dist/esm/client/v2/indexer/lookupApplicationBoxByIDandName.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/indexer/lookupApplicationLogs.js +0 -0
- package/dist/esm/client/v2/indexer/lookupApplicationLogs.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/indexer/lookupApplications.js +0 -0
- package/dist/esm/client/v2/indexer/lookupApplications.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/indexer/lookupAssetBalances.js +0 -0
- package/dist/esm/client/v2/indexer/lookupAssetBalances.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/indexer/lookupAssetByID.js +0 -0
- package/dist/esm/client/v2/indexer/lookupAssetByID.js.map +1 -0
- package/dist/esm/client/v2/indexer/lookupAssetTransactions.js +379 -0
- package/dist/esm/client/v2/indexer/lookupAssetTransactions.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/indexer/lookupBlock.js +0 -0
- package/dist/esm/client/v2/indexer/lookupBlock.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/indexer/lookupTransactionByID.js +0 -0
- package/dist/esm/client/v2/indexer/lookupTransactionByID.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/indexer/makeHealthCheck.js +0 -0
- package/dist/esm/client/v2/indexer/makeHealthCheck.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/indexer/models/types.js +0 -0
- package/dist/esm/client/v2/indexer/models/types.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/indexer/searchAccounts.js +0 -0
- package/dist/esm/client/v2/indexer/searchAccounts.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/indexer/searchForApplicationBoxes.js +0 -0
- package/dist/esm/client/v2/indexer/searchForApplicationBoxes.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/indexer/searchForApplications.js +0 -0
- package/dist/esm/client/v2/indexer/searchForApplications.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/indexer/searchForAssets.js +0 -0
- package/dist/esm/client/v2/indexer/searchForAssets.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/indexer/searchForTransactions.js +0 -0
- package/dist/esm/client/v2/indexer/searchForTransactions.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/jsonrequest.js +0 -0
- package/dist/esm/client/v2/jsonrequest.js.map +1 -0
- package/dist/esm/{src/client → client}/v2/serviceClient.js +0 -0
- package/dist/esm/client/v2/serviceClient.js.map +1 -0
- package/dist/esm/{src/composer.js → composer.js} +0 -0
- package/dist/esm/composer.js.map +1 -0
- package/dist/esm/{src/convert.js → convert.js} +0 -0
- package/dist/esm/convert.js.map +1 -0
- package/dist/esm/dryrun.js +304 -0
- package/dist/esm/dryrun.js.map +1 -0
- package/dist/esm/{src/encoding → encoding}/address.js +0 -0
- package/dist/esm/encoding/address.js.map +1 -0
- package/dist/esm/{src/encoding → encoding}/bigint.js +0 -0
- package/dist/esm/encoding/bigint.js.map +1 -0
- package/dist/esm/{src/encoding → encoding}/encoding.js +0 -0
- package/dist/esm/encoding/encoding.js.map +1 -0
- package/dist/esm/{src/encoding → encoding}/uint64.js +0 -0
- package/dist/esm/encoding/uint64.js.map +1 -0
- package/dist/esm/{src/group.js → group.js} +0 -0
- package/dist/esm/group.js.map +1 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/{src/logic → logic}/sourcemap.js +0 -0
- package/dist/esm/logic/sourcemap.js.map +1 -0
- package/dist/esm/logicsig.js +401 -0
- package/dist/esm/logicsig.js.map +1 -0
- package/dist/esm/main.js +120 -0
- package/dist/esm/main.js.map +1 -0
- package/dist/esm/makeTxn.js +616 -0
- package/dist/esm/makeTxn.js.map +1 -0
- package/dist/esm/{src/mnemonic → mnemonic}/mnemonic.js +0 -0
- package/dist/esm/mnemonic/mnemonic.js.map +1 -0
- package/dist/esm/{src/mnemonic → mnemonic}/wordlists/english.js +0 -0
- package/dist/esm/mnemonic/wordlists/english.js.map +1 -0
- package/dist/esm/{src/multisig.js → multisig.js} +0 -0
- package/dist/esm/multisig.js.map +1 -0
- package/dist/esm/{src/nacl → nacl}/naclWrappers.js +0 -0
- package/dist/esm/nacl/naclWrappers.js.map +1 -0
- package/dist/esm/{src/signer.js → signer.js} +0 -0
- package/dist/esm/signer.js.map +1 -0
- package/dist/esm/{src/transaction.js → transaction.js} +0 -0
- package/dist/esm/transaction.js.map +1 -0
- package/dist/esm/{src/types → types}/account.js +0 -0
- package/dist/esm/types/account.js.map +1 -0
- package/dist/esm/{src/types → types}/address.js +0 -0
- package/dist/esm/types/address.js.map +1 -0
- package/dist/esm/{src/types → types}/blockHeader.js +0 -0
- package/dist/esm/types/blockHeader.js.map +1 -0
- package/dist/esm/{src/types → types}/index.js +0 -0
- package/dist/esm/types/index.js.map +1 -0
- package/dist/esm/{src/types → types}/intDecoding.js +0 -0
- package/dist/esm/types/intDecoding.js.map +1 -0
- package/dist/esm/{src/types → types}/multisig.js +0 -0
- package/dist/esm/types/multisig.js.map +1 -0
- package/dist/esm/{src/types → types}/transactions/application.js +0 -0
- package/dist/esm/types/transactions/application.js.map +1 -0
- package/dist/esm/{src/types → types}/transactions/asset.js +0 -0
- package/dist/esm/types/transactions/asset.js.map +1 -0
- package/dist/esm/{src/types → types}/transactions/base.js +0 -0
- package/dist/esm/types/transactions/base.js.map +1 -0
- package/dist/esm/{src/types → types}/transactions/builder.js +0 -0
- package/dist/esm/types/transactions/builder.js.map +1 -0
- package/dist/esm/{src/types → types}/transactions/encoded.js +0 -0
- package/dist/esm/types/transactions/encoded.js.map +1 -0
- package/dist/esm/{src/types → types}/transactions/index.js +0 -0
- package/dist/esm/types/transactions/index.js.map +1 -0
- package/dist/esm/{src/types → types}/transactions/keyreg.js +0 -0
- package/dist/esm/types/transactions/keyreg.js.map +1 -0
- package/dist/esm/{src/types → types}/transactions/payment.js +0 -0
- package/dist/esm/types/transactions/payment.js.map +1 -0
- package/dist/esm/{src/types → types}/transactions/stateproof.js +0 -0
- package/dist/esm/types/transactions/stateproof.js.map +1 -0
- package/dist/esm/{src/types → types}/utils.js +0 -0
- package/dist/esm/types/utils.js.map +1 -0
- package/dist/esm/{src/utils → utils}/utils.js +0 -0
- package/dist/esm/utils/utils.js.map +1 -0
- package/dist/esm/{src/wait.js → wait.js} +0 -0
- package/dist/esm/wait.js.map +1 -0
- package/dist/types/{src/abi → abi}/abi_type.d.ts +0 -0
- package/dist/types/{src/abi → abi}/contract.d.ts +0 -0
- package/dist/types/{src/abi → abi}/index.d.ts +0 -0
- package/dist/types/{src/abi → abi}/interface.d.ts +0 -0
- package/dist/types/{src/abi → abi}/method.d.ts +0 -0
- package/dist/types/{src/abi → abi}/reference.d.ts +0 -0
- package/dist/types/{src/abi → abi}/transaction.d.ts +0 -0
- package/dist/types/{src/account.d.ts → account.d.ts} +0 -0
- package/dist/types/{src/bid.d.ts → bid.d.ts} +0 -0
- package/dist/types/{src/boxStorage.d.ts → boxStorage.d.ts} +0 -0
- package/dist/types/{src/client → client}/baseHTTPClient.d.ts +0 -0
- package/dist/types/{src/client → client}/client.d.ts +0 -0
- package/dist/types/{src/client → client}/kmd.d.ts +0 -0
- package/dist/types/{src/client → client}/urlTokenBaseHTTPClient.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/algod/accountApplicationInformation.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/algod/accountAssetInformation.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/algod/accountInformation.d.ts +0 -0
- package/dist/types/client/v2/algod/algod.d.ts +456 -0
- package/dist/types/{src/client → client}/v2/algod/block.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/algod/compile.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/algod/dryrun.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/algod/genesis.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/algod/getApplicationBoxByName.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/algod/getApplicationBoxes.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/algod/getApplicationByID.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/algod/getAssetByID.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/algod/getBlockHash.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/algod/getTransactionProof.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/algod/healthCheck.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/algod/lightBlockHeaderProof.d.ts +0 -0
- package/dist/types/client/v2/algod/models/types.d.ts +1689 -0
- package/dist/types/{src/client → client}/v2/algod/pendingTransactionInformation.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/algod/pendingTransactions.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/algod/pendingTransactionsByAddress.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/algod/sendRawTransaction.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/algod/stateproof.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/algod/status.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/algod/statusAfterBlock.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/algod/suggestedParams.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/algod/supply.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/algod/versions.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/basemodel.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/indexer/indexer.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/indexer/lookupAccountAppLocalStates.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/indexer/lookupAccountAssets.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/indexer/lookupAccountByID.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/indexer/lookupAccountCreatedApplications.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/indexer/lookupAccountCreatedAssets.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/indexer/lookupAccountTransactions.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/indexer/lookupApplicationBoxByIDandName.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/indexer/lookupApplicationLogs.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/indexer/lookupApplications.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/indexer/lookupAssetBalances.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/indexer/lookupAssetByID.d.ts +0 -0
- package/dist/types/client/v2/indexer/lookupAssetTransactions.d.ts +323 -0
- package/dist/types/{src/client → client}/v2/indexer/lookupBlock.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/indexer/lookupTransactionByID.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/indexer/makeHealthCheck.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/indexer/models/types.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/indexer/searchAccounts.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/indexer/searchForApplicationBoxes.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/indexer/searchForApplications.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/indexer/searchForAssets.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/indexer/searchForTransactions.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/jsonrequest.d.ts +0 -0
- package/dist/types/{src/client → client}/v2/serviceClient.d.ts +0 -0
- package/dist/types/{src/composer.d.ts → composer.d.ts} +0 -0
- package/dist/types/{src/convert.d.ts → convert.d.ts} +0 -0
- package/dist/types/{src/dryrun.d.ts → dryrun.d.ts} +0 -0
- package/dist/types/{src/encoding → encoding}/address.d.ts +0 -0
- package/dist/types/{src/encoding → encoding}/bigint.d.ts +0 -0
- package/dist/types/{src/encoding → encoding}/encoding.d.ts +0 -0
- package/dist/types/{src/encoding → encoding}/uint64.d.ts +0 -0
- package/dist/types/{src/group.d.ts → group.d.ts} +0 -0
- package/dist/types/index.d.ts +2 -2
- package/dist/types/{src/logic → logic}/sourcemap.d.ts +0 -0
- package/dist/types/logicsig.d.ts +183 -0
- package/dist/types/main.d.ts +88 -0
- package/dist/types/makeTxn.d.ts +426 -0
- package/dist/types/{src/mnemonic → mnemonic}/mnemonic.d.ts +0 -0
- package/dist/types/{src/mnemonic → mnemonic}/wordlists/english.d.ts +0 -0
- package/dist/types/{src/multisig.d.ts → multisig.d.ts} +0 -0
- package/dist/types/{src/nacl → nacl}/naclWrappers.d.ts +0 -0
- package/dist/types/{src/signer.d.ts → signer.d.ts} +0 -0
- package/dist/types/{src/transaction.d.ts → transaction.d.ts} +0 -0
- package/dist/types/{src/types → types}/account.d.ts +0 -0
- package/dist/types/{src/types → types}/address.d.ts +0 -0
- package/dist/types/{src/types → types}/blockHeader.d.ts +0 -0
- package/dist/types/{src/types → types}/index.d.ts +0 -0
- package/dist/types/{src/types → types}/intDecoding.d.ts +0 -0
- package/dist/types/{src/types → types}/multisig.d.ts +0 -0
- package/dist/types/{src/types → types}/transactions/application.d.ts +0 -0
- package/dist/types/{src/types → types}/transactions/asset.d.ts +0 -0
- package/dist/types/{src/types → types}/transactions/base.d.ts +0 -0
- package/dist/types/{src/types → types}/transactions/builder.d.ts +0 -0
- package/dist/types/types/transactions/encoded.d.ts +329 -0
- package/dist/types/{src/types → types}/transactions/index.d.ts +0 -0
- package/dist/types/{src/types → types}/transactions/keyreg.d.ts +0 -0
- package/dist/types/{src/types → types}/transactions/payment.d.ts +0 -0
- package/dist/types/{src/types → types}/transactions/stateproof.d.ts +0 -0
- package/dist/types/{src/types → types}/utils.d.ts +0 -0
- package/dist/types/{src/utils → utils}/utils.d.ts +0 -0
- package/dist/types/{src/wait.d.ts → wait.d.ts} +0 -0
- package/package.json +10 -6
- package/src/abi/abi_type.ts +846 -0
- package/src/abi/contract.ts +51 -0
- package/src/abi/index.ts +6 -0
- package/src/abi/interface.ts +35 -0
- package/src/abi/method.ts +186 -0
- package/src/abi/reference.ts +24 -0
- package/src/abi/transaction.ts +61 -0
- package/src/account.ts +12 -0
- package/src/bid.ts +95 -0
- package/src/boxStorage.ts +42 -0
- package/src/client/baseHTTPClient.ts +58 -0
- package/src/client/client.ts +306 -0
- package/src/client/kmd.ts +423 -0
- package/src/client/urlTokenBaseHTTPClient.ts +217 -0
- package/src/client/v2/algod/accountApplicationInformation.ts +20 -0
- package/src/client/v2/algod/accountAssetInformation.ts +20 -0
- package/src/client/v2/algod/accountInformation.ts +37 -0
- package/src/client/v2/algod/algod.ts +561 -0
- package/src/client/v2/algod/block.ts +30 -0
- package/src/client/v2/algod/compile.ts +50 -0
- package/src/client/v2/algod/dryrun.ts +33 -0
- package/src/client/v2/algod/genesis.ts +8 -0
- package/src/client/v2/algod/getApplicationBoxByName.ts +49 -0
- package/src/client/v2/algod/getApplicationBoxes.ts +61 -0
- package/src/client/v2/algod/getApplicationByID.ts +14 -0
- package/src/client/v2/algod/getAssetByID.ts +14 -0
- package/src/client/v2/algod/getBlockHash.ts +18 -0
- package/src/client/v2/algod/getTransactionProof.ts +43 -0
- package/src/client/v2/algod/healthCheck.ts +19 -0
- package/src/client/v2/algod/lightBlockHeaderProof.ts +15 -0
- package/src/client/v2/algod/models/types.ts +3731 -0
- package/src/client/v2/algod/pendingTransactionInformation.ts +32 -0
- package/src/client/v2/algod/pendingTransactions.ts +32 -0
- package/src/client/v2/algod/pendingTransactionsByAddress.ts +32 -0
- package/src/client/v2/algod/sendRawTransaction.ts +59 -0
- package/src/client/v2/algod/stateproof.ts +15 -0
- package/src/client/v2/algod/status.ts +8 -0
- package/src/client/v2/algod/statusAfterBlock.ts +15 -0
- package/src/client/v2/algod/suggestedParams.ts +24 -0
- package/src/client/v2/algod/supply.ts +8 -0
- package/src/client/v2/algod/versions.ts +11 -0
- package/src/client/v2/basemodel.ts +79 -0
- package/src/client/v2/indexer/indexer.ts +432 -0
- package/src/client/v2/indexer/lookupAccountAppLocalStates.ts +140 -0
- package/src/client/v2/indexer/lookupAccountAssets.ts +141 -0
- package/src/client/v2/indexer/lookupAccountByID.ts +109 -0
- package/src/client/v2/indexer/lookupAccountCreatedApplications.ts +141 -0
- package/src/client/v2/indexer/lookupAccountCreatedAssets.ts +142 -0
- package/src/client/v2/indexer/lookupAccountTransactions.ts +393 -0
- package/src/client/v2/indexer/lookupApplicationBoxByIDandName.ts +50 -0
- package/src/client/v2/indexer/lookupApplicationLogs.ts +156 -0
- package/src/client/v2/indexer/lookupApplications.ts +59 -0
- package/src/client/v2/indexer/lookupAssetBalances.ts +146 -0
- package/src/client/v2/indexer/lookupAssetByID.ts +58 -0
- package/src/client/v2/indexer/lookupAssetTransactions.ts +398 -0
- package/src/client/v2/indexer/lookupBlock.ts +39 -0
- package/src/client/v2/indexer/lookupTransactionByID.ts +30 -0
- package/src/client/v2/indexer/makeHealthCheck.ts +23 -0
- package/src/client/v2/indexer/models/types.ts +5667 -0
- package/src/client/v2/indexer/searchAccounts.ts +268 -0
- package/src/client/v2/indexer/searchForApplicationBoxes.ts +101 -0
- package/src/client/v2/indexer/searchForApplications.ts +134 -0
- package/src/client/v2/indexer/searchForAssets.ts +175 -0
- package/src/client/v2/indexer/searchForTransactions.ts +435 -0
- package/src/client/v2/jsonrequest.ts +103 -0
- package/src/client/v2/serviceClient.ts +86 -0
- package/src/composer.ts +688 -0
- package/src/convert.ts +25 -0
- package/src/dryrun.ts +468 -0
- package/src/encoding/address.ts +191 -0
- package/src/encoding/bigint.ts +33 -0
- package/src/encoding/encoding.ts +56 -0
- package/src/encoding/uint64.ts +84 -0
- package/src/group.ts +97 -0
- package/src/index.ts +4 -0
- package/src/logic/sourcemap.ts +67 -0
- package/src/logicsig.ts +512 -0
- package/src/main.ts +181 -0
- package/src/makeTxn.ts +1450 -0
- package/src/mnemonic/mnemonic.ts +181 -0
- package/src/mnemonic/wordlists/english.ts +2052 -0
- package/src/multisig.ts +495 -0
- package/src/nacl/naclWrappers.ts +49 -0
- package/src/signer.ts +105 -0
- package/src/transaction.ts +1363 -0
- package/src/types/account.ts +16 -0
- package/src/types/address.ts +7 -0
- package/src/types/blockHeader.ts +81 -0
- package/src/types/index.ts +3 -0
- package/src/types/intDecoding.ts +29 -0
- package/src/types/multisig.ts +22 -0
- package/src/types/transactions/application.ts +111 -0
- package/src/types/transactions/asset.ts +108 -0
- package/src/types/transactions/base.ts +428 -0
- package/src/types/transactions/builder.ts +69 -0
- package/src/types/transactions/encoded.ts +406 -0
- package/src/types/transactions/index.ts +72 -0
- package/src/types/transactions/keyreg.ts +23 -0
- package/src/types/transactions/payment.ts +14 -0
- package/src/types/transactions/stateproof.ts +17 -0
- package/src/types/utils.ts +63 -0
- package/src/utils/utils.ts +121 -0
- package/src/wait.ts +58 -0
- package/dist/cjs/src/abi/abi_type.js.map +0 -1
- package/dist/cjs/src/abi/contract.js.map +0 -1
- package/dist/cjs/src/abi/index.js.map +0 -1
- package/dist/cjs/src/abi/interface.js.map +0 -1
- package/dist/cjs/src/abi/method.js.map +0 -1
- package/dist/cjs/src/abi/reference.js.map +0 -1
- package/dist/cjs/src/abi/transaction.js.map +0 -1
- package/dist/cjs/src/account.js.map +0 -1
- package/dist/cjs/src/bid.js.map +0 -1
- package/dist/cjs/src/boxStorage.js.map +0 -1
- package/dist/cjs/src/client/algod.js +0 -295
- package/dist/cjs/src/client/algod.js.map +0 -1
- package/dist/cjs/src/client/baseHTTPClient.js.map +0 -1
- package/dist/cjs/src/client/client.js.map +0 -1
- package/dist/cjs/src/client/kmd.js.map +0 -1
- package/dist/cjs/src/client/urlTokenBaseHTTPClient.js.map +0 -1
- package/dist/cjs/src/client/v2/algod/accountApplicationInformation.js.map +0 -1
- package/dist/cjs/src/client/v2/algod/accountAssetInformation.js.map +0 -1
- package/dist/cjs/src/client/v2/algod/accountInformation.js.map +0 -1
- package/dist/cjs/src/client/v2/algod/algod.js +0 -512
- package/dist/cjs/src/client/v2/algod/algod.js.map +0 -1
- package/dist/cjs/src/client/v2/algod/block.js.map +0 -1
- package/dist/cjs/src/client/v2/algod/compile.js.map +0 -1
- package/dist/cjs/src/client/v2/algod/dryrun.js.map +0 -1
- package/dist/cjs/src/client/v2/algod/genesis.js.map +0 -1
- package/dist/cjs/src/client/v2/algod/getApplicationBoxByName.js.map +0 -1
- package/dist/cjs/src/client/v2/algod/getApplicationBoxes.js.map +0 -1
- package/dist/cjs/src/client/v2/algod/getApplicationByID.js.map +0 -1
- package/dist/cjs/src/client/v2/algod/getAssetByID.js.map +0 -1
- package/dist/cjs/src/client/v2/algod/getBlockHash.js.map +0 -1
- package/dist/cjs/src/client/v2/algod/getTransactionProof.js.map +0 -1
- package/dist/cjs/src/client/v2/algod/healthCheck.js.map +0 -1
- package/dist/cjs/src/client/v2/algod/lightBlockHeaderProof.js.map +0 -1
- package/dist/cjs/src/client/v2/algod/models/types.js +0 -2047
- package/dist/cjs/src/client/v2/algod/models/types.js.map +0 -1
- package/dist/cjs/src/client/v2/algod/pendingTransactionInformation.js.map +0 -1
- package/dist/cjs/src/client/v2/algod/pendingTransactions.js.map +0 -1
- package/dist/cjs/src/client/v2/algod/pendingTransactionsByAddress.js.map +0 -1
- package/dist/cjs/src/client/v2/algod/sendRawTransaction.js.map +0 -1
- package/dist/cjs/src/client/v2/algod/stateproof.js.map +0 -1
- package/dist/cjs/src/client/v2/algod/status.js.map +0 -1
- package/dist/cjs/src/client/v2/algod/statusAfterBlock.js.map +0 -1
- package/dist/cjs/src/client/v2/algod/suggestedParams.js.map +0 -1
- package/dist/cjs/src/client/v2/algod/supply.js.map +0 -1
- package/dist/cjs/src/client/v2/algod/versions.js.map +0 -1
- package/dist/cjs/src/client/v2/basemodel.js.map +0 -1
- package/dist/cjs/src/client/v2/indexer/indexer.js.map +0 -1
- package/dist/cjs/src/client/v2/indexer/lookupAccountAppLocalStates.js.map +0 -1
- package/dist/cjs/src/client/v2/indexer/lookupAccountAssets.js.map +0 -1
- package/dist/cjs/src/client/v2/indexer/lookupAccountByID.js.map +0 -1
- package/dist/cjs/src/client/v2/indexer/lookupAccountCreatedApplications.js.map +0 -1
- package/dist/cjs/src/client/v2/indexer/lookupAccountCreatedAssets.js.map +0 -1
- package/dist/cjs/src/client/v2/indexer/lookupAccountTransactions.js.map +0 -1
- package/dist/cjs/src/client/v2/indexer/lookupApplicationBoxByIDandName.js.map +0 -1
- package/dist/cjs/src/client/v2/indexer/lookupApplicationLogs.js.map +0 -1
- package/dist/cjs/src/client/v2/indexer/lookupApplications.js.map +0 -1
- package/dist/cjs/src/client/v2/indexer/lookupAssetBalances.js.map +0 -1
- package/dist/cjs/src/client/v2/indexer/lookupAssetByID.js.map +0 -1
- package/dist/cjs/src/client/v2/indexer/lookupAssetTransactions.js +0 -392
- package/dist/cjs/src/client/v2/indexer/lookupAssetTransactions.js.map +0 -1
- package/dist/cjs/src/client/v2/indexer/lookupBlock.js.map +0 -1
- package/dist/cjs/src/client/v2/indexer/lookupTransactionByID.js.map +0 -1
- package/dist/cjs/src/client/v2/indexer/makeHealthCheck.js.map +0 -1
- package/dist/cjs/src/client/v2/indexer/models/types.js.map +0 -1
- package/dist/cjs/src/client/v2/indexer/searchAccounts.js.map +0 -1
- package/dist/cjs/src/client/v2/indexer/searchForApplicationBoxes.js.map +0 -1
- package/dist/cjs/src/client/v2/indexer/searchForApplications.js.map +0 -1
- package/dist/cjs/src/client/v2/indexer/searchForAssets.js.map +0 -1
- package/dist/cjs/src/client/v2/indexer/searchForTransactions.js.map +0 -1
- package/dist/cjs/src/client/v2/jsonrequest.js.map +0 -1
- package/dist/cjs/src/client/v2/serviceClient.js.map +0 -1
- package/dist/cjs/src/composer.js.map +0 -1
- package/dist/cjs/src/convert.js.map +0 -1
- package/dist/cjs/src/dryrun.js +0 -300
- package/dist/cjs/src/dryrun.js.map +0 -1
- package/dist/cjs/src/encoding/address.js.map +0 -1
- package/dist/cjs/src/encoding/bigint.js.map +0 -1
- package/dist/cjs/src/encoding/encoding.js.map +0 -1
- package/dist/cjs/src/encoding/uint64.js.map +0 -1
- package/dist/cjs/src/group.js.map +0 -1
- package/dist/cjs/src/logic/langspec.json +0 -2014
- package/dist/cjs/src/logic/logic.js +0 -262
- package/dist/cjs/src/logic/logic.js.map +0 -1
- package/dist/cjs/src/logic/sourcemap.js.map +0 -1
- package/dist/cjs/src/logicTemplates/dynamicfee.js +0 -192
- package/dist/cjs/src/logicTemplates/dynamicfee.js.map +0 -1
- package/dist/cjs/src/logicTemplates/htlc.js +0 -145
- package/dist/cjs/src/logicTemplates/htlc.js.map +0 -1
- package/dist/cjs/src/logicTemplates/index.js +0 -19
- package/dist/cjs/src/logicTemplates/index.js.map +0 -1
- package/dist/cjs/src/logicTemplates/limitorder.js +0 -167
- package/dist/cjs/src/logicTemplates/limitorder.js.map +0 -1
- package/dist/cjs/src/logicTemplates/periodicpayment.js +0 -163
- package/dist/cjs/src/logicTemplates/periodicpayment.js.map +0 -1
- package/dist/cjs/src/logicTemplates/split.js +0 -154
- package/dist/cjs/src/logicTemplates/split.js.map +0 -1
- package/dist/cjs/src/logicTemplates/templates.js +0 -67
- package/dist/cjs/src/logicTemplates/templates.js.map +0 -1
- package/dist/cjs/src/logicsig.js +0 -446
- package/dist/cjs/src/logicsig.js.map +0 -1
- package/dist/cjs/src/main.js +0 -200
- package/dist/cjs/src/main.js.map +0 -1
- package/dist/cjs/src/makeTxn.js +0 -862
- package/dist/cjs/src/makeTxn.js.map +0 -1
- package/dist/cjs/src/mnemonic/mnemonic.js.map +0 -1
- package/dist/cjs/src/mnemonic/wordlists/english.js.map +0 -1
- package/dist/cjs/src/multisig.js.map +0 -1
- package/dist/cjs/src/nacl/naclWrappers.js.map +0 -1
- package/dist/cjs/src/signer.js.map +0 -1
- package/dist/cjs/src/transaction.js.map +0 -1
- package/dist/cjs/src/types/account.js.map +0 -1
- package/dist/cjs/src/types/address.js.map +0 -1
- package/dist/cjs/src/types/blockHeader.js.map +0 -1
- package/dist/cjs/src/types/index.js.map +0 -1
- package/dist/cjs/src/types/intDecoding.js.map +0 -1
- package/dist/cjs/src/types/multisig.js.map +0 -1
- package/dist/cjs/src/types/transactions/application.js.map +0 -1
- package/dist/cjs/src/types/transactions/asset.js.map +0 -1
- package/dist/cjs/src/types/transactions/base.js.map +0 -1
- package/dist/cjs/src/types/transactions/builder.js.map +0 -1
- package/dist/cjs/src/types/transactions/encoded.js.map +0 -1
- package/dist/cjs/src/types/transactions/index.js.map +0 -1
- package/dist/cjs/src/types/transactions/keyreg.js.map +0 -1
- package/dist/cjs/src/types/transactions/payment.js.map +0 -1
- package/dist/cjs/src/types/transactions/stateproof.js.map +0 -1
- package/dist/cjs/src/types/utils.js.map +0 -1
- package/dist/cjs/src/utils/utils.js.map +0 -1
- package/dist/cjs/src/wait.js.map +0 -1
- package/dist/esm/src/abi/abi_type.js.map +0 -1
- package/dist/esm/src/abi/contract.js.map +0 -1
- package/dist/esm/src/abi/index.js.map +0 -1
- package/dist/esm/src/abi/interface.js.map +0 -1
- package/dist/esm/src/abi/method.js.map +0 -1
- package/dist/esm/src/abi/reference.js.map +0 -1
- package/dist/esm/src/abi/transaction.js.map +0 -1
- package/dist/esm/src/account.js.map +0 -1
- package/dist/esm/src/bid.js.map +0 -1
- package/dist/esm/src/boxStorage.js.map +0 -1
- package/dist/esm/src/client/algod.js +0 -295
- package/dist/esm/src/client/algod.js.map +0 -1
- package/dist/esm/src/client/baseHTTPClient.js.map +0 -1
- package/dist/esm/src/client/client.js.map +0 -1
- package/dist/esm/src/client/kmd.js.map +0 -1
- package/dist/esm/src/client/urlTokenBaseHTTPClient.js.map +0 -1
- package/dist/esm/src/client/v2/algod/accountApplicationInformation.js.map +0 -1
- package/dist/esm/src/client/v2/algod/accountAssetInformation.js.map +0 -1
- package/dist/esm/src/client/v2/algod/accountInformation.js.map +0 -1
- package/dist/esm/src/client/v2/algod/algod.js +0 -506
- package/dist/esm/src/client/v2/algod/algod.js.map +0 -1
- package/dist/esm/src/client/v2/algod/block.js.map +0 -1
- package/dist/esm/src/client/v2/algod/compile.js.map +0 -1
- package/dist/esm/src/client/v2/algod/dryrun.js.map +0 -1
- package/dist/esm/src/client/v2/algod/genesis.js.map +0 -1
- package/dist/esm/src/client/v2/algod/getApplicationBoxByName.js.map +0 -1
- package/dist/esm/src/client/v2/algod/getApplicationBoxes.js.map +0 -1
- package/dist/esm/src/client/v2/algod/getApplicationByID.js.map +0 -1
- package/dist/esm/src/client/v2/algod/getAssetByID.js.map +0 -1
- package/dist/esm/src/client/v2/algod/getBlockHash.js.map +0 -1
- package/dist/esm/src/client/v2/algod/getTransactionProof.js.map +0 -1
- package/dist/esm/src/client/v2/algod/healthCheck.js.map +0 -1
- package/dist/esm/src/client/v2/algod/lightBlockHeaderProof.js.map +0 -1
- package/dist/esm/src/client/v2/algod/models/types.js +0 -1998
- package/dist/esm/src/client/v2/algod/models/types.js.map +0 -1
- package/dist/esm/src/client/v2/algod/pendingTransactionInformation.js.map +0 -1
- package/dist/esm/src/client/v2/algod/pendingTransactions.js.map +0 -1
- package/dist/esm/src/client/v2/algod/pendingTransactionsByAddress.js.map +0 -1
- package/dist/esm/src/client/v2/algod/sendRawTransaction.js.map +0 -1
- package/dist/esm/src/client/v2/algod/stateproof.js.map +0 -1
- package/dist/esm/src/client/v2/algod/status.js.map +0 -1
- package/dist/esm/src/client/v2/algod/statusAfterBlock.js.map +0 -1
- package/dist/esm/src/client/v2/algod/suggestedParams.js.map +0 -1
- package/dist/esm/src/client/v2/algod/supply.js.map +0 -1
- package/dist/esm/src/client/v2/algod/versions.js.map +0 -1
- package/dist/esm/src/client/v2/basemodel.js.map +0 -1
- package/dist/esm/src/client/v2/indexer/indexer.js.map +0 -1
- package/dist/esm/src/client/v2/indexer/lookupAccountAppLocalStates.js.map +0 -1
- package/dist/esm/src/client/v2/indexer/lookupAccountAssets.js.map +0 -1
- package/dist/esm/src/client/v2/indexer/lookupAccountByID.js.map +0 -1
- package/dist/esm/src/client/v2/indexer/lookupAccountCreatedApplications.js.map +0 -1
- package/dist/esm/src/client/v2/indexer/lookupAccountCreatedAssets.js.map +0 -1
- package/dist/esm/src/client/v2/indexer/lookupAccountTransactions.js.map +0 -1
- package/dist/esm/src/client/v2/indexer/lookupApplicationBoxByIDandName.js.map +0 -1
- package/dist/esm/src/client/v2/indexer/lookupApplicationLogs.js.map +0 -1
- package/dist/esm/src/client/v2/indexer/lookupApplications.js.map +0 -1
- package/dist/esm/src/client/v2/indexer/lookupAssetBalances.js.map +0 -1
- package/dist/esm/src/client/v2/indexer/lookupAssetByID.js.map +0 -1
- package/dist/esm/src/client/v2/indexer/lookupAssetTransactions.js +0 -386
- package/dist/esm/src/client/v2/indexer/lookupAssetTransactions.js.map +0 -1
- package/dist/esm/src/client/v2/indexer/lookupBlock.js.map +0 -1
- package/dist/esm/src/client/v2/indexer/lookupTransactionByID.js.map +0 -1
- package/dist/esm/src/client/v2/indexer/makeHealthCheck.js.map +0 -1
- package/dist/esm/src/client/v2/indexer/models/types.js.map +0 -1
- package/dist/esm/src/client/v2/indexer/searchAccounts.js.map +0 -1
- package/dist/esm/src/client/v2/indexer/searchForApplicationBoxes.js.map +0 -1
- package/dist/esm/src/client/v2/indexer/searchForApplications.js.map +0 -1
- package/dist/esm/src/client/v2/indexer/searchForAssets.js.map +0 -1
- package/dist/esm/src/client/v2/indexer/searchForTransactions.js.map +0 -1
- package/dist/esm/src/client/v2/jsonrequest.js.map +0 -1
- package/dist/esm/src/client/v2/serviceClient.js.map +0 -1
- package/dist/esm/src/composer.js.map +0 -1
- package/dist/esm/src/convert.js.map +0 -1
- package/dist/esm/src/dryrun.js +0 -295
- package/dist/esm/src/dryrun.js.map +0 -1
- package/dist/esm/src/encoding/address.js.map +0 -1
- package/dist/esm/src/encoding/bigint.js.map +0 -1
- package/dist/esm/src/encoding/encoding.js.map +0 -1
- package/dist/esm/src/encoding/uint64.js.map +0 -1
- package/dist/esm/src/group.js.map +0 -1
- package/dist/esm/src/logic/langspec.json +0 -2014
- package/dist/esm/src/logic/logic.js +0 -249
- package/dist/esm/src/logic/logic.js.map +0 -1
- package/dist/esm/src/logic/sourcemap.js.map +0 -1
- package/dist/esm/src/logicTemplates/dynamicfee.js +0 -192
- package/dist/esm/src/logicTemplates/dynamicfee.js.map +0 -1
- package/dist/esm/src/logicTemplates/htlc.js +0 -145
- package/dist/esm/src/logicTemplates/htlc.js.map +0 -1
- package/dist/esm/src/logicTemplates/index.js +0 -19
- package/dist/esm/src/logicTemplates/index.js.map +0 -1
- package/dist/esm/src/logicTemplates/limitorder.js +0 -167
- package/dist/esm/src/logicTemplates/limitorder.js.map +0 -1
- package/dist/esm/src/logicTemplates/periodicpayment.js +0 -163
- package/dist/esm/src/logicTemplates/periodicpayment.js.map +0 -1
- package/dist/esm/src/logicTemplates/split.js +0 -154
- package/dist/esm/src/logicTemplates/split.js.map +0 -1
- package/dist/esm/src/logicTemplates/templates.js +0 -67
- package/dist/esm/src/logicTemplates/templates.js.map +0 -1
- package/dist/esm/src/logicsig.js +0 -411
- package/dist/esm/src/logicsig.js.map +0 -1
- package/dist/esm/src/main.js +0 -123
- package/dist/esm/src/main.js.map +0 -1
- package/dist/esm/src/makeTxn.js +0 -801
- package/dist/esm/src/makeTxn.js.map +0 -1
- package/dist/esm/src/mnemonic/mnemonic.js.map +0 -1
- package/dist/esm/src/mnemonic/wordlists/english.js.map +0 -1
- package/dist/esm/src/multisig.js.map +0 -1
- package/dist/esm/src/nacl/naclWrappers.js.map +0 -1
- package/dist/esm/src/signer.js.map +0 -1
- package/dist/esm/src/transaction.js.map +0 -1
- package/dist/esm/src/types/account.js.map +0 -1
- package/dist/esm/src/types/address.js.map +0 -1
- package/dist/esm/src/types/blockHeader.js.map +0 -1
- package/dist/esm/src/types/index.js.map +0 -1
- package/dist/esm/src/types/intDecoding.js.map +0 -1
- package/dist/esm/src/types/multisig.js.map +0 -1
- package/dist/esm/src/types/transactions/application.js.map +0 -1
- package/dist/esm/src/types/transactions/asset.js.map +0 -1
- package/dist/esm/src/types/transactions/base.js.map +0 -1
- package/dist/esm/src/types/transactions/builder.js.map +0 -1
- package/dist/esm/src/types/transactions/encoded.js.map +0 -1
- package/dist/esm/src/types/transactions/index.js.map +0 -1
- package/dist/esm/src/types/transactions/keyreg.js.map +0 -1
- package/dist/esm/src/types/transactions/payment.js.map +0 -1
- package/dist/esm/src/types/transactions/stateproof.js.map +0 -1
- package/dist/esm/src/types/utils.js.map +0 -1
- package/dist/esm/src/utils/utils.js.map +0 -1
- package/dist/esm/src/wait.js.map +0 -1
- package/dist/types/src/client/algod.d.ts +0 -162
- package/dist/types/src/client/v2/algod/algod.d.ts +0 -456
- package/dist/types/src/client/v2/algod/models/types.d.ts +0 -1634
- package/dist/types/src/client/v2/indexer/lookupAssetTransactions.d.ts +0 -327
- package/dist/types/src/logic/logic.d.ts +0 -45
- package/dist/types/src/logicTemplates/dynamicfee.d.ts +0 -59
- package/dist/types/src/logicTemplates/htlc.d.ts +0 -51
- package/dist/types/src/logicTemplates/index.d.ts +0 -16
- package/dist/types/src/logicTemplates/limitorder.d.ts +0 -70
- package/dist/types/src/logicTemplates/periodicpayment.d.ts +0 -58
- package/dist/types/src/logicTemplates/split.d.ts +0 -57
- package/dist/types/src/logicTemplates/templates.d.ts +0 -6
- package/dist/types/src/logicsig.d.ts +0 -191
- package/dist/types/src/main.d.ts +0 -90
- package/dist/types/src/makeTxn.d.ts +0 -572
- package/dist/types/src/types/transactions/encoded.d.ts +0 -344
|
@@ -1,572 +0,0 @@
|
|
|
1
|
-
import * as txnBuilder from './transaction';
|
|
2
|
-
import { PaymentTxn, KeyRegistrationTxn, MustHaveSuggestedParams, MustHaveSuggestedParamsInline, AssetCreateTxn, AssetConfigTxn, AssetDestroyTxn, AssetFreezeTxn, AssetTransferTxn, AppCreateTxn, AppUpdateTxn, AppDeleteTxn, AppOptInTxn, AppCloseOutTxn, AppClearStateTxn, AppNoOpTxn } from './types/transactions';
|
|
3
|
-
import { RenameProperties, RenameProperty, Expand } from './types/utils';
|
|
4
|
-
/**
|
|
5
|
-
* makePaymentTxnWithSuggestedParams takes payment arguments and returns a Transaction object
|
|
6
|
-
* @param from - string representation of Algorand address of sender
|
|
7
|
-
* @param to - string representation of Algorand address of recipient
|
|
8
|
-
* @param amount - integer amount to send, in microAlgos
|
|
9
|
-
* @param closeRemainderTo - optionally close out remaining account balance to this account, represented as string rep of Algorand address
|
|
10
|
-
* @param note - uint8array of arbitrary data for sender to store
|
|
11
|
-
* @param suggestedParams - a dict holding common-to-all-txns args:
|
|
12
|
-
* fee - integer fee per byte, in microAlgos. for a flat fee, set flatFee to true
|
|
13
|
-
* flatFee - bool optionally set this to true to specify fee as microalgos-per-txn
|
|
14
|
-
* If true, txn fee may fall below the ALGORAND_MIN_TX_FEE
|
|
15
|
-
* firstRound - integer first protocol round on which this txn is valid
|
|
16
|
-
* lastRound - integer last protocol round on which this txn is valid
|
|
17
|
-
* genesisHash - string specifies hash genesis block of network in use
|
|
18
|
-
* genesisID - string specifies genesis ID of network in use
|
|
19
|
-
* @param rekeyTo - rekeyTo address, optional
|
|
20
|
-
*/
|
|
21
|
-
export declare function makePaymentTxnWithSuggestedParams(from: PaymentTxn['from'], to: PaymentTxn['to'], amount: PaymentTxn['amount'], closeRemainderTo: PaymentTxn['closeRemainderTo'], note: PaymentTxn['note'], suggestedParams: MustHaveSuggestedParams<PaymentTxn>['suggestedParams'], rekeyTo?: PaymentTxn['reKeyTo']): txnBuilder.Transaction;
|
|
22
|
-
/**
|
|
23
|
-
* makePaymentTxn takes payment arguments and returns a Transaction object
|
|
24
|
-
* @param from - string representation of Algorand address of sender
|
|
25
|
-
* @param to - string representation of Algorand address of recipient
|
|
26
|
-
* @param fee - integer fee per byte, in microAlgos. for a flat fee, overwrite the fee property on the returned object
|
|
27
|
-
* If the final calculated fee is lower than the protocol minimum fee, the fee will be increased to match the minimum.
|
|
28
|
-
* @param amount - integer amount to send, in microAlgos
|
|
29
|
-
* @param closeRemainderTo - optionally close out remaining account balance to this account, represented as string rep of Algorand address
|
|
30
|
-
* @param firstRound - integer first protocol round on which this txn is valid
|
|
31
|
-
* @param lastRound - integer last protocol round on which this txn is valid
|
|
32
|
-
* @param note - uint8array of arbitrary data for sender to store
|
|
33
|
-
* @param genesisHash - string specifies hash genesis block of network in use
|
|
34
|
-
* @param genesisID - string specifies genesis ID of network in use
|
|
35
|
-
* @param rekeyTo - rekeyTo address, optional
|
|
36
|
-
* @Deprecated in version 2.0 this will change to use the "WithSuggestedParams" signature.
|
|
37
|
-
*/
|
|
38
|
-
export declare function makePaymentTxn(from: PaymentTxn['from'], to: PaymentTxn['to'], fee: MustHaveSuggestedParamsInline<PaymentTxn>['fee'], amount: PaymentTxn['amount'], closeRemainderTo: PaymentTxn['closeRemainderTo'], firstRound: MustHaveSuggestedParamsInline<PaymentTxn>['firstRound'], lastRound: MustHaveSuggestedParamsInline<PaymentTxn>['lastRound'], note: PaymentTxn['note'], genesisHash: MustHaveSuggestedParamsInline<PaymentTxn>['genesisHash'], genesisID: MustHaveSuggestedParamsInline<PaymentTxn>['genesisID'], rekeyTo?: PaymentTxn['reKeyTo']): txnBuilder.Transaction;
|
|
39
|
-
export declare function makePaymentTxnWithSuggestedParamsFromObject(o: Expand<Pick<RenameProperty<MustHaveSuggestedParams<PaymentTxn>, 'reKeyTo', 'rekeyTo'>, 'from' | 'to' | 'amount' | 'closeRemainderTo' | 'note' | 'suggestedParams' | 'rekeyTo'>>): txnBuilder.Transaction;
|
|
40
|
-
/**
|
|
41
|
-
* makeKeyRegistrationTxnWithSuggestedParams takes key registration arguments and returns a Transaction object for
|
|
42
|
-
* that key registration operation
|
|
43
|
-
*
|
|
44
|
-
* @param from - string representation of Algorand address of sender
|
|
45
|
-
* @param note - uint8array of arbitrary data for sender to store
|
|
46
|
-
* @param voteKey - voting key. for key deregistration, leave undefined
|
|
47
|
-
* @param selectionKey - selection key. for key deregistration, leave undefined
|
|
48
|
-
* @param voteFirst - first round on which voteKey is valid
|
|
49
|
-
* @param voteLast - last round on which voteKey is valid
|
|
50
|
-
* @param voteKeyDilution - integer
|
|
51
|
-
* @param suggestedParams - a dict holding common-to-all-txns args:
|
|
52
|
-
* fee - integer fee per byte, in microAlgos. for a flat fee, set flatFee to true
|
|
53
|
-
* flatFee - bool optionally set this to true to specify fee as microalgos-per-txn
|
|
54
|
-
* If true, txn fee may fall below the ALGORAND_MIN_TX_FEE
|
|
55
|
-
* firstRound - integer first protocol round on which this txn is valid
|
|
56
|
-
* lastRound - integer last protocol round on which this txn is valid
|
|
57
|
-
* genesisHash - string specifies hash genesis block of network in use
|
|
58
|
-
* genesisID - string specifies genesis ID of network in use
|
|
59
|
-
* @param rekeyTo - rekeyTo address, optional
|
|
60
|
-
* @param nonParticipation - configure whether the address wants to stop participating. If true,
|
|
61
|
-
* voteKey, selectionKey, voteFirst, voteLast, and voteKeyDilution must be undefined.
|
|
62
|
-
* @param stateProofKey - state proof key. for key deregistration, leave undefined
|
|
63
|
-
*/
|
|
64
|
-
export declare function makeKeyRegistrationTxnWithSuggestedParams(from: KeyRegistrationTxn['from'], note: KeyRegistrationTxn['note'], voteKey: KeyRegistrationTxn['voteKey'], selectionKey: KeyRegistrationTxn['selectionKey'], voteFirst: KeyRegistrationTxn['voteFirst'], voteLast: KeyRegistrationTxn['voteLast'], voteKeyDilution: KeyRegistrationTxn['voteKeyDilution'], suggestedParams: MustHaveSuggestedParams<KeyRegistrationTxn>['suggestedParams'], rekeyTo?: KeyRegistrationTxn['reKeyTo'], nonParticipation?: false, stateProofKey?: KeyRegistrationTxn['stateProofKey']): txnBuilder.Transaction;
|
|
65
|
-
export declare function makeKeyRegistrationTxnWithSuggestedParams(from: KeyRegistrationTxn['from'], note: KeyRegistrationTxn['note'], voteKey: undefined, selectionKey: undefined, voteFirst: undefined, voteLast: undefined, voteKeyDilution: undefined, suggestedParams: MustHaveSuggestedParams<KeyRegistrationTxn>['suggestedParams'], rekeyTo?: KeyRegistrationTxn['reKeyTo'], nonParticipation?: true, stateProofKey?: undefined): txnBuilder.Transaction;
|
|
66
|
-
/**
|
|
67
|
-
* makeKeyRegistrationTxn takes key registration arguments and returns a Transaction object for
|
|
68
|
-
* that key registration operation
|
|
69
|
-
*
|
|
70
|
-
* @param from - string representation of Algorand address of sender
|
|
71
|
-
* @param fee - integer fee per byte, in microAlgos. for a flat fee, overwrite the fee property on the returned object
|
|
72
|
-
* If the final calculated fee is lower than the protocol minimum fee, the fee will be increased to match the minimum.
|
|
73
|
-
* @param firstRound - integer first protocol round on which this txn is valid
|
|
74
|
-
* @param lastRound - integer last protocol round on which this txn is valid
|
|
75
|
-
* @param note - uint8array of arbitrary data for sender to store
|
|
76
|
-
* @param genesisHash - string specifies hash genesis block of network in use
|
|
77
|
-
* @param genesisID - string specifies genesis ID of network in use
|
|
78
|
-
* @param voteKey - voting key. for key deregistration, leave undefined
|
|
79
|
-
* @param selectionKey - selection key. for key deregistration, leave undefined
|
|
80
|
-
* @param voteFirst - first round on which voteKey is valid
|
|
81
|
-
* @param voteLast - last round on which voteKey is valid
|
|
82
|
-
* @param voteKeyDilution - integer
|
|
83
|
-
* @param rekeyTo - rekeyTo address, optional
|
|
84
|
-
* @param nonParticipation - configure whether the address wants to stop participating. If true,
|
|
85
|
-
* voteKey, selectionKey, voteFirst, voteLast, and voteKeyDilution must be undefined.
|
|
86
|
-
* @param stateProofKey - state proof key. for key deregistration, leave undefined
|
|
87
|
-
* @Deprecated in version 2.0 this will change to use the "WithSuggestedParams" signature.
|
|
88
|
-
*/
|
|
89
|
-
export declare function makeKeyRegistrationTxn(from: KeyRegistrationTxn['from'], fee: MustHaveSuggestedParamsInline<KeyRegistrationTxn>['fee'], firstRound: MustHaveSuggestedParamsInline<KeyRegistrationTxn>['firstRound'], lastRound: MustHaveSuggestedParamsInline<KeyRegistrationTxn>['lastRound'], note: KeyRegistrationTxn['note'], genesisHash: MustHaveSuggestedParamsInline<KeyRegistrationTxn>['genesisHash'], genesisID: MustHaveSuggestedParamsInline<KeyRegistrationTxn>['genesisID'], voteKey: KeyRegistrationTxn['voteKey'], selectionKey: KeyRegistrationTxn['selectionKey'], voteFirst: KeyRegistrationTxn['voteFirst'], voteLast: KeyRegistrationTxn['voteLast'], voteKeyDilution: KeyRegistrationTxn['voteKeyDilution'], rekeyTo?: KeyRegistrationTxn['reKeyTo'], nonParticipation?: false, stateProofKey?: KeyRegistrationTxn['stateProofKey']): txnBuilder.Transaction;
|
|
90
|
-
export declare function makeKeyRegistrationTxn(from: KeyRegistrationTxn['from'], fee: MustHaveSuggestedParamsInline<KeyRegistrationTxn>['fee'], firstRound: MustHaveSuggestedParamsInline<KeyRegistrationTxn>['firstRound'], lastRound: MustHaveSuggestedParamsInline<KeyRegistrationTxn>['lastRound'], note: KeyRegistrationTxn['note'], genesisHash: MustHaveSuggestedParamsInline<KeyRegistrationTxn>['genesisHash'], genesisID: MustHaveSuggestedParamsInline<KeyRegistrationTxn>['genesisID'], voteKey: undefined, selectionKey: undefined, voteFirst: undefined, voteLast: undefined, voteKeyDilution: undefined, rekeyTo?: KeyRegistrationTxn['reKeyTo'], nonParticipation?: true, stateProofKey?: undefined): txnBuilder.Transaction;
|
|
91
|
-
export declare function makeKeyRegistrationTxnWithSuggestedParamsFromObject(o: Expand<Pick<RenameProperty<MustHaveSuggestedParams<KeyRegistrationTxn>, 'reKeyTo', 'rekeyTo'>, 'from' | 'note' | 'voteKey' | 'selectionKey' | 'stateProofKey' | 'voteFirst' | 'voteLast' | 'voteKeyDilution' | 'suggestedParams' | 'rekeyTo'> & {
|
|
92
|
-
nonParticipation?: false;
|
|
93
|
-
}>): txnBuilder.Transaction;
|
|
94
|
-
export declare function makeKeyRegistrationTxnWithSuggestedParamsFromObject(o: Expand<Pick<RenameProperty<MustHaveSuggestedParams<KeyRegistrationTxn>, 'reKeyTo', 'rekeyTo'>, 'from' | 'note' | 'suggestedParams' | 'rekeyTo'> & {
|
|
95
|
-
nonParticipation: true;
|
|
96
|
-
}>): txnBuilder.Transaction;
|
|
97
|
-
/** makeAssetCreateTxnWithSuggestedParams takes asset creation arguments and returns a Transaction object
|
|
98
|
-
* for creating that asset
|
|
99
|
-
*
|
|
100
|
-
* @param from - string representation of Algorand address of sender
|
|
101
|
-
* @param note - uint8array of arbitrary data for sender to store
|
|
102
|
-
* @param total - integer total supply of the asset
|
|
103
|
-
* @param decimals - integer number of decimals for asset unit calculation
|
|
104
|
-
* @param defaultFrozen - boolean whether asset accounts should default to being frozen
|
|
105
|
-
* @param manager - string representation of Algorand address in charge of reserve, freeze, clawback, destruction, etc
|
|
106
|
-
* @param reserve - string representation of Algorand address representing asset reserve
|
|
107
|
-
* @param freeze - string representation of Algorand address with power to freeze/unfreeze asset holdings
|
|
108
|
-
* @param clawback - string representation of Algorand address with power to revoke asset holdings
|
|
109
|
-
* @param unitName - string units name for this asset
|
|
110
|
-
* @param assetName - string name for this asset
|
|
111
|
-
* @param assetURL - string URL relating to this asset
|
|
112
|
-
* @param assetMetadataHash - Uint8Array or UTF-8 string representation of a hash commitment with respect to the asset. Must be exactly 32 bytes long.
|
|
113
|
-
* @param suggestedParams - a dict holding common-to-all-txns args:
|
|
114
|
-
* fee - integer fee per byte, in microAlgos. for a flat fee, set flatFee to true
|
|
115
|
-
* flatFee - bool optionally set this to true to specify fee as microalgos-per-txn
|
|
116
|
-
* If true, txn fee may fall below the ALGORAND_MIN_TX_FEE
|
|
117
|
-
* firstRound - integer first protocol round on which this txn is valid
|
|
118
|
-
* lastRound - integer last protocol round on which this txn is valid
|
|
119
|
-
* genesisHash - string specifies hash genesis block of network in use
|
|
120
|
-
* genesisID - string specifies genesis ID of network in use
|
|
121
|
-
* @param rekeyTo - rekeyTo address, optional
|
|
122
|
-
*/
|
|
123
|
-
export declare function makeAssetCreateTxnWithSuggestedParams(from: AssetCreateTxn['from'], note: AssetCreateTxn['note'], total: AssetCreateTxn['assetTotal'], decimals: AssetCreateTxn['assetDecimals'], defaultFrozen: AssetCreateTxn['assetDefaultFrozen'], manager: AssetCreateTxn['assetManager'], reserve: AssetCreateTxn['assetReserve'], freeze: AssetCreateTxn['assetFreeze'], clawback: AssetCreateTxn['assetClawback'], unitName: AssetCreateTxn['assetUnitName'], assetName: AssetCreateTxn['assetName'], assetURL: AssetCreateTxn['assetURL'], assetMetadataHash: AssetCreateTxn['assetMetadataHash'] | undefined, suggestedParams: MustHaveSuggestedParams<AssetCreateTxn>['suggestedParams'], rekeyTo?: AssetCreateTxn['reKeyTo']): txnBuilder.Transaction;
|
|
124
|
-
/** makeAssetCreateTxn takes asset creation arguments and returns a Transaction object
|
|
125
|
-
* for creating that asset
|
|
126
|
-
*
|
|
127
|
-
* @param from - string representation of Algorand address of sender
|
|
128
|
-
* @param fee - integer fee per byte, in microAlgos. for a flat fee, overwrite the fee property on the returned object
|
|
129
|
-
* If the final calculated fee is lower than the protocol minimum fee, the fee will be increased to match the minimum.
|
|
130
|
-
* @param firstRound - integer first protocol round on which this txn is valid
|
|
131
|
-
* @param lastRound - integer last protocol round on which this txn is valid
|
|
132
|
-
* @param note - uint8array of arbitrary data for sender to store
|
|
133
|
-
* @param genesisHash - string specifies hash genesis block of network in use
|
|
134
|
-
* @param genesisID - string specifies genesis ID of network in use
|
|
135
|
-
* @param total - integer total supply of the asset
|
|
136
|
-
* @param decimals - integer number of decimals for asset unit calculation
|
|
137
|
-
* @param defaultFrozen - boolean whether asset accounts should default to being frozen
|
|
138
|
-
* @param manager - string representation of Algorand address in charge of reserve, freeze, clawback, destruction, etc
|
|
139
|
-
* @param reserve - string representation of Algorand address representing asset reserve
|
|
140
|
-
* @param freeze - string representation of Algorand address with power to freeze/unfreeze asset holdings
|
|
141
|
-
* @param clawback - string representation of Algorand address with power to revoke asset holdings
|
|
142
|
-
* @param unitName - string units name for this asset
|
|
143
|
-
* @param assetName - string name for this asset
|
|
144
|
-
* @param assetURL - string URL relating to this asset
|
|
145
|
-
* @param assetMetadataHash - Uint8Array or UTF-8 string representation of a hash commitment with respect to the asset. Must be exactly 32 bytes long.
|
|
146
|
-
* @param rekeyTo - rekeyTo address, optional
|
|
147
|
-
* @Deprecated in version 2.0 this will change to use the "WithSuggestedParams" signature.
|
|
148
|
-
*/
|
|
149
|
-
export declare function makeAssetCreateTxn(from: AssetCreateTxn['from'], fee: MustHaveSuggestedParamsInline<AssetCreateTxn>['fee'], firstRound: MustHaveSuggestedParamsInline<AssetCreateTxn>['firstRound'], lastRound: MustHaveSuggestedParamsInline<AssetCreateTxn>['lastRound'], note: AssetCreateTxn['note'], genesisHash: MustHaveSuggestedParamsInline<AssetCreateTxn>['genesisHash'], genesisID: MustHaveSuggestedParamsInline<AssetCreateTxn>['genesisID'], total: AssetCreateTxn['assetTotal'], decimals: AssetCreateTxn['assetDecimals'], defaultFrozen: AssetCreateTxn['assetDefaultFrozen'], manager: AssetCreateTxn['assetManager'], reserve: AssetCreateTxn['assetManager'], freeze: AssetCreateTxn['assetFreeze'], clawback: AssetCreateTxn['assetClawback'], unitName: AssetCreateTxn['assetUnitName'], assetName: AssetCreateTxn['assetName'], assetURL: AssetCreateTxn['assetURL'], assetMetadataHash?: AssetCreateTxn['assetMetadataHash'], rekeyTo?: AssetCreateTxn['reKeyTo']): txnBuilder.Transaction;
|
|
150
|
-
export declare function makeAssetCreateTxnWithSuggestedParamsFromObject(o: Expand<Pick<RenameProperties<MustHaveSuggestedParams<AssetCreateTxn>, {
|
|
151
|
-
reKeyTo: 'rekeyTo';
|
|
152
|
-
assetTotal: 'total';
|
|
153
|
-
assetDecimals: 'decimals';
|
|
154
|
-
assetDefaultFrozen: 'defaultFrozen';
|
|
155
|
-
assetManager: 'manager';
|
|
156
|
-
assetReserve: 'reserve';
|
|
157
|
-
assetFreeze: 'freeze';
|
|
158
|
-
assetClawback: 'clawback';
|
|
159
|
-
assetUnitName: 'unitName';
|
|
160
|
-
}>, 'from' | 'note' | 'total' | 'decimals' | 'defaultFrozen' | 'manager' | 'reserve' | 'freeze' | 'clawback' | 'unitName' | 'assetName' | 'assetURL' | 'assetMetadataHash' | 'suggestedParams' | 'rekeyTo'>>): txnBuilder.Transaction;
|
|
161
|
-
/** makeAssetConfigTxnWithSuggestedParams can be issued by the asset manager to change the manager, reserve, freeze, or clawback
|
|
162
|
-
* you must respecify existing addresses to keep them the same; leaving a field blank is the same as turning
|
|
163
|
-
* that feature off for this asset
|
|
164
|
-
*
|
|
165
|
-
* @param from - string representation of Algorand address of sender
|
|
166
|
-
* @param note - uint8array of arbitrary data for sender to store
|
|
167
|
-
* @param assetIndex - int asset index uniquely specifying the asset
|
|
168
|
-
* @param manager - string representation of new asset manager Algorand address
|
|
169
|
-
* @param reserve - string representation of new reserve Algorand address
|
|
170
|
-
* @param freeze - string representation of new freeze manager Algorand address
|
|
171
|
-
* @param clawback - string representation of new revocation manager Algorand address
|
|
172
|
-
* @param strictEmptyAddressChecking - boolean - throw an error if any of manager, reserve, freeze, or clawback are undefined. optional, defaults to true.
|
|
173
|
-
* @param suggestedParams - a dict holding common-to-all-txns args:
|
|
174
|
-
* fee - integer fee per byte, in microAlgos. for a flat fee, set flatFee to true
|
|
175
|
-
* flatFee - bool optionally set this to true to specify fee as microalgos-per-txn
|
|
176
|
-
* If true, txn fee may fall below the ALGORAND_MIN_TX_FEE
|
|
177
|
-
* firstRound - integer first protocol round on which this txn is valid
|
|
178
|
-
* lastRound - integer last protocol round on which this txn is valid
|
|
179
|
-
* genesisHash - string specifies hash genesis block of network in use
|
|
180
|
-
* genesisID - string specifies genesis ID of network in use
|
|
181
|
-
* @param rekeyTo - rekeyTo address, optional
|
|
182
|
-
*/
|
|
183
|
-
export declare function makeAssetConfigTxnWithSuggestedParams(from: AssetConfigTxn['from'], note: AssetConfigTxn['note'], assetIndex: AssetConfigTxn['assetIndex'], manager: AssetConfigTxn['assetManager'], reserve: AssetConfigTxn['assetReserve'], freeze: AssetConfigTxn['assetFreeze'], clawback: AssetConfigTxn['assetClawback'], suggestedParams: MustHaveSuggestedParams<AssetConfigTxn>['suggestedParams'], strictEmptyAddressChecking?: boolean, rekeyTo?: AssetConfigTxn['reKeyTo']): txnBuilder.Transaction;
|
|
184
|
-
/** makeAssetConfigTxn can be issued by the asset manager to change the manager, reserve, freeze, or clawback
|
|
185
|
-
* you must respecify existing addresses to keep them the same; leaving a field blank is the same as turning
|
|
186
|
-
* that feature off for this asset
|
|
187
|
-
*
|
|
188
|
-
* @param from - string representation of Algorand address of sender
|
|
189
|
-
* @param fee - integer fee per byte, in microAlgos. for a flat fee, overwrite the fee property on the returned object
|
|
190
|
-
* If the final calculated fee is lower than the protocol minimum fee, the fee will be increased to match the minimum.
|
|
191
|
-
* @param firstRound - integer first protocol round on which this txn is valid
|
|
192
|
-
* @param lastRound - integer last protocol round on which this txn is valid
|
|
193
|
-
* @param note - uint8array of arbitrary data for sender to store
|
|
194
|
-
* @param genesisHash - string specifies hash genesis block of network in use
|
|
195
|
-
* @param genesisID - string specifies genesis ID of network in use
|
|
196
|
-
* @param assetIndex - int asset index uniquely specifying the asset
|
|
197
|
-
* @param manager - string representation of new asset manager Algorand address
|
|
198
|
-
* @param reserve - string representation of new reserve Algorand address
|
|
199
|
-
* @param freeze - string representation of new freeze manager Algorand address
|
|
200
|
-
* @param clawback - string representation of new revocation manager Algorand address
|
|
201
|
-
* @param strictEmptyAddressChecking - boolean - throw an error if any of manager, reserve, freeze, or clawback are undefined. optional, defaults to true.
|
|
202
|
-
* @param rekeyTo - rekeyTo address, optional
|
|
203
|
-
* @Deprecated in version 2.0 this will change to use the "WithSuggestedParams" signature.
|
|
204
|
-
*/
|
|
205
|
-
export declare function makeAssetConfigTxn(from: AssetConfigTxn['from'], fee: MustHaveSuggestedParamsInline<AssetConfigTxn>['fee'], firstRound: MustHaveSuggestedParamsInline<AssetConfigTxn>['firstRound'], lastRound: MustHaveSuggestedParamsInline<AssetConfigTxn>['lastRound'], note: AssetConfigTxn['note'], genesisHash: MustHaveSuggestedParamsInline<AssetConfigTxn>['genesisHash'], genesisID: MustHaveSuggestedParamsInline<AssetConfigTxn>['genesisID'], assetIndex: AssetConfigTxn['assetIndex'], manager: AssetConfigTxn['assetManager'], reserve: AssetConfigTxn['assetReserve'], freeze: AssetConfigTxn['assetFreeze'], clawback: AssetConfigTxn['assetClawback'], strictEmptyAddressChecking?: boolean, rekeyTo?: AssetConfigTxn['reKeyTo']): txnBuilder.Transaction;
|
|
206
|
-
export declare function makeAssetConfigTxnWithSuggestedParamsFromObject(o: Expand<Pick<RenameProperties<MustHaveSuggestedParams<AssetConfigTxn>, {
|
|
207
|
-
reKeyTo: 'rekeyTo';
|
|
208
|
-
assetManager: 'manager';
|
|
209
|
-
assetReserve: 'reserve';
|
|
210
|
-
assetFreeze: 'freeze';
|
|
211
|
-
assetClawback: 'clawback';
|
|
212
|
-
}>, 'from' | 'note' | 'assetIndex' | 'manager' | 'reserve' | 'freeze' | 'clawback' | 'suggestedParams' | 'rekeyTo'> & {
|
|
213
|
-
strictEmptyAddressChecking: boolean;
|
|
214
|
-
}>): txnBuilder.Transaction;
|
|
215
|
-
/** makeAssetDestroyTxnWithSuggestedParams will allow the asset's manager to remove this asset from the ledger, so long
|
|
216
|
-
* as all outstanding assets are held by the creator.
|
|
217
|
-
*
|
|
218
|
-
* @param from - string representation of Algorand address of sender
|
|
219
|
-
* @param note - uint8array of arbitrary data for sender to store
|
|
220
|
-
* @param assetIndex - int asset index uniquely specifying the asset
|
|
221
|
-
* @param suggestedParams - a dict holding common-to-all-txns args:
|
|
222
|
-
* fee - integer fee per byte, in microAlgos. for a flat fee, set flatFee to true
|
|
223
|
-
* flatFee - bool optionally set this to true to specify fee as microalgos-per-txn
|
|
224
|
-
* If true, txn fee may fall below the ALGORAND_MIN_TX_FEE
|
|
225
|
-
* firstRound - integer first protocol round on which this txn is valid
|
|
226
|
-
* lastRound - integer last protocol round on which this txn is valid
|
|
227
|
-
* genesisHash - string specifies hash genesis block of network in use
|
|
228
|
-
* genesisID - string specifies genesis ID of network in use
|
|
229
|
-
* @param rekeyTo - rekeyTo address, optional
|
|
230
|
-
*/
|
|
231
|
-
export declare function makeAssetDestroyTxnWithSuggestedParams(from: AssetDestroyTxn['from'], note: AssetDestroyTxn['note'], assetIndex: AssetDestroyTxn['assetIndex'], suggestedParams: MustHaveSuggestedParams<AssetDestroyTxn>['suggestedParams'], rekeyTo?: AssetDestroyTxn['reKeyTo']): txnBuilder.Transaction;
|
|
232
|
-
/** makeAssetDestroyTxn will allow the asset's manager to remove this asset from the ledger, so long
|
|
233
|
-
* as all outstanding assets are held by the creator.
|
|
234
|
-
*
|
|
235
|
-
* @param from - string representation of Algorand address of sender
|
|
236
|
-
* @param fee - integer fee per byte, in microAlgos. for a flat fee, overwrite the fee property on the returned object
|
|
237
|
-
* If the final calculated fee is lower than the protocol minimum fee, the fee will be increased to match the minimum.
|
|
238
|
-
* @param firstRound - integer first protocol round on which this txn is valid
|
|
239
|
-
* @param lastRound - integer last protocol round on which this txn is valid
|
|
240
|
-
* @param note - uint8array of arbitrary data for sender to store
|
|
241
|
-
* @param genesisHash - string specifies hash genesis block of network in use
|
|
242
|
-
* @param genesisID - string specifies genesis ID of network in use
|
|
243
|
-
* @param assetIndex - int asset index uniquely specifying the asset
|
|
244
|
-
* @param rekeyTo - rekeyTo address, optional
|
|
245
|
-
* @Deprecated in version 2.0 this will change to use the "WithSuggestedParams" signature.
|
|
246
|
-
*/
|
|
247
|
-
export declare function makeAssetDestroyTxn(from: AssetDestroyTxn['from'], fee: MustHaveSuggestedParamsInline<AssetDestroyTxn>['fee'], firstRound: MustHaveSuggestedParamsInline<AssetDestroyTxn>['firstRound'], lastRound: MustHaveSuggestedParamsInline<AssetDestroyTxn>['lastRound'], note: AssetDestroyTxn['note'], genesisHash: MustHaveSuggestedParamsInline<AssetDestroyTxn>['genesisHash'], genesisID: MustHaveSuggestedParamsInline<AssetDestroyTxn>['genesisID'], assetIndex: AssetDestroyTxn['assetIndex'], rekeyTo?: AssetDestroyTxn['reKeyTo']): txnBuilder.Transaction;
|
|
248
|
-
export declare function makeAssetDestroyTxnWithSuggestedParamsFromObject(o: Expand<Pick<RenameProperty<MustHaveSuggestedParams<AssetDestroyTxn>, 'reKeyTo', 'rekeyTo'>, 'from' | 'note' | 'assetIndex' | 'suggestedParams' | 'rekeyTo'>>): txnBuilder.Transaction;
|
|
249
|
-
/** makeAssetFreezeTxnWithSuggestedParams will allow the asset's freeze manager to freeze or un-freeze an account,
|
|
250
|
-
* blocking or allowing asset transfers to and from the targeted account.
|
|
251
|
-
*
|
|
252
|
-
* @param from - string representation of Algorand address of sender
|
|
253
|
-
* @param note - uint8array of arbitrary data for sender to store
|
|
254
|
-
* @param assetIndex - int asset index uniquely specifying the asset
|
|
255
|
-
* @param freezeTarget - string representation of Algorand address being frozen or unfrozen
|
|
256
|
-
* @param freezeState - true if freezeTarget should be frozen, false if freezeTarget should be allowed to transact
|
|
257
|
-
* @param suggestedParams - a dict holding common-to-all-txns args:
|
|
258
|
-
* fee - integer fee per byte, in microAlgos. for a flat fee, set flatFee to true
|
|
259
|
-
* flatFee - bool optionally set this to true to specify fee as microalgos-per-txn
|
|
260
|
-
* If true, txn fee may fall below the ALGORAND_MIN_TX_FEE
|
|
261
|
-
* firstRound - integer first protocol round on which this txn is valid
|
|
262
|
-
* lastRound - integer last protocol round on which this txn is valid
|
|
263
|
-
* genesisHash - string specifies hash genesis block of network in use
|
|
264
|
-
* genesisID - string specifies genesis ID of network in use
|
|
265
|
-
* @param rekeyTo - rekeyTo address, optional
|
|
266
|
-
*/
|
|
267
|
-
export declare function makeAssetFreezeTxnWithSuggestedParams(from: AssetFreezeTxn['from'], note: AssetFreezeTxn['note'], assetIndex: AssetFreezeTxn['assetIndex'], freezeTarget: AssetFreezeTxn['freezeAccount'], freezeState: AssetFreezeTxn['freezeState'], suggestedParams: MustHaveSuggestedParams<AssetFreezeTxn>['suggestedParams'], rekeyTo?: AssetFreezeTxn['reKeyTo']): txnBuilder.Transaction;
|
|
268
|
-
/** makeAssetFreezeTxn will allow the asset's freeze manager to freeze or un-freeze an account,
|
|
269
|
-
* blocking or allowing asset transfers to and from the targeted account.
|
|
270
|
-
*
|
|
271
|
-
* @param from - string representation of Algorand address of sender
|
|
272
|
-
* @param fee - integer fee per byte, in microAlgos. for a flat fee, overwrite the fee property on the returned object
|
|
273
|
-
* If the final calculated fee is lower than the protocol minimum fee, the fee will be increased to match the minimum.
|
|
274
|
-
* @param firstRound - integer first protocol round on which this txn is valid
|
|
275
|
-
* @param lastRound - integer last protocol round on which this txn is valid
|
|
276
|
-
* @param note - uint8array of arbitrary data for sender to store
|
|
277
|
-
* @param genesisHash - string specifies hash genesis block of network in use
|
|
278
|
-
* @param genesisID - string specifies genesis ID of network in use
|
|
279
|
-
* @param assetIndex - int asset index uniquely specifying the asset
|
|
280
|
-
* @param freezeTarget - string representation of Algorand address being frozen or unfrozen
|
|
281
|
-
* @param freezeState - true if freezeTarget should be frozen, false if freezeTarget should be allowed to transact
|
|
282
|
-
* @param rekeyTo - rekeyTo address, optional
|
|
283
|
-
* @Deprecated in version 2.0 this will change to use the "WithSuggestedParams" signature.
|
|
284
|
-
*/
|
|
285
|
-
export declare function makeAssetFreezeTxn(from: AssetFreezeTxn['from'], fee: MustHaveSuggestedParamsInline<AssetFreezeTxn>['fee'], firstRound: MustHaveSuggestedParamsInline<AssetFreezeTxn>['firstRound'], lastRound: MustHaveSuggestedParamsInline<AssetFreezeTxn>['lastRound'], note: MustHaveSuggestedParamsInline<AssetFreezeTxn>['note'], genesisHash: MustHaveSuggestedParamsInline<AssetFreezeTxn>['genesisHash'], genesisID: MustHaveSuggestedParamsInline<AssetFreezeTxn>['genesisID'], assetIndex: AssetFreezeTxn['assetIndex'], freezeTarget: AssetFreezeTxn['freezeAccount'], freezeState: AssetFreezeTxn['freezeState'], rekeyTo?: AssetFreezeTxn['reKeyTo']): txnBuilder.Transaction;
|
|
286
|
-
export declare function makeAssetFreezeTxnWithSuggestedParamsFromObject(o: Expand<Pick<RenameProperties<MustHaveSuggestedParams<AssetFreezeTxn>, {
|
|
287
|
-
freezeAccount: 'freezeTarget';
|
|
288
|
-
reKeyTo: 'rekeyTo';
|
|
289
|
-
}>, 'from' | 'note' | 'assetIndex' | 'freezeTarget' | 'freezeState' | 'suggestedParams' | 'rekeyTo'>>): txnBuilder.Transaction;
|
|
290
|
-
/** makeAssetTransferTxnWithSuggestedParams allows for the creation of an asset transfer transaction.
|
|
291
|
-
* Special case: to begin accepting assets, set amount=0 and from=to.
|
|
292
|
-
*
|
|
293
|
-
* @param from - string representation of Algorand address of sender
|
|
294
|
-
* @param to - string representation of Algorand address of asset recipient
|
|
295
|
-
* @param closeRemainderTo - optional - string representation of Algorand address - if provided,
|
|
296
|
-
* send all remaining assets after transfer to the "closeRemainderTo" address and close "from"'s asset holdings
|
|
297
|
-
* @param revocationTarget - optional - string representation of Algorand address - if provided,
|
|
298
|
-
* and if "from" is the asset's revocation manager, then deduct from "revocationTarget" rather than "from"
|
|
299
|
-
* @param amount - integer amount of assets to send
|
|
300
|
-
* @param note - uint8array of arbitrary data for sender to store
|
|
301
|
-
* @param assetIndex - int asset index uniquely specifying the asset
|
|
302
|
-
* @param suggestedParams - a dict holding common-to-all-txns args:
|
|
303
|
-
* fee - integer fee per byte, in microAlgos. for a flat fee, set flatFee to true
|
|
304
|
-
* flatFee - bool optionally set this to true to specify fee as microalgos-per-txn
|
|
305
|
-
* If true, txn fee may fall below the ALGORAND_MIN_TX_FEE
|
|
306
|
-
* * flatFee - bool optionally set this to true to specify fee as microalgos-per-txn
|
|
307
|
-
* If true, txn fee may fall below the ALGORAND_MIN_TX_FEE
|
|
308
|
-
* firstRound - integer first protocol round on which this txn is valid
|
|
309
|
-
* lastRound - integer last protocol round on which this txn is valid
|
|
310
|
-
* genesisHash - string specifies hash genesis block of network in use
|
|
311
|
-
* genesisID - string specifies genesis ID of network in use
|
|
312
|
-
* @param rekeyTo - rekeyTo address, optional
|
|
313
|
-
*/
|
|
314
|
-
export declare function makeAssetTransferTxnWithSuggestedParams(from: AssetTransferTxn['from'], to: AssetTransferTxn['to'], closeRemainderTo: AssetTransferTxn['closeRemainderTo'], revocationTarget: AssetTransferTxn['assetRevocationTarget'], amount: AssetTransferTxn['amount'], note: AssetTransferTxn['note'], assetIndex: AssetTransferTxn['assetIndex'], suggestedParams: MustHaveSuggestedParams<AssetTransferTxn>['suggestedParams'], rekeyTo?: AssetTransferTxn['reKeyTo']): txnBuilder.Transaction;
|
|
315
|
-
/** makeAssetTransferTxn allows for the creation of an asset transfer transaction.
|
|
316
|
-
* Special case: to begin accepting assets, set amount=0 and from=to.
|
|
317
|
-
*
|
|
318
|
-
* @param from - string representation of Algorand address of sender
|
|
319
|
-
* @param to - string representation of Algorand address of asset recipient
|
|
320
|
-
* @param closeRemainderTo - optional - string representation of Algorand address - if provided,
|
|
321
|
-
* send all remaining assets after transfer to the "closeRemainderTo" address and close "from"'s asset holdings
|
|
322
|
-
* @param revocationTarget - optional - string representation of Algorand address - if provided,
|
|
323
|
-
* and if "from" is the asset's revocation manager, then deduct from "revocationTarget" rather than "from"
|
|
324
|
-
* @param fee - integer fee per byte, in microAlgos. for a flat fee, overwrite the fee property on the returned object
|
|
325
|
-
* If the final calculated fee is lower than the protocol minimum fee, the fee will be increased to match the minimum.
|
|
326
|
-
* @param amount - integer amount of assets to send
|
|
327
|
-
* @param firstRound - integer first protocol round on which this txn is valid
|
|
328
|
-
* @param lastRound - integer last protocol round on which this txn is valid
|
|
329
|
-
* @param note - uint8array of arbitrary data for sender to store
|
|
330
|
-
* @param genesisHash - string specifies hash genesis block of network in use
|
|
331
|
-
* @param genesisID - string specifies genesis ID of network in use
|
|
332
|
-
* @param assetIndex - int asset index uniquely specifying the asset
|
|
333
|
-
* @param rekeyTo - rekeyTo address, optional
|
|
334
|
-
* @Deprecated in version 2.0 this will change to use the "WithSuggestedParams" signature.
|
|
335
|
-
*/
|
|
336
|
-
export declare function makeAssetTransferTxn(from: AssetTransferTxn['from'], to: AssetTransferTxn['to'], closeRemainderTo: AssetTransferTxn['closeRemainderTo'], revocationTarget: AssetTransferTxn['assetRevocationTarget'], fee: MustHaveSuggestedParamsInline<AssetTransferTxn>['fee'], amount: AssetTransferTxn['amount'], firstRound: MustHaveSuggestedParamsInline<AssetTransferTxn>['firstRound'], lastRound: MustHaveSuggestedParamsInline<AssetTransferTxn>['lastRound'], note: AssetTransferTxn['note'], genesisHash: MustHaveSuggestedParamsInline<AssetTransferTxn>['genesisHash'], genesisID: MustHaveSuggestedParamsInline<AssetTransferTxn>['genesisID'], assetIndex: AssetTransferTxn['assetIndex'], rekeyTo?: AssetTransferTxn['reKeyTo']): txnBuilder.Transaction;
|
|
337
|
-
export declare function makeAssetTransferTxnWithSuggestedParamsFromObject(o: Expand<Pick<RenameProperties<MustHaveSuggestedParams<AssetTransferTxn>, {
|
|
338
|
-
assetRevocationTarget: 'revocationTarget';
|
|
339
|
-
reKeyTo: 'rekeyTo';
|
|
340
|
-
}>, 'from' | 'to' | 'closeRemainderTo' | 'revocationTarget' | 'amount' | 'note' | 'assetIndex' | 'suggestedParams' | 'rekeyTo'>>): txnBuilder.Transaction;
|
|
341
|
-
/**
|
|
342
|
-
* Make a transaction that will create an application.
|
|
343
|
-
* @param from - address of sender
|
|
344
|
-
* @param suggestedParams - a dict holding common-to-all-txns args:
|
|
345
|
-
* fee - integer fee per byte, in microAlgos. for a flat fee, set flatFee to true
|
|
346
|
-
* flatFee - bool optionally set this to true to specify fee as microalgos-per-txn
|
|
347
|
-
* If true, txn fee may fall below the ALGORAND_MIN_TX_FEE
|
|
348
|
-
* firstRound - integer first protocol round on which this txn is valid
|
|
349
|
-
* lastRound - integer last protocol round on which this txn is valid
|
|
350
|
-
* genesisHash - string specifies hash genesis block of network in use
|
|
351
|
-
* genesisID - string specifies genesis ID of network in use
|
|
352
|
-
* @param onComplete - algosdk.OnApplicationComplete, what application should do once the program is done being run
|
|
353
|
-
* @param approvalProgram - Uint8Array, the compiled TEAL that approves a transaction
|
|
354
|
-
* @param clearProgram - Uint8Array, the compiled TEAL that runs when clearing state
|
|
355
|
-
* @param numLocalInts - restricts number of ints in per-user local state
|
|
356
|
-
* @param numLocalByteSlices - restricts number of byte slices in per-user local state
|
|
357
|
-
* @param numGlobalInts - restricts number of ints in global state
|
|
358
|
-
* @param numGlobalByteSlices - restricts number of byte slices in global state
|
|
359
|
-
* @param appArgs - Array of Uint8Array, any additional arguments to the application
|
|
360
|
-
* @param accounts - Array of Address strings, any additional accounts to supply to the application
|
|
361
|
-
* @param foreignApps - Array of int, any other apps used by the application, identified by index
|
|
362
|
-
* @param foreignAssets - Array of int, any assets used by the application, identified by index
|
|
363
|
-
* @param note - Arbitrary data for sender to store
|
|
364
|
-
* @param lease - Lease a transaction
|
|
365
|
-
* @param rekeyTo - String representation of the Algorand address that will be used to authorize all future transactions
|
|
366
|
-
* @param extraPages - integer extra pages of memory to rent on creation of application
|
|
367
|
-
* @param boxes - Array of BoxReference, app ID and name of box to be accessed
|
|
368
|
-
*/
|
|
369
|
-
export declare function makeApplicationCreateTxn(from: AppCreateTxn['from'], suggestedParams: MustHaveSuggestedParams<AppCreateTxn>['suggestedParams'], onComplete: AppCreateTxn['appOnComplete'], approvalProgram: AppCreateTxn['appApprovalProgram'], clearProgram: AppCreateTxn['appClearProgram'], numLocalInts: AppCreateTxn['appLocalInts'], numLocalByteSlices: AppCreateTxn['appLocalByteSlices'], numGlobalInts: AppCreateTxn['appGlobalInts'], numGlobalByteSlices: AppCreateTxn['appGlobalByteSlices'], appArgs?: AppCreateTxn['appArgs'], accounts?: AppCreateTxn['appAccounts'], foreignApps?: AppCreateTxn['appForeignApps'], foreignAssets?: AppCreateTxn['appForeignAssets'], note?: AppCreateTxn['note'], lease?: AppCreateTxn['lease'], rekeyTo?: AppCreateTxn['reKeyTo'], extraPages?: AppCreateTxn['extraPages'], boxes?: AppCreateTxn['boxes']): txnBuilder.Transaction;
|
|
370
|
-
export declare function makeApplicationCreateTxnFromObject(o: Expand<Pick<RenameProperties<MustHaveSuggestedParams<AppCreateTxn>, {
|
|
371
|
-
appOnComplete: 'onComplete';
|
|
372
|
-
appApprovalProgram: 'approvalProgram';
|
|
373
|
-
appClearProgram: 'clearProgram';
|
|
374
|
-
appLocalInts: 'numLocalInts';
|
|
375
|
-
appLocalByteSlices: 'numLocalByteSlices';
|
|
376
|
-
appGlobalInts: 'numGlobalInts';
|
|
377
|
-
appGlobalByteSlices: 'numGlobalByteSlices';
|
|
378
|
-
appAccounts: 'accounts';
|
|
379
|
-
appForeignApps: 'foreignApps';
|
|
380
|
-
appForeignAssets: 'foreignAssets';
|
|
381
|
-
reKeyTo: 'rekeyTo';
|
|
382
|
-
}>, 'from' | 'suggestedParams' | 'onComplete' | 'approvalProgram' | 'clearProgram' | 'numLocalInts' | 'numLocalByteSlices' | 'numGlobalInts' | 'numGlobalByteSlices' | 'appArgs' | 'accounts' | 'foreignApps' | 'foreignAssets' | 'boxes' | 'note' | 'lease' | 'rekeyTo' | 'extraPages'>>): txnBuilder.Transaction;
|
|
383
|
-
/**
|
|
384
|
-
* Make a transaction that changes an application's approval and clear programs
|
|
385
|
-
* @param from - address of sender
|
|
386
|
-
* @param suggestedParams - a dict holding common-to-all-txns args:
|
|
387
|
-
* fee - integer fee per byte, in microAlgos. for a flat fee, set flatFee to true
|
|
388
|
-
* flatFee - bool optionally set this to true to specify fee as microalgos-per-txn
|
|
389
|
-
* If true, txn fee may fall below the ALGORAND_MIN_TX_FEE
|
|
390
|
-
* firstRound - integer first protocol round on which this txn is valid
|
|
391
|
-
* lastRound - integer last protocol round on which this txn is valid
|
|
392
|
-
* genesisHash - string specifies hash genesis block of network in use
|
|
393
|
-
* genesisID - string specifies genesis ID of network in use
|
|
394
|
-
* @param appIndex - the ID of the app to be updated
|
|
395
|
-
* @param approvalProgram - Uint8Array, the compiled TEAL that approves a transaction
|
|
396
|
-
* @param clearProgram - Uint8Array, the compiled TEAL that runs when clearing state
|
|
397
|
-
* @param appArgs - Array of Uint8Array, any additional arguments to the application
|
|
398
|
-
* @param accounts - Array of Address strings, any additional accounts to supply to the application
|
|
399
|
-
* @param foreignApps - Array of int, any other apps used by the application, identified by index
|
|
400
|
-
* @param foreignAssets - Array of int, any assets used by the application, identified by index
|
|
401
|
-
* @param note - Arbitrary data for sender to store
|
|
402
|
-
* @param lease - Lease a transaction
|
|
403
|
-
* @param rekeyTo - String representation of the Algorand address that will be used to authorize all future transactions
|
|
404
|
-
* @param boxes - Array of BoxReference, app ID and name of box to be accessed
|
|
405
|
-
*/
|
|
406
|
-
export declare function makeApplicationUpdateTxn(from: AppUpdateTxn['from'], suggestedParams: MustHaveSuggestedParams<AppUpdateTxn>['suggestedParams'], appIndex: AppUpdateTxn['appIndex'], approvalProgram: AppUpdateTxn['appApprovalProgram'], clearProgram: AppUpdateTxn['appClearProgram'], appArgs?: AppUpdateTxn['appArgs'], accounts?: AppUpdateTxn['appAccounts'], foreignApps?: AppUpdateTxn['appForeignApps'], foreignAssets?: AppUpdateTxn['appForeignAssets'], note?: AppUpdateTxn['note'], lease?: AppUpdateTxn['lease'], rekeyTo?: AppUpdateTxn['reKeyTo'], boxes?: AppUpdateTxn['boxes']): txnBuilder.Transaction;
|
|
407
|
-
export declare function makeApplicationUpdateTxnFromObject(o: Expand<Pick<RenameProperties<MustHaveSuggestedParams<AppUpdateTxn>, {
|
|
408
|
-
appApprovalProgram: 'approvalProgram';
|
|
409
|
-
appClearProgram: 'clearProgram';
|
|
410
|
-
appAccounts: 'accounts';
|
|
411
|
-
appForeignApps: 'foreignApps';
|
|
412
|
-
appForeignAssets: 'foreignAssets';
|
|
413
|
-
reKeyTo: 'rekeyTo';
|
|
414
|
-
}>, 'from' | 'suggestedParams' | 'appIndex' | 'approvalProgram' | 'clearProgram' | 'appArgs' | 'accounts' | 'foreignApps' | 'foreignAssets' | 'boxes' | 'note' | 'lease' | 'rekeyTo'>>): txnBuilder.Transaction;
|
|
415
|
-
/**
|
|
416
|
-
* Make a transaction that deletes an application
|
|
417
|
-
* @param from - address of sender
|
|
418
|
-
* @param suggestedParams - a dict holding common-to-all-txns args:
|
|
419
|
-
* fee - integer fee per byte, in microAlgos. for a flat fee, set flatFee to true
|
|
420
|
-
* flatFee - bool optionally set this to true to specify fee as microalgos-per-txn
|
|
421
|
-
* If true, txn fee may fall below the ALGORAND_MIN_TX_FEE
|
|
422
|
-
* firstRound - integer first protocol round on which this txn is valid
|
|
423
|
-
* lastRound - integer last protocol round on which this txn is valid
|
|
424
|
-
* genesisHash - string specifies hash genesis block of network in use
|
|
425
|
-
* genesisID - string specifies genesis ID of network in use
|
|
426
|
-
* @param appIndex - the ID of the app to be deleted
|
|
427
|
-
* @param appArgs - Array of Uint8Array, any additional arguments to the application
|
|
428
|
-
* @param accounts - Array of Address strings, any additional accounts to supply to the application
|
|
429
|
-
* @param foreignApps - Array of int, any other apps used by the application, identified by index
|
|
430
|
-
* @param foreignAssets - Array of int, any assets used by the application, identified by index
|
|
431
|
-
* @param note - Arbitrary data for sender to store
|
|
432
|
-
* @param lease - Lease a transaction
|
|
433
|
-
* @param rekeyTo - String representation of the Algorand address that will be used to authorize all future transactions
|
|
434
|
-
* @param boxes - Array of BoxReference, app ID and name of box to be accessed
|
|
435
|
-
*/
|
|
436
|
-
export declare function makeApplicationDeleteTxn(from: AppDeleteTxn['from'], suggestedParams: MustHaveSuggestedParams<AppDeleteTxn>['suggestedParams'], appIndex: AppDeleteTxn['appIndex'], appArgs?: AppDeleteTxn['appArgs'], accounts?: AppDeleteTxn['appAccounts'], foreignApps?: AppDeleteTxn['appForeignApps'], foreignAssets?: AppDeleteTxn['appForeignAssets'], note?: AppDeleteTxn['note'], lease?: AppDeleteTxn['lease'], rekeyTo?: AppDeleteTxn['reKeyTo'], boxes?: AppDeleteTxn['boxes']): txnBuilder.Transaction;
|
|
437
|
-
export declare function makeApplicationDeleteTxnFromObject(o: Expand<Pick<RenameProperties<MustHaveSuggestedParams<AppDeleteTxn>, {
|
|
438
|
-
appAccounts: 'accounts';
|
|
439
|
-
appForeignApps: 'foreignApps';
|
|
440
|
-
appForeignAssets: 'foreignAssets';
|
|
441
|
-
reKeyTo: 'rekeyTo';
|
|
442
|
-
}>, 'from' | 'suggestedParams' | 'appIndex' | 'appArgs' | 'accounts' | 'foreignApps' | 'foreignAssets' | 'boxes' | 'note' | 'lease' | 'rekeyTo'>>): txnBuilder.Transaction;
|
|
443
|
-
/**
|
|
444
|
-
* Make a transaction that opts in to use an application
|
|
445
|
-
* @param from - address of sender
|
|
446
|
-
* @param suggestedParams - a dict holding common-to-all-txns args:
|
|
447
|
-
* fee - integer fee per byte, in microAlgos. for a flat fee, set flatFee to true
|
|
448
|
-
* flatFee - bool optionally set this to true to specify fee as microalgos-per-txn
|
|
449
|
-
* If true, txn fee may fall below the ALGORAND_MIN_TX_FEE
|
|
450
|
-
* firstRound - integer first protocol round on which this txn is valid
|
|
451
|
-
* lastRound - integer last protocol round on which this txn is valid
|
|
452
|
-
* genesisHash - string specifies hash genesis block of network in use
|
|
453
|
-
* genesisID - string specifies genesis ID of network in use
|
|
454
|
-
* @param appIndex - the ID of the app to join
|
|
455
|
-
* @param appArgs - Array of Uint8Array, any additional arguments to the application
|
|
456
|
-
* @param accounts - Array of Address strings, any additional accounts to supply to the application
|
|
457
|
-
* @param foreignApps - Array of int, any other apps used by the application, identified by index
|
|
458
|
-
* @param foreignAssets - Array of int, any assets used by the application, identified by index
|
|
459
|
-
* @param note - Arbitrary data for sender to store
|
|
460
|
-
* @param lease - Lease a transaction
|
|
461
|
-
* @param rekeyTo - String representation of the Algorand address that will be used to authorize all future transactions
|
|
462
|
-
* @param boxes - Array of BoxReference, app ID and name of box to be accessed
|
|
463
|
-
*/
|
|
464
|
-
export declare function makeApplicationOptInTxn(from: AppOptInTxn['from'], suggestedParams: MustHaveSuggestedParams<AppOptInTxn>['suggestedParams'], appIndex: AppOptInTxn['appIndex'], appArgs?: AppOptInTxn['appArgs'], accounts?: AppOptInTxn['appAccounts'], foreignApps?: AppOptInTxn['appForeignApps'], foreignAssets?: AppOptInTxn['appForeignAssets'], note?: AppOptInTxn['note'], lease?: AppOptInTxn['lease'], rekeyTo?: AppOptInTxn['reKeyTo'], boxes?: AppOptInTxn['boxes']): txnBuilder.Transaction;
|
|
465
|
-
export declare function makeApplicationOptInTxnFromObject(o: Expand<Pick<RenameProperties<MustHaveSuggestedParams<AppOptInTxn>, {
|
|
466
|
-
appAccounts: 'accounts';
|
|
467
|
-
appForeignApps: 'foreignApps';
|
|
468
|
-
appForeignAssets: 'foreignAssets';
|
|
469
|
-
reKeyTo: 'rekeyTo';
|
|
470
|
-
}>, 'from' | 'suggestedParams' | 'appIndex' | 'appArgs' | 'accounts' | 'foreignApps' | 'foreignAssets' | 'boxes' | 'note' | 'lease' | 'rekeyTo'>>): txnBuilder.Transaction;
|
|
471
|
-
/**
|
|
472
|
-
* Make a transaction that closes out a user's state in an application
|
|
473
|
-
* @param from - address of sender
|
|
474
|
-
* @param suggestedParams - a dict holding common-to-all-txns args:
|
|
475
|
-
* fee - integer fee per byte, in microAlgos. for a flat fee, set flatFee to true
|
|
476
|
-
* flatFee - bool optionally set this to true to specify fee as microalgos-per-txn
|
|
477
|
-
* If true, txn fee may fall below the ALGORAND_MIN_TX_FEE
|
|
478
|
-
* firstRound - integer first protocol round on which this txn is valid
|
|
479
|
-
* lastRound - integer last protocol round on which this txn is valid
|
|
480
|
-
* genesisHash - string specifies hash genesis block of network in use
|
|
481
|
-
* genesisID - string specifies genesis ID of network in use
|
|
482
|
-
* @param appIndex - the ID of the app to use
|
|
483
|
-
* @param appArgs - Array of Uint8Array, any additional arguments to the application
|
|
484
|
-
* @param accounts - Array of Address strings, any additional accounts to supply to the application
|
|
485
|
-
* @param foreignApps - Array of int, any other apps used by the application, identified by index
|
|
486
|
-
* @param foreignAssets - Array of int, any assets used by the application, identified by index
|
|
487
|
-
* @param note - Arbitrary data for sender to store
|
|
488
|
-
* @param lease - Lease a transaction
|
|
489
|
-
* @param rekeyTo - String representation of the Algorand address that will be used to authorize all future transactions
|
|
490
|
-
* @param boxes - Array of BoxReference, app ID and name of box to be accessed
|
|
491
|
-
*/
|
|
492
|
-
export declare function makeApplicationCloseOutTxn(from: AppCloseOutTxn['from'], suggestedParams: MustHaveSuggestedParams<AppCloseOutTxn>['suggestedParams'], appIndex: AppCloseOutTxn['appIndex'], appArgs?: AppCloseOutTxn['appArgs'], accounts?: AppCloseOutTxn['appAccounts'], foreignApps?: AppCloseOutTxn['appForeignApps'], foreignAssets?: AppCloseOutTxn['appForeignAssets'], note?: AppCloseOutTxn['note'], lease?: AppCloseOutTxn['lease'], rekeyTo?: AppCloseOutTxn['reKeyTo'], boxes?: AppCloseOutTxn['boxes']): txnBuilder.Transaction;
|
|
493
|
-
export declare function makeApplicationCloseOutTxnFromObject(o: Expand<Pick<RenameProperties<MustHaveSuggestedParams<AppOptInTxn>, {
|
|
494
|
-
appAccounts: 'accounts';
|
|
495
|
-
appForeignApps: 'foreignApps';
|
|
496
|
-
appForeignAssets: 'foreignAssets';
|
|
497
|
-
reKeyTo: 'rekeyTo';
|
|
498
|
-
}>, 'from' | 'suggestedParams' | 'appIndex' | 'appArgs' | 'accounts' | 'foreignApps' | 'foreignAssets' | 'boxes' | 'note' | 'lease' | 'rekeyTo'>>): txnBuilder.Transaction;
|
|
499
|
-
/**
|
|
500
|
-
* Make a transaction that clears a user's state in an application
|
|
501
|
-
* @param from - address of sender
|
|
502
|
-
* @param suggestedParams - a dict holding common-to-all-txns args:
|
|
503
|
-
* fee - integer fee per byte, in microAlgos. for a flat fee, set flatFee to true
|
|
504
|
-
* flatFee - bool optionally set this to true to specify fee as microalgos-per-txn
|
|
505
|
-
* If true, txn fee may fall below the ALGORAND_MIN_TX_FEE
|
|
506
|
-
* firstRound - integer first protocol round on which this txn is valid
|
|
507
|
-
* lastRound - integer last protocol round on which this txn is valid
|
|
508
|
-
* genesisHash - string specifies hash genesis block of network in use
|
|
509
|
-
* genesisID - string specifies genesis ID of network in use
|
|
510
|
-
* @param appIndex - the ID of the app to use
|
|
511
|
-
* @param appArgs - Array of Uint8Array, any additional arguments to the application
|
|
512
|
-
* @param accounts - Array of Address strings, any additional accounts to supply to the application
|
|
513
|
-
* @param foreignApps - Array of int, any other apps used by the application, identified by index
|
|
514
|
-
* @param foreignAssets - Array of int, any assets used by the application, identified by index
|
|
515
|
-
* @param note - Arbitrary data for sender to store
|
|
516
|
-
* @param lease - Lease a transaction
|
|
517
|
-
* @param rekeyTo - String representation of the Algorand address that will be used to authorize all future transactions
|
|
518
|
-
* @param boxes - Array of BoxReference, app ID and name of box to be accessed
|
|
519
|
-
*/
|
|
520
|
-
export declare function makeApplicationClearStateTxn(from: AppClearStateTxn['from'], suggestedParams: MustHaveSuggestedParams<AppClearStateTxn>['suggestedParams'], appIndex: AppClearStateTxn['appIndex'], appArgs?: AppClearStateTxn['appArgs'], accounts?: AppClearStateTxn['appAccounts'], foreignApps?: AppClearStateTxn['appForeignApps'], foreignAssets?: AppClearStateTxn['appForeignAssets'], note?: AppClearStateTxn['note'], lease?: AppClearStateTxn['lease'], rekeyTo?: AppClearStateTxn['reKeyTo'], boxes?: AppClearStateTxn['boxes']): txnBuilder.Transaction;
|
|
521
|
-
export declare function makeApplicationClearStateTxnFromObject(o: Expand<Pick<RenameProperties<MustHaveSuggestedParams<AppOptInTxn>, {
|
|
522
|
-
appAccounts: 'accounts';
|
|
523
|
-
appForeignApps: 'foreignApps';
|
|
524
|
-
appForeignAssets: 'foreignAssets';
|
|
525
|
-
reKeyTo: 'rekeyTo';
|
|
526
|
-
}>, 'from' | 'suggestedParams' | 'appIndex' | 'appArgs' | 'accounts' | 'foreignApps' | 'foreignAssets' | 'boxes' | 'note' | 'lease' | 'rekeyTo'>>): txnBuilder.Transaction;
|
|
527
|
-
/**
|
|
528
|
-
* Make a transaction that just calls an application, doing nothing on completion
|
|
529
|
-
* @param from - address of sender
|
|
530
|
-
* @param suggestedParams - a dict holding common-to-all-txns args:
|
|
531
|
-
* fee - integer fee per byte, in microAlgos. for a flat fee, set flatFee to true
|
|
532
|
-
* flatFee - bool optionally set this to true to specify fee as microalgos-per-txn
|
|
533
|
-
* If true, txn fee may fall below the ALGORAND_MIN_TX_FEE
|
|
534
|
-
* firstRound - integer first protocol round on which this txn is valid
|
|
535
|
-
* lastRound - integer last protocol round on which this txn is valid
|
|
536
|
-
* genesisHash - string specifies hash genesis block of network in use
|
|
537
|
-
* genesisID - string specifies genesis ID of network in use
|
|
538
|
-
* @param appIndex - the ID of the app to use
|
|
539
|
-
* @param appArgs - Array of Uint8Array, any additional arguments to the application
|
|
540
|
-
* @param accounts - Array of Address strings, any additional accounts to supply to the application
|
|
541
|
-
* @param foreignApps - Array of int, any other apps used by the application, identified by index
|
|
542
|
-
* @param foreignAssets - Array of int, any assets used by the application, identified by index
|
|
543
|
-
* @param note - Arbitrary data for sender to store
|
|
544
|
-
* @param lease - Lease a transaction
|
|
545
|
-
* @param rekeyTo - String representation of the Algorand address that will be used to authorize all future transactions
|
|
546
|
-
* @param boxes - Array of BoxReference, app ID and name of box to be accessed
|
|
547
|
-
*/
|
|
548
|
-
export declare function makeApplicationNoOpTxn(from: AppNoOpTxn['from'], suggestedParams: MustHaveSuggestedParams<AppNoOpTxn>['suggestedParams'], appIndex: AppNoOpTxn['appIndex'], appArgs?: AppNoOpTxn['appArgs'], accounts?: AppNoOpTxn['appAccounts'], foreignApps?: AppNoOpTxn['appForeignApps'], foreignAssets?: AppNoOpTxn['appForeignAssets'], note?: AppNoOpTxn['note'], lease?: AppNoOpTxn['lease'], rekeyTo?: AppNoOpTxn['reKeyTo'], boxes?: AppNoOpTxn['boxes']): txnBuilder.Transaction;
|
|
549
|
-
export declare function makeApplicationNoOpTxnFromObject(o: Expand<Pick<RenameProperties<MustHaveSuggestedParams<AppOptInTxn>, {
|
|
550
|
-
appAccounts: 'accounts';
|
|
551
|
-
appForeignApps: 'foreignApps';
|
|
552
|
-
appForeignAssets: 'foreignAssets';
|
|
553
|
-
reKeyTo: 'rekeyTo';
|
|
554
|
-
}>, 'from' | 'suggestedParams' | 'appIndex' | 'appArgs' | 'accounts' | 'foreignApps' | 'foreignAssets' | 'boxes' | 'note' | 'lease' | 'rekeyTo'>>): txnBuilder.Transaction;
|
|
555
|
-
export { OnApplicationComplete } from './types/transactions/base';
|
|
556
|
-
/**
|
|
557
|
-
* Generic function for creating any application call transaction.
|
|
558
|
-
*/
|
|
559
|
-
export declare function makeApplicationCallTxnFromObject(options: Expand<Pick<RenameProperties<MustHaveSuggestedParams<AppCreateTxn>, {
|
|
560
|
-
appOnComplete: 'onComplete';
|
|
561
|
-
appAccounts: 'accounts';
|
|
562
|
-
appForeignApps: 'foreignApps';
|
|
563
|
-
appForeignAssets: 'foreignAssets';
|
|
564
|
-
reKeyTo: 'rekeyTo';
|
|
565
|
-
}>, 'from' | 'suggestedParams' | 'appIndex' | 'onComplete' | 'appArgs' | 'accounts' | 'foreignApps' | 'foreignAssets' | 'boxes' | 'note' | 'lease' | 'rekeyTo' | 'extraPages'> & Partial<Pick<RenameProperties<MustHaveSuggestedParams<AppCreateTxn>, {
|
|
566
|
-
appApprovalProgram: 'approvalProgram';
|
|
567
|
-
appClearProgram: 'clearProgram';
|
|
568
|
-
appLocalInts: 'numLocalInts';
|
|
569
|
-
appLocalByteSlices: 'numLocalByteSlices';
|
|
570
|
-
appGlobalInts: 'numGlobalInts';
|
|
571
|
-
appGlobalByteSlices: 'numGlobalByteSlices';
|
|
572
|
-
}>, 'approvalProgram' | 'clearProgram' | 'numLocalInts' | 'numLocalByteSlices' | 'numGlobalInts' | 'numGlobalByteSlices'>>>): txnBuilder.Transaction;
|