algosdk 1.23.2 → 1.24.1
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.map +1 -1
- package/dist/cjs/abi/abi_type.js +693 -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}/algod.js +0 -0
- package/dist/cjs/client/algod.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/{src/client → client}/v2/algod/algod.js +0 -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 +2047 -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/{src/client → client}/v2/indexer/lookupAssetTransactions.js +0 -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/{src/dryrun.js → dryrun.js} +0 -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}/langspec.json +0 -0
- package/dist/cjs/{src/logic → logic}/logic.js +0 -0
- package/dist/cjs/logic/logic.js.map +1 -0
- package/dist/cjs/{src/logic → logic}/sourcemap.js +0 -0
- package/dist/cjs/logic/sourcemap.js.map +1 -0
- package/dist/cjs/{src/logicTemplates → logicTemplates}/dynamicfee.js +0 -0
- package/dist/cjs/logicTemplates/dynamicfee.js.map +1 -0
- package/dist/cjs/{src/logicTemplates → logicTemplates}/htlc.js +0 -0
- package/dist/cjs/logicTemplates/htlc.js.map +1 -0
- package/dist/cjs/{src/logicTemplates → logicTemplates}/index.js +0 -0
- package/dist/cjs/logicTemplates/index.js.map +1 -0
- package/dist/cjs/{src/logicTemplates → logicTemplates}/limitorder.js +0 -0
- package/dist/cjs/logicTemplates/limitorder.js.map +1 -0
- package/dist/cjs/{src/logicTemplates → logicTemplates}/periodicpayment.js +0 -0
- package/dist/cjs/logicTemplates/periodicpayment.js.map +1 -0
- package/dist/cjs/{src/logicTemplates → logicTemplates}/split.js +0 -0
- package/dist/cjs/logicTemplates/split.js.map +1 -0
- package/dist/cjs/{src/logicTemplates → logicTemplates}/templates.js +0 -0
- package/dist/cjs/logicTemplates/templates.js.map +1 -0
- package/dist/cjs/{src/logicsig.js → logicsig.js} +0 -0
- package/dist/cjs/logicsig.js.map +1 -0
- package/dist/cjs/{src/main.js → main.js} +0 -0
- package/dist/cjs/main.js.map +1 -0
- package/dist/cjs/{src/makeTxn.js → makeTxn.js} +0 -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/multisig.js +398 -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/abi/abi_type.js +680 -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}/algod.js +0 -0
- package/dist/esm/client/algod.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/{src/client → client}/v2/algod/algod.js +0 -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 +1998 -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/{src/client → client}/v2/indexer/lookupAssetTransactions.js +0 -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/{src/dryrun.js → dryrun.js} +0 -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}/langspec.json +0 -0
- package/dist/esm/{src/logic → logic}/logic.js +0 -0
- package/dist/esm/logic/logic.js.map +1 -0
- package/dist/esm/{src/logic → logic}/sourcemap.js +0 -0
- package/dist/esm/logic/sourcemap.js.map +1 -0
- package/dist/esm/{src/logicTemplates → logicTemplates}/dynamicfee.js +0 -0
- package/dist/esm/logicTemplates/dynamicfee.js.map +1 -0
- package/dist/esm/{src/logicTemplates → logicTemplates}/htlc.js +0 -0
- package/dist/esm/logicTemplates/htlc.js.map +1 -0
- package/dist/esm/{src/logicTemplates → logicTemplates}/index.js +0 -0
- package/dist/esm/logicTemplates/index.js.map +1 -0
- package/dist/esm/{src/logicTemplates → logicTemplates}/limitorder.js +0 -0
- package/dist/esm/logicTemplates/limitorder.js.map +1 -0
- package/dist/esm/{src/logicTemplates → logicTemplates}/periodicpayment.js +0 -0
- package/dist/esm/logicTemplates/periodicpayment.js.map +1 -0
- package/dist/esm/{src/logicTemplates → logicTemplates}/split.js +0 -0
- package/dist/esm/logicTemplates/split.js.map +1 -0
- package/dist/esm/{src/logicTemplates → logicTemplates}/templates.js +0 -0
- package/dist/esm/logicTemplates/templates.js.map +1 -0
- package/dist/esm/{src/logicsig.js → logicsig.js} +0 -0
- package/dist/esm/logicsig.js.map +1 -0
- package/dist/esm/{src/main.js → main.js} +0 -0
- package/dist/esm/main.js.map +1 -0
- package/dist/esm/{src/makeTxn.js → makeTxn.js} +0 -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/multisig.js +364 -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}/algod.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/{src/client → client}/v2/algod/algod.d.ts +0 -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 +1634 -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/{src/client → client}/v2/indexer/lookupAssetTransactions.d.ts +0 -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}/logic.d.ts +0 -0
- package/dist/types/{src/logic → logic}/sourcemap.d.ts +0 -0
- package/dist/types/{src/logicTemplates → logicTemplates}/dynamicfee.d.ts +0 -0
- package/dist/types/{src/logicTemplates → logicTemplates}/htlc.d.ts +0 -0
- package/dist/types/{src/logicTemplates → logicTemplates}/index.d.ts +0 -0
- package/dist/types/{src/logicTemplates → logicTemplates}/limitorder.d.ts +0 -0
- package/dist/types/{src/logicTemplates → logicTemplates}/periodicpayment.d.ts +0 -0
- package/dist/types/{src/logicTemplates → logicTemplates}/split.d.ts +0 -0
- package/dist/types/{src/logicTemplates → logicTemplates}/templates.d.ts +0 -0
- package/dist/types/{src/logicsig.d.ts → logicsig.d.ts} +0 -0
- package/dist/types/{src/main.d.ts → main.d.ts} +0 -0
- package/dist/types/{src/makeTxn.d.ts → makeTxn.d.ts} +0 -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/multisig.d.ts +125 -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/{src/types → types}/transactions/encoded.d.ts +0 -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/algod.js +365 -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 +3662 -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 +406 -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/langspec.json +2014 -0
- package/src/logic/logic.ts +316 -0
- package/src/logic/sourcemap.ts +67 -0
- package/src/logicTemplates/dynamicfee.js +219 -0
- package/src/logicTemplates/htlc.js +165 -0
- package/src/logicTemplates/index.js +20 -0
- package/src/logicTemplates/limitorder.js +227 -0
- package/src/logicTemplates/periodicpayment.js +208 -0
- package/src/logicTemplates/split.js +208 -0
- package/src/logicTemplates/templates.js +78 -0
- package/src/logicsig.ts +523 -0
- package/src/main.ts +185 -0
- package/src/makeTxn.ts +1871 -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 +423 -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 +0 -693
- 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.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.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 -2033
- 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.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.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/logic.js.map +0 -1
- package/dist/cjs/src/logic/sourcemap.js.map +0 -1
- package/dist/cjs/src/logicTemplates/dynamicfee.js.map +0 -1
- package/dist/cjs/src/logicTemplates/htlc.js.map +0 -1
- package/dist/cjs/src/logicTemplates/index.js.map +0 -1
- package/dist/cjs/src/logicTemplates/limitorder.js.map +0 -1
- package/dist/cjs/src/logicTemplates/periodicpayment.js.map +0 -1
- package/dist/cjs/src/logicTemplates/split.js.map +0 -1
- package/dist/cjs/src/logicTemplates/templates.js.map +0 -1
- package/dist/cjs/src/logicsig.js.map +0 -1
- package/dist/cjs/src/main.js.map +0 -1
- 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 +0 -398
- 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 +0 -680
- 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.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.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 -1984
- 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.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.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/logic.js.map +0 -1
- package/dist/esm/src/logic/sourcemap.js.map +0 -1
- package/dist/esm/src/logicTemplates/dynamicfee.js.map +0 -1
- package/dist/esm/src/logicTemplates/htlc.js.map +0 -1
- package/dist/esm/src/logicTemplates/index.js.map +0 -1
- package/dist/esm/src/logicTemplates/limitorder.js.map +0 -1
- package/dist/esm/src/logicTemplates/periodicpayment.js.map +0 -1
- package/dist/esm/src/logicTemplates/split.js.map +0 -1
- package/dist/esm/src/logicTemplates/templates.js.map +0 -1
- package/dist/esm/src/logicsig.js.map +0 -1
- package/dist/esm/src/main.js.map +0 -1
- 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 +0 -364
- 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/v2/algod/models/types.d.ts +0 -1612
- package/dist/types/src/multisig.d.ts +0 -125
|
@@ -1,1612 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* NOTICE: This file was generated. Editing this file manually is not recommended.
|
|
3
|
-
*/
|
|
4
|
-
import BaseModel from '../../basemodel';
|
|
5
|
-
import { EncodedSignedTransaction } from '../../../../types/transactions/encoded';
|
|
6
|
-
import BlockHeader from '../../../../types/blockHeader';
|
|
7
|
-
/**
|
|
8
|
-
* Account information at a given round.
|
|
9
|
-
* Definition:
|
|
10
|
-
* data/basics/userBalance.go : AccountData
|
|
11
|
-
*/
|
|
12
|
-
export declare class Account extends BaseModel {
|
|
13
|
-
/**
|
|
14
|
-
* the account public key
|
|
15
|
-
*/
|
|
16
|
-
address: string;
|
|
17
|
-
/**
|
|
18
|
-
* (algo) total number of MicroAlgos in the account
|
|
19
|
-
*/
|
|
20
|
-
amount: number | bigint;
|
|
21
|
-
/**
|
|
22
|
-
* specifies the amount of MicroAlgos in the account, without the pending rewards.
|
|
23
|
-
*/
|
|
24
|
-
amountWithoutPendingRewards: number | bigint;
|
|
25
|
-
/**
|
|
26
|
-
* MicroAlgo balance required by the account.
|
|
27
|
-
* The requirement grows based on asset and application usage.
|
|
28
|
-
*/
|
|
29
|
-
minBalance: number | bigint;
|
|
30
|
-
/**
|
|
31
|
-
* amount of MicroAlgos of pending rewards in this account.
|
|
32
|
-
*/
|
|
33
|
-
pendingRewards: number | bigint;
|
|
34
|
-
/**
|
|
35
|
-
* (ern) total rewards of MicroAlgos the account has received, including pending
|
|
36
|
-
* rewards.
|
|
37
|
-
*/
|
|
38
|
-
rewards: number | bigint;
|
|
39
|
-
/**
|
|
40
|
-
* The round for which this information is relevant.
|
|
41
|
-
*/
|
|
42
|
-
round: number | bigint;
|
|
43
|
-
/**
|
|
44
|
-
* (onl) delegation status of the account's MicroAlgos
|
|
45
|
-
* * Offline - indicates that the associated account is delegated.
|
|
46
|
-
* * Online - indicates that the associated account used as part of the delegation
|
|
47
|
-
* pool.
|
|
48
|
-
* * NotParticipating - indicates that the associated account is neither a
|
|
49
|
-
* delegator nor a delegate.
|
|
50
|
-
*/
|
|
51
|
-
status: string;
|
|
52
|
-
/**
|
|
53
|
-
* The count of all applications that have been opted in, equivalent to the count
|
|
54
|
-
* of application local data (AppLocalState objects) stored in this account.
|
|
55
|
-
*/
|
|
56
|
-
totalAppsOptedIn: number | bigint;
|
|
57
|
-
/**
|
|
58
|
-
* The count of all assets that have been opted in, equivalent to the count of
|
|
59
|
-
* AssetHolding objects held by this account.
|
|
60
|
-
*/
|
|
61
|
-
totalAssetsOptedIn: number | bigint;
|
|
62
|
-
/**
|
|
63
|
-
* The count of all apps (AppParams objects) created by this account.
|
|
64
|
-
*/
|
|
65
|
-
totalCreatedApps: number | bigint;
|
|
66
|
-
/**
|
|
67
|
-
* The count of all assets (AssetParams objects) created by this account.
|
|
68
|
-
*/
|
|
69
|
-
totalCreatedAssets: number | bigint;
|
|
70
|
-
/**
|
|
71
|
-
* (appl) applications local data stored in this account.
|
|
72
|
-
* Note the raw object uses `map[int] -> AppLocalState` for this type.
|
|
73
|
-
*/
|
|
74
|
-
appsLocalState?: ApplicationLocalState[];
|
|
75
|
-
/**
|
|
76
|
-
* (teap) the sum of all extra application program pages for this account.
|
|
77
|
-
*/
|
|
78
|
-
appsTotalExtraPages?: number | bigint;
|
|
79
|
-
/**
|
|
80
|
-
* (tsch) stores the sum of all of the local schemas and global schemas in this
|
|
81
|
-
* account.
|
|
82
|
-
* Note: the raw account uses `StateSchema` for this type.
|
|
83
|
-
*/
|
|
84
|
-
appsTotalSchema?: ApplicationStateSchema;
|
|
85
|
-
/**
|
|
86
|
-
* (asset) assets held by this account.
|
|
87
|
-
* Note the raw object uses `map[int] -> AssetHolding` for this type.
|
|
88
|
-
*/
|
|
89
|
-
assets?: AssetHolding[];
|
|
90
|
-
/**
|
|
91
|
-
* (spend) the address against which signing should be checked. If empty, the
|
|
92
|
-
* address of the current account is used. This field can be updated in any
|
|
93
|
-
* transaction by setting the RekeyTo field.
|
|
94
|
-
*/
|
|
95
|
-
authAddr?: string;
|
|
96
|
-
/**
|
|
97
|
-
* (appp) parameters of applications created by this account including app global
|
|
98
|
-
* data.
|
|
99
|
-
* Note: the raw account uses `map[int] -> AppParams` for this type.
|
|
100
|
-
*/
|
|
101
|
-
createdApps?: Application[];
|
|
102
|
-
/**
|
|
103
|
-
* (apar) parameters of assets created by this account.
|
|
104
|
-
* Note: the raw account uses `map[int] -> Asset` for this type.
|
|
105
|
-
*/
|
|
106
|
-
createdAssets?: Asset[];
|
|
107
|
-
/**
|
|
108
|
-
* AccountParticipation describes the parameters used by this account in consensus
|
|
109
|
-
* protocol.
|
|
110
|
-
*/
|
|
111
|
-
participation?: AccountParticipation;
|
|
112
|
-
/**
|
|
113
|
-
* (ebase) used as part of the rewards computation. Only applicable to accounts
|
|
114
|
-
* which are participating.
|
|
115
|
-
*/
|
|
116
|
-
rewardBase?: number | bigint;
|
|
117
|
-
/**
|
|
118
|
-
* Indicates what type of signature is used by this account, must be one of:
|
|
119
|
-
* * sig
|
|
120
|
-
* * msig
|
|
121
|
-
* * lsig
|
|
122
|
-
*/
|
|
123
|
-
sigType?: string;
|
|
124
|
-
/**
|
|
125
|
-
* (tbxb) The total number of bytes used by this account's app's box keys and
|
|
126
|
-
* values.
|
|
127
|
-
*/
|
|
128
|
-
totalBoxBytes?: number | bigint;
|
|
129
|
-
/**
|
|
130
|
-
* (tbx) The number of existing boxes created by this account's app.
|
|
131
|
-
*/
|
|
132
|
-
totalBoxes?: number | bigint;
|
|
133
|
-
/**
|
|
134
|
-
* Creates a new `Account` object.
|
|
135
|
-
* @param address - the account public key
|
|
136
|
-
* @param amount - (algo) total number of MicroAlgos in the account
|
|
137
|
-
* @param amountWithoutPendingRewards - specifies the amount of MicroAlgos in the account, without the pending rewards.
|
|
138
|
-
* @param minBalance - MicroAlgo balance required by the account.
|
|
139
|
-
* The requirement grows based on asset and application usage.
|
|
140
|
-
* @param pendingRewards - amount of MicroAlgos of pending rewards in this account.
|
|
141
|
-
* @param rewards - (ern) total rewards of MicroAlgos the account has received, including pending
|
|
142
|
-
* rewards.
|
|
143
|
-
* @param round - The round for which this information is relevant.
|
|
144
|
-
* @param status - (onl) delegation status of the account's MicroAlgos
|
|
145
|
-
* * Offline - indicates that the associated account is delegated.
|
|
146
|
-
* * Online - indicates that the associated account used as part of the delegation
|
|
147
|
-
* pool.
|
|
148
|
-
* * NotParticipating - indicates that the associated account is neither a
|
|
149
|
-
* delegator nor a delegate.
|
|
150
|
-
* @param totalAppsOptedIn - The count of all applications that have been opted in, equivalent to the count
|
|
151
|
-
* of application local data (AppLocalState objects) stored in this account.
|
|
152
|
-
* @param totalAssetsOptedIn - The count of all assets that have been opted in, equivalent to the count of
|
|
153
|
-
* AssetHolding objects held by this account.
|
|
154
|
-
* @param totalCreatedApps - The count of all apps (AppParams objects) created by this account.
|
|
155
|
-
* @param totalCreatedAssets - The count of all assets (AssetParams objects) created by this account.
|
|
156
|
-
* @param appsLocalState - (appl) applications local data stored in this account.
|
|
157
|
-
* Note the raw object uses `map[int] -> AppLocalState` for this type.
|
|
158
|
-
* @param appsTotalExtraPages - (teap) the sum of all extra application program pages for this account.
|
|
159
|
-
* @param appsTotalSchema - (tsch) stores the sum of all of the local schemas and global schemas in this
|
|
160
|
-
* account.
|
|
161
|
-
* Note: the raw account uses `StateSchema` for this type.
|
|
162
|
-
* @param assets - (asset) assets held by this account.
|
|
163
|
-
* Note the raw object uses `map[int] -> AssetHolding` for this type.
|
|
164
|
-
* @param authAddr - (spend) the address against which signing should be checked. If empty, the
|
|
165
|
-
* address of the current account is used. This field can be updated in any
|
|
166
|
-
* transaction by setting the RekeyTo field.
|
|
167
|
-
* @param createdApps - (appp) parameters of applications created by this account including app global
|
|
168
|
-
* data.
|
|
169
|
-
* Note: the raw account uses `map[int] -> AppParams` for this type.
|
|
170
|
-
* @param createdAssets - (apar) parameters of assets created by this account.
|
|
171
|
-
* Note: the raw account uses `map[int] -> Asset` for this type.
|
|
172
|
-
* @param participation - AccountParticipation describes the parameters used by this account in consensus
|
|
173
|
-
* protocol.
|
|
174
|
-
* @param rewardBase - (ebase) used as part of the rewards computation. Only applicable to accounts
|
|
175
|
-
* which are participating.
|
|
176
|
-
* @param sigType - Indicates what type of signature is used by this account, must be one of:
|
|
177
|
-
* * sig
|
|
178
|
-
* * msig
|
|
179
|
-
* * lsig
|
|
180
|
-
* @param totalBoxBytes - (tbxb) The total number of bytes used by this account's app's box keys and
|
|
181
|
-
* values.
|
|
182
|
-
* @param totalBoxes - (tbx) The number of existing boxes created by this account's app.
|
|
183
|
-
*/
|
|
184
|
-
constructor({ address, amount, amountWithoutPendingRewards, minBalance, pendingRewards, rewards, round, status, totalAppsOptedIn, totalAssetsOptedIn, totalCreatedApps, totalCreatedAssets, appsLocalState, appsTotalExtraPages, appsTotalSchema, assets, authAddr, createdApps, createdAssets, participation, rewardBase, sigType, totalBoxBytes, totalBoxes, }: {
|
|
185
|
-
address: string;
|
|
186
|
-
amount: number | bigint;
|
|
187
|
-
amountWithoutPendingRewards: number | bigint;
|
|
188
|
-
minBalance: number | bigint;
|
|
189
|
-
pendingRewards: number | bigint;
|
|
190
|
-
rewards: number | bigint;
|
|
191
|
-
round: number | bigint;
|
|
192
|
-
status: string;
|
|
193
|
-
totalAppsOptedIn: number | bigint;
|
|
194
|
-
totalAssetsOptedIn: number | bigint;
|
|
195
|
-
totalCreatedApps: number | bigint;
|
|
196
|
-
totalCreatedAssets: number | bigint;
|
|
197
|
-
appsLocalState?: ApplicationLocalState[];
|
|
198
|
-
appsTotalExtraPages?: number | bigint;
|
|
199
|
-
appsTotalSchema?: ApplicationStateSchema;
|
|
200
|
-
assets?: AssetHolding[];
|
|
201
|
-
authAddr?: string;
|
|
202
|
-
createdApps?: Application[];
|
|
203
|
-
createdAssets?: Asset[];
|
|
204
|
-
participation?: AccountParticipation;
|
|
205
|
-
rewardBase?: number | bigint;
|
|
206
|
-
sigType?: string;
|
|
207
|
-
totalBoxBytes?: number | bigint;
|
|
208
|
-
totalBoxes?: number | bigint;
|
|
209
|
-
});
|
|
210
|
-
static from_obj_for_encoding(data: Record<string, any>): Account;
|
|
211
|
-
}
|
|
212
|
-
/**
|
|
213
|
-
* AccountApplicationResponse describes the account's application local state and
|
|
214
|
-
* global state (AppLocalState and AppParams, if either exists) for a specific
|
|
215
|
-
* application ID. Global state will only be returned if the provided address is
|
|
216
|
-
* the application's creator.
|
|
217
|
-
*/
|
|
218
|
-
export declare class AccountApplicationResponse extends BaseModel {
|
|
219
|
-
/**
|
|
220
|
-
* The round for which this information is relevant.
|
|
221
|
-
*/
|
|
222
|
-
round: number | bigint;
|
|
223
|
-
/**
|
|
224
|
-
* (appl) the application local data stored in this account.
|
|
225
|
-
* The raw account uses `AppLocalState` for this type.
|
|
226
|
-
*/
|
|
227
|
-
appLocalState?: ApplicationLocalState;
|
|
228
|
-
/**
|
|
229
|
-
* (appp) parameters of the application created by this account including app
|
|
230
|
-
* global data.
|
|
231
|
-
* The raw account uses `AppParams` for this type.
|
|
232
|
-
*/
|
|
233
|
-
createdApp?: ApplicationParams;
|
|
234
|
-
/**
|
|
235
|
-
* Creates a new `AccountApplicationResponse` object.
|
|
236
|
-
* @param round - The round for which this information is relevant.
|
|
237
|
-
* @param appLocalState - (appl) the application local data stored in this account.
|
|
238
|
-
* The raw account uses `AppLocalState` for this type.
|
|
239
|
-
* @param createdApp - (appp) parameters of the application created by this account including app
|
|
240
|
-
* global data.
|
|
241
|
-
* The raw account uses `AppParams` for this type.
|
|
242
|
-
*/
|
|
243
|
-
constructor(round: number | bigint, appLocalState?: ApplicationLocalState, createdApp?: ApplicationParams);
|
|
244
|
-
static from_obj_for_encoding(data: Record<string, any>): AccountApplicationResponse;
|
|
245
|
-
}
|
|
246
|
-
/**
|
|
247
|
-
* AccountAssetResponse describes the account's asset holding and asset parameters
|
|
248
|
-
* (if either exist) for a specific asset ID. Asset parameters will only be
|
|
249
|
-
* returned if the provided address is the asset's creator.
|
|
250
|
-
*/
|
|
251
|
-
export declare class AccountAssetResponse extends BaseModel {
|
|
252
|
-
/**
|
|
253
|
-
* The round for which this information is relevant.
|
|
254
|
-
*/
|
|
255
|
-
round: number | bigint;
|
|
256
|
-
/**
|
|
257
|
-
* (asset) Details about the asset held by this account.
|
|
258
|
-
* The raw account uses `AssetHolding` for this type.
|
|
259
|
-
*/
|
|
260
|
-
assetHolding?: AssetHolding;
|
|
261
|
-
/**
|
|
262
|
-
* (apar) parameters of the asset created by this account.
|
|
263
|
-
* The raw account uses `AssetParams` for this type.
|
|
264
|
-
*/
|
|
265
|
-
createdAsset?: AssetParams;
|
|
266
|
-
/**
|
|
267
|
-
* Creates a new `AccountAssetResponse` object.
|
|
268
|
-
* @param round - The round for which this information is relevant.
|
|
269
|
-
* @param assetHolding - (asset) Details about the asset held by this account.
|
|
270
|
-
* The raw account uses `AssetHolding` for this type.
|
|
271
|
-
* @param createdAsset - (apar) parameters of the asset created by this account.
|
|
272
|
-
* The raw account uses `AssetParams` for this type.
|
|
273
|
-
*/
|
|
274
|
-
constructor(round: number | bigint, assetHolding?: AssetHolding, createdAsset?: AssetParams);
|
|
275
|
-
static from_obj_for_encoding(data: Record<string, any>): AccountAssetResponse;
|
|
276
|
-
}
|
|
277
|
-
/**
|
|
278
|
-
* AccountParticipation describes the parameters used by this account in consensus
|
|
279
|
-
* protocol.
|
|
280
|
-
*/
|
|
281
|
-
export declare class AccountParticipation extends BaseModel {
|
|
282
|
-
/**
|
|
283
|
-
* (sel) Selection public key (if any) currently registered for this round.
|
|
284
|
-
*/
|
|
285
|
-
selectionParticipationKey: Uint8Array;
|
|
286
|
-
/**
|
|
287
|
-
* (voteFst) First round for which this participation is valid.
|
|
288
|
-
*/
|
|
289
|
-
voteFirstValid: number | bigint;
|
|
290
|
-
/**
|
|
291
|
-
* (voteKD) Number of subkeys in each batch of participation keys.
|
|
292
|
-
*/
|
|
293
|
-
voteKeyDilution: number | bigint;
|
|
294
|
-
/**
|
|
295
|
-
* (voteLst) Last round for which this participation is valid.
|
|
296
|
-
*/
|
|
297
|
-
voteLastValid: number | bigint;
|
|
298
|
-
/**
|
|
299
|
-
* (vote) root participation public key (if any) currently registered for this
|
|
300
|
-
* round.
|
|
301
|
-
*/
|
|
302
|
-
voteParticipationKey: Uint8Array;
|
|
303
|
-
/**
|
|
304
|
-
* (stprf) Root of the state proof key (if any)
|
|
305
|
-
*/
|
|
306
|
-
stateProofKey?: Uint8Array;
|
|
307
|
-
/**
|
|
308
|
-
* Creates a new `AccountParticipation` object.
|
|
309
|
-
* @param selectionParticipationKey - (sel) Selection public key (if any) currently registered for this round.
|
|
310
|
-
* @param voteFirstValid - (voteFst) First round for which this participation is valid.
|
|
311
|
-
* @param voteKeyDilution - (voteKD) Number of subkeys in each batch of participation keys.
|
|
312
|
-
* @param voteLastValid - (voteLst) Last round for which this participation is valid.
|
|
313
|
-
* @param voteParticipationKey - (vote) root participation public key (if any) currently registered for this
|
|
314
|
-
* round.
|
|
315
|
-
* @param stateProofKey - (stprf) Root of the state proof key (if any)
|
|
316
|
-
*/
|
|
317
|
-
constructor({ selectionParticipationKey, voteFirstValid, voteKeyDilution, voteLastValid, voteParticipationKey, stateProofKey, }: {
|
|
318
|
-
selectionParticipationKey: string | Uint8Array;
|
|
319
|
-
voteFirstValid: number | bigint;
|
|
320
|
-
voteKeyDilution: number | bigint;
|
|
321
|
-
voteLastValid: number | bigint;
|
|
322
|
-
voteParticipationKey: string | Uint8Array;
|
|
323
|
-
stateProofKey?: string | Uint8Array;
|
|
324
|
-
});
|
|
325
|
-
static from_obj_for_encoding(data: Record<string, any>): AccountParticipation;
|
|
326
|
-
}
|
|
327
|
-
/**
|
|
328
|
-
* Application state delta.
|
|
329
|
-
*/
|
|
330
|
-
export declare class AccountStateDelta extends BaseModel {
|
|
331
|
-
address: string;
|
|
332
|
-
/**
|
|
333
|
-
* Application state delta.
|
|
334
|
-
*/
|
|
335
|
-
delta: EvalDeltaKeyValue[];
|
|
336
|
-
/**
|
|
337
|
-
* Creates a new `AccountStateDelta` object.
|
|
338
|
-
* @param address -
|
|
339
|
-
* @param delta - Application state delta.
|
|
340
|
-
*/
|
|
341
|
-
constructor(address: string, delta: EvalDeltaKeyValue[]);
|
|
342
|
-
static from_obj_for_encoding(data: Record<string, any>): AccountStateDelta;
|
|
343
|
-
}
|
|
344
|
-
/**
|
|
345
|
-
* Application index and its parameters
|
|
346
|
-
*/
|
|
347
|
-
export declare class Application extends BaseModel {
|
|
348
|
-
/**
|
|
349
|
-
* (appidx) application index.
|
|
350
|
-
*/
|
|
351
|
-
id: number | bigint;
|
|
352
|
-
/**
|
|
353
|
-
* (appparams) application parameters.
|
|
354
|
-
*/
|
|
355
|
-
params: ApplicationParams;
|
|
356
|
-
/**
|
|
357
|
-
* Creates a new `Application` object.
|
|
358
|
-
* @param id - (appidx) application index.
|
|
359
|
-
* @param params - (appparams) application parameters.
|
|
360
|
-
*/
|
|
361
|
-
constructor(id: number | bigint, params: ApplicationParams);
|
|
362
|
-
static from_obj_for_encoding(data: Record<string, any>): Application;
|
|
363
|
-
}
|
|
364
|
-
/**
|
|
365
|
-
* Stores local state associated with an application.
|
|
366
|
-
*/
|
|
367
|
-
export declare class ApplicationLocalState extends BaseModel {
|
|
368
|
-
/**
|
|
369
|
-
* The application which this local state is for.
|
|
370
|
-
*/
|
|
371
|
-
id: number | bigint;
|
|
372
|
-
/**
|
|
373
|
-
* (hsch) schema.
|
|
374
|
-
*/
|
|
375
|
-
schema: ApplicationStateSchema;
|
|
376
|
-
/**
|
|
377
|
-
* (tkv) storage.
|
|
378
|
-
*/
|
|
379
|
-
keyValue?: TealKeyValue[];
|
|
380
|
-
/**
|
|
381
|
-
* Creates a new `ApplicationLocalState` object.
|
|
382
|
-
* @param id - The application which this local state is for.
|
|
383
|
-
* @param schema - (hsch) schema.
|
|
384
|
-
* @param keyValue - (tkv) storage.
|
|
385
|
-
*/
|
|
386
|
-
constructor(id: number | bigint, schema: ApplicationStateSchema, keyValue?: TealKeyValue[]);
|
|
387
|
-
static from_obj_for_encoding(data: Record<string, any>): ApplicationLocalState;
|
|
388
|
-
}
|
|
389
|
-
/**
|
|
390
|
-
* Stores the global information associated with an application.
|
|
391
|
-
*/
|
|
392
|
-
export declare class ApplicationParams extends BaseModel {
|
|
393
|
-
/**
|
|
394
|
-
* (approv) approval program.
|
|
395
|
-
*/
|
|
396
|
-
approvalProgram: Uint8Array;
|
|
397
|
-
/**
|
|
398
|
-
* (clearp) approval program.
|
|
399
|
-
*/
|
|
400
|
-
clearStateProgram: Uint8Array;
|
|
401
|
-
/**
|
|
402
|
-
* The address that created this application. This is the address where the
|
|
403
|
-
* parameters and global state for this application can be found.
|
|
404
|
-
*/
|
|
405
|
-
creator: string;
|
|
406
|
-
/**
|
|
407
|
-
* (epp) the amount of extra program pages available to this app.
|
|
408
|
-
*/
|
|
409
|
-
extraProgramPages?: number | bigint;
|
|
410
|
-
/**
|
|
411
|
-
* [\gs) global schema
|
|
412
|
-
*/
|
|
413
|
-
globalState?: TealKeyValue[];
|
|
414
|
-
/**
|
|
415
|
-
* [\gsch) global schema
|
|
416
|
-
*/
|
|
417
|
-
globalStateSchema?: ApplicationStateSchema;
|
|
418
|
-
/**
|
|
419
|
-
* [\lsch) local schema
|
|
420
|
-
*/
|
|
421
|
-
localStateSchema?: ApplicationStateSchema;
|
|
422
|
-
/**
|
|
423
|
-
* Creates a new `ApplicationParams` object.
|
|
424
|
-
* @param approvalProgram - (approv) approval program.
|
|
425
|
-
* @param clearStateProgram - (clearp) approval program.
|
|
426
|
-
* @param creator - The address that created this application. This is the address where the
|
|
427
|
-
* parameters and global state for this application can be found.
|
|
428
|
-
* @param extraProgramPages - (epp) the amount of extra program pages available to this app.
|
|
429
|
-
* @param globalState - [\gs) global schema
|
|
430
|
-
* @param globalStateSchema - [\gsch) global schema
|
|
431
|
-
* @param localStateSchema - [\lsch) local schema
|
|
432
|
-
*/
|
|
433
|
-
constructor({ approvalProgram, clearStateProgram, creator, extraProgramPages, globalState, globalStateSchema, localStateSchema, }: {
|
|
434
|
-
approvalProgram: string | Uint8Array;
|
|
435
|
-
clearStateProgram: string | Uint8Array;
|
|
436
|
-
creator: string;
|
|
437
|
-
extraProgramPages?: number | bigint;
|
|
438
|
-
globalState?: TealKeyValue[];
|
|
439
|
-
globalStateSchema?: ApplicationStateSchema;
|
|
440
|
-
localStateSchema?: ApplicationStateSchema;
|
|
441
|
-
});
|
|
442
|
-
static from_obj_for_encoding(data: Record<string, any>): ApplicationParams;
|
|
443
|
-
}
|
|
444
|
-
/**
|
|
445
|
-
* Specifies maximums on the number of each type that may be stored.
|
|
446
|
-
*/
|
|
447
|
-
export declare class ApplicationStateSchema extends BaseModel {
|
|
448
|
-
/**
|
|
449
|
-
* (nui) num of uints.
|
|
450
|
-
*/
|
|
451
|
-
numUint: number | bigint;
|
|
452
|
-
/**
|
|
453
|
-
* (nbs) num of byte slices.
|
|
454
|
-
*/
|
|
455
|
-
numByteSlice: number | bigint;
|
|
456
|
-
/**
|
|
457
|
-
* Creates a new `ApplicationStateSchema` object.
|
|
458
|
-
* @param numUint - (nui) num of uints.
|
|
459
|
-
* @param numByteSlice - (nbs) num of byte slices.
|
|
460
|
-
*/
|
|
461
|
-
constructor(numUint: number | bigint, numByteSlice: number | bigint);
|
|
462
|
-
static from_obj_for_encoding(data: Record<string, any>): ApplicationStateSchema;
|
|
463
|
-
}
|
|
464
|
-
/**
|
|
465
|
-
* Specifies both the unique identifier and the parameters for an asset
|
|
466
|
-
*/
|
|
467
|
-
export declare class Asset extends BaseModel {
|
|
468
|
-
/**
|
|
469
|
-
* unique asset identifier
|
|
470
|
-
*/
|
|
471
|
-
index: number | bigint;
|
|
472
|
-
/**
|
|
473
|
-
* AssetParams specifies the parameters for an asset.
|
|
474
|
-
* (apar) when part of an AssetConfig transaction.
|
|
475
|
-
* Definition:
|
|
476
|
-
* data/transactions/asset.go : AssetParams
|
|
477
|
-
*/
|
|
478
|
-
params: AssetParams;
|
|
479
|
-
/**
|
|
480
|
-
* Creates a new `Asset` object.
|
|
481
|
-
* @param index - unique asset identifier
|
|
482
|
-
* @param params - AssetParams specifies the parameters for an asset.
|
|
483
|
-
* (apar) when part of an AssetConfig transaction.
|
|
484
|
-
* Definition:
|
|
485
|
-
* data/transactions/asset.go : AssetParams
|
|
486
|
-
*/
|
|
487
|
-
constructor(index: number | bigint, params: AssetParams);
|
|
488
|
-
static from_obj_for_encoding(data: Record<string, any>): Asset;
|
|
489
|
-
}
|
|
490
|
-
/**
|
|
491
|
-
* Describes an asset held by an account.
|
|
492
|
-
* Definition:
|
|
493
|
-
* data/basics/userBalance.go : AssetHolding
|
|
494
|
-
*/
|
|
495
|
-
export declare class AssetHolding extends BaseModel {
|
|
496
|
-
/**
|
|
497
|
-
* (a) number of units held.
|
|
498
|
-
*/
|
|
499
|
-
amount: number | bigint;
|
|
500
|
-
/**
|
|
501
|
-
* Asset ID of the holding.
|
|
502
|
-
*/
|
|
503
|
-
assetId: number | bigint;
|
|
504
|
-
/**
|
|
505
|
-
* (f) whether or not the holding is frozen.
|
|
506
|
-
*/
|
|
507
|
-
isFrozen: boolean;
|
|
508
|
-
/**
|
|
509
|
-
* Creates a new `AssetHolding` object.
|
|
510
|
-
* @param amount - (a) number of units held.
|
|
511
|
-
* @param assetId - Asset ID of the holding.
|
|
512
|
-
* @param isFrozen - (f) whether or not the holding is frozen.
|
|
513
|
-
*/
|
|
514
|
-
constructor(amount: number | bigint, assetId: number | bigint, isFrozen: boolean);
|
|
515
|
-
static from_obj_for_encoding(data: Record<string, any>): AssetHolding;
|
|
516
|
-
}
|
|
517
|
-
/**
|
|
518
|
-
* AssetParams specifies the parameters for an asset.
|
|
519
|
-
* (apar) when part of an AssetConfig transaction.
|
|
520
|
-
* Definition:
|
|
521
|
-
* data/transactions/asset.go : AssetParams
|
|
522
|
-
*/
|
|
523
|
-
export declare class AssetParams extends BaseModel {
|
|
524
|
-
/**
|
|
525
|
-
* The address that created this asset. This is the address where the parameters
|
|
526
|
-
* for this asset can be found, and also the address where unwanted asset units can
|
|
527
|
-
* be sent in the worst case.
|
|
528
|
-
*/
|
|
529
|
-
creator: string;
|
|
530
|
-
/**
|
|
531
|
-
* (dc) The number of digits to use after the decimal point when displaying this
|
|
532
|
-
* asset. If 0, the asset is not divisible. If 1, the base unit of the asset is in
|
|
533
|
-
* tenths. If 2, the base unit of the asset is in hundredths, and so on. This value
|
|
534
|
-
* must be between 0 and 19 (inclusive).
|
|
535
|
-
*/
|
|
536
|
-
decimals: number | bigint;
|
|
537
|
-
/**
|
|
538
|
-
* (t) The total number of units of this asset.
|
|
539
|
-
*/
|
|
540
|
-
total: number | bigint;
|
|
541
|
-
/**
|
|
542
|
-
* (c) Address of account used to clawback holdings of this asset. If empty,
|
|
543
|
-
* clawback is not permitted.
|
|
544
|
-
*/
|
|
545
|
-
clawback?: string;
|
|
546
|
-
/**
|
|
547
|
-
* (df) Whether holdings of this asset are frozen by default.
|
|
548
|
-
*/
|
|
549
|
-
defaultFrozen?: boolean;
|
|
550
|
-
/**
|
|
551
|
-
* (f) Address of account used to freeze holdings of this asset. If empty, freezing
|
|
552
|
-
* is not permitted.
|
|
553
|
-
*/
|
|
554
|
-
freeze?: string;
|
|
555
|
-
/**
|
|
556
|
-
* (m) Address of account used to manage the keys of this asset and to destroy it.
|
|
557
|
-
*/
|
|
558
|
-
manager?: string;
|
|
559
|
-
/**
|
|
560
|
-
* (am) A commitment to some unspecified asset metadata. The format of this
|
|
561
|
-
* metadata is up to the application.
|
|
562
|
-
*/
|
|
563
|
-
metadataHash?: Uint8Array;
|
|
564
|
-
/**
|
|
565
|
-
* (an) Name of this asset, as supplied by the creator. Included only when the
|
|
566
|
-
* asset name is composed of printable utf-8 characters.
|
|
567
|
-
*/
|
|
568
|
-
name?: string;
|
|
569
|
-
/**
|
|
570
|
-
* Base64 encoded name of this asset, as supplied by the creator.
|
|
571
|
-
*/
|
|
572
|
-
nameB64?: Uint8Array;
|
|
573
|
-
/**
|
|
574
|
-
* (r) Address of account holding reserve (non-minted) units of this asset.
|
|
575
|
-
*/
|
|
576
|
-
reserve?: string;
|
|
577
|
-
/**
|
|
578
|
-
* (un) Name of a unit of this asset, as supplied by the creator. Included only
|
|
579
|
-
* when the name of a unit of this asset is composed of printable utf-8 characters.
|
|
580
|
-
*/
|
|
581
|
-
unitName?: string;
|
|
582
|
-
/**
|
|
583
|
-
* Base64 encoded name of a unit of this asset, as supplied by the creator.
|
|
584
|
-
*/
|
|
585
|
-
unitNameB64?: Uint8Array;
|
|
586
|
-
/**
|
|
587
|
-
* (au) URL where more information about the asset can be retrieved. Included only
|
|
588
|
-
* when the URL is composed of printable utf-8 characters.
|
|
589
|
-
*/
|
|
590
|
-
url?: string;
|
|
591
|
-
/**
|
|
592
|
-
* Base64 encoded URL where more information about the asset can be retrieved.
|
|
593
|
-
*/
|
|
594
|
-
urlB64?: Uint8Array;
|
|
595
|
-
/**
|
|
596
|
-
* Creates a new `AssetParams` object.
|
|
597
|
-
* @param creator - The address that created this asset. This is the address where the parameters
|
|
598
|
-
* for this asset can be found, and also the address where unwanted asset units can
|
|
599
|
-
* be sent in the worst case.
|
|
600
|
-
* @param decimals - (dc) The number of digits to use after the decimal point when displaying this
|
|
601
|
-
* asset. If 0, the asset is not divisible. If 1, the base unit of the asset is in
|
|
602
|
-
* tenths. If 2, the base unit of the asset is in hundredths, and so on. This value
|
|
603
|
-
* must be between 0 and 19 (inclusive).
|
|
604
|
-
* @param total - (t) The total number of units of this asset.
|
|
605
|
-
* @param clawback - (c) Address of account used to clawback holdings of this asset. If empty,
|
|
606
|
-
* clawback is not permitted.
|
|
607
|
-
* @param defaultFrozen - (df) Whether holdings of this asset are frozen by default.
|
|
608
|
-
* @param freeze - (f) Address of account used to freeze holdings of this asset. If empty, freezing
|
|
609
|
-
* is not permitted.
|
|
610
|
-
* @param manager - (m) Address of account used to manage the keys of this asset and to destroy it.
|
|
611
|
-
* @param metadataHash - (am) A commitment to some unspecified asset metadata. The format of this
|
|
612
|
-
* metadata is up to the application.
|
|
613
|
-
* @param name - (an) Name of this asset, as supplied by the creator. Included only when the
|
|
614
|
-
* asset name is composed of printable utf-8 characters.
|
|
615
|
-
* @param nameB64 - Base64 encoded name of this asset, as supplied by the creator.
|
|
616
|
-
* @param reserve - (r) Address of account holding reserve (non-minted) units of this asset.
|
|
617
|
-
* @param unitName - (un) Name of a unit of this asset, as supplied by the creator. Included only
|
|
618
|
-
* when the name of a unit of this asset is composed of printable utf-8 characters.
|
|
619
|
-
* @param unitNameB64 - Base64 encoded name of a unit of this asset, as supplied by the creator.
|
|
620
|
-
* @param url - (au) URL where more information about the asset can be retrieved. Included only
|
|
621
|
-
* when the URL is composed of printable utf-8 characters.
|
|
622
|
-
* @param urlB64 - Base64 encoded URL where more information about the asset can be retrieved.
|
|
623
|
-
*/
|
|
624
|
-
constructor({ creator, decimals, total, clawback, defaultFrozen, freeze, manager, metadataHash, name, nameB64, reserve, unitName, unitNameB64, url, urlB64, }: {
|
|
625
|
-
creator: string;
|
|
626
|
-
decimals: number | bigint;
|
|
627
|
-
total: number | bigint;
|
|
628
|
-
clawback?: string;
|
|
629
|
-
defaultFrozen?: boolean;
|
|
630
|
-
freeze?: string;
|
|
631
|
-
manager?: string;
|
|
632
|
-
metadataHash?: string | Uint8Array;
|
|
633
|
-
name?: string;
|
|
634
|
-
nameB64?: string | Uint8Array;
|
|
635
|
-
reserve?: string;
|
|
636
|
-
unitName?: string;
|
|
637
|
-
unitNameB64?: string | Uint8Array;
|
|
638
|
-
url?: string;
|
|
639
|
-
urlB64?: string | Uint8Array;
|
|
640
|
-
});
|
|
641
|
-
static from_obj_for_encoding(data: Record<string, any>): AssetParams;
|
|
642
|
-
}
|
|
643
|
-
/**
|
|
644
|
-
* Hash of a block header.
|
|
645
|
-
*/
|
|
646
|
-
export declare class BlockHashResponse extends BaseModel {
|
|
647
|
-
/**
|
|
648
|
-
* Block header hash.
|
|
649
|
-
*/
|
|
650
|
-
blockhash: string;
|
|
651
|
-
/**
|
|
652
|
-
* Creates a new `BlockHashResponse` object.
|
|
653
|
-
* @param blockhash - Block header hash.
|
|
654
|
-
*/
|
|
655
|
-
constructor(blockhash: string);
|
|
656
|
-
static from_obj_for_encoding(data: Record<string, any>): BlockHashResponse;
|
|
657
|
-
}
|
|
658
|
-
/**
|
|
659
|
-
* Encoded block object.
|
|
660
|
-
*/
|
|
661
|
-
export declare class BlockResponse extends BaseModel {
|
|
662
|
-
/**
|
|
663
|
-
* Block header data.
|
|
664
|
-
*/
|
|
665
|
-
block: BlockHeader;
|
|
666
|
-
/**
|
|
667
|
-
* Optional certificate object. This is only included when the format is set to
|
|
668
|
-
* message pack.
|
|
669
|
-
*/
|
|
670
|
-
cert?: Record<string, any>;
|
|
671
|
-
/**
|
|
672
|
-
* Creates a new `BlockResponse` object.
|
|
673
|
-
* @param block - Block header data.
|
|
674
|
-
* @param cert - Optional certificate object. This is only included when the format is set to
|
|
675
|
-
* message pack.
|
|
676
|
-
*/
|
|
677
|
-
constructor(block: BlockHeader, cert?: Record<string, any>);
|
|
678
|
-
static from_obj_for_encoding(data: Record<string, any>): BlockResponse;
|
|
679
|
-
}
|
|
680
|
-
/**
|
|
681
|
-
* Box name and its content.
|
|
682
|
-
*/
|
|
683
|
-
export declare class Box extends BaseModel {
|
|
684
|
-
/**
|
|
685
|
-
* (name) box name, base64 encoded
|
|
686
|
-
*/
|
|
687
|
-
name: Uint8Array;
|
|
688
|
-
/**
|
|
689
|
-
* (value) box value, base64 encoded.
|
|
690
|
-
*/
|
|
691
|
-
value: Uint8Array;
|
|
692
|
-
/**
|
|
693
|
-
* Creates a new `Box` object.
|
|
694
|
-
* @param name - (name) box name, base64 encoded
|
|
695
|
-
* @param value - (value) box value, base64 encoded.
|
|
696
|
-
*/
|
|
697
|
-
constructor(name: string | Uint8Array, value: string | Uint8Array);
|
|
698
|
-
static from_obj_for_encoding(data: Record<string, any>): Box;
|
|
699
|
-
}
|
|
700
|
-
/**
|
|
701
|
-
* Box descriptor describes a Box.
|
|
702
|
-
*/
|
|
703
|
-
export declare class BoxDescriptor extends BaseModel {
|
|
704
|
-
/**
|
|
705
|
-
* Base64 encoded box name
|
|
706
|
-
*/
|
|
707
|
-
name: Uint8Array;
|
|
708
|
-
/**
|
|
709
|
-
* Creates a new `BoxDescriptor` object.
|
|
710
|
-
* @param name - Base64 encoded box name
|
|
711
|
-
*/
|
|
712
|
-
constructor(name: string | Uint8Array);
|
|
713
|
-
static from_obj_for_encoding(data: Record<string, any>): BoxDescriptor;
|
|
714
|
-
}
|
|
715
|
-
/**
|
|
716
|
-
* Box names of an application
|
|
717
|
-
*/
|
|
718
|
-
export declare class BoxesResponse extends BaseModel {
|
|
719
|
-
boxes: BoxDescriptor[];
|
|
720
|
-
/**
|
|
721
|
-
* Creates a new `BoxesResponse` object.
|
|
722
|
-
* @param boxes -
|
|
723
|
-
*/
|
|
724
|
-
constructor(boxes: BoxDescriptor[]);
|
|
725
|
-
static from_obj_for_encoding(data: Record<string, any>): BoxesResponse;
|
|
726
|
-
}
|
|
727
|
-
export declare class BuildVersion extends BaseModel {
|
|
728
|
-
branch: string;
|
|
729
|
-
buildNumber: number | bigint;
|
|
730
|
-
channel: string;
|
|
731
|
-
commitHash: string;
|
|
732
|
-
major: number | bigint;
|
|
733
|
-
minor: number | bigint;
|
|
734
|
-
/**
|
|
735
|
-
* Creates a new `BuildVersion` object.
|
|
736
|
-
* @param branch -
|
|
737
|
-
* @param buildNumber -
|
|
738
|
-
* @param channel -
|
|
739
|
-
* @param commitHash -
|
|
740
|
-
* @param major -
|
|
741
|
-
* @param minor -
|
|
742
|
-
*/
|
|
743
|
-
constructor({ branch, buildNumber, channel, commitHash, major, minor, }: {
|
|
744
|
-
branch: string;
|
|
745
|
-
buildNumber: number | bigint;
|
|
746
|
-
channel: string;
|
|
747
|
-
commitHash: string;
|
|
748
|
-
major: number | bigint;
|
|
749
|
-
minor: number | bigint;
|
|
750
|
-
});
|
|
751
|
-
static from_obj_for_encoding(data: Record<string, any>): BuildVersion;
|
|
752
|
-
}
|
|
753
|
-
/**
|
|
754
|
-
*
|
|
755
|
-
*/
|
|
756
|
-
export declare class CatchpointAbortResponse extends BaseModel {
|
|
757
|
-
/**
|
|
758
|
-
* Catchup abort response string
|
|
759
|
-
*/
|
|
760
|
-
catchupMessage: string;
|
|
761
|
-
/**
|
|
762
|
-
* Creates a new `CatchpointAbortResponse` object.
|
|
763
|
-
* @param catchupMessage - Catchup abort response string
|
|
764
|
-
*/
|
|
765
|
-
constructor(catchupMessage: string);
|
|
766
|
-
static from_obj_for_encoding(data: Record<string, any>): CatchpointAbortResponse;
|
|
767
|
-
}
|
|
768
|
-
/**
|
|
769
|
-
*
|
|
770
|
-
*/
|
|
771
|
-
export declare class CatchpointStartResponse extends BaseModel {
|
|
772
|
-
/**
|
|
773
|
-
* Catchup start response string
|
|
774
|
-
*/
|
|
775
|
-
catchupMessage: string;
|
|
776
|
-
/**
|
|
777
|
-
* Creates a new `CatchpointStartResponse` object.
|
|
778
|
-
* @param catchupMessage - Catchup start response string
|
|
779
|
-
*/
|
|
780
|
-
constructor(catchupMessage: string);
|
|
781
|
-
static from_obj_for_encoding(data: Record<string, any>): CatchpointStartResponse;
|
|
782
|
-
}
|
|
783
|
-
/**
|
|
784
|
-
* Teal compile Result
|
|
785
|
-
*/
|
|
786
|
-
export declare class CompileResponse extends BaseModel {
|
|
787
|
-
/**
|
|
788
|
-
* base32 SHA512_256 of program bytes (Address style)
|
|
789
|
-
*/
|
|
790
|
-
hash: string;
|
|
791
|
-
/**
|
|
792
|
-
* base64 encoded program bytes
|
|
793
|
-
*/
|
|
794
|
-
result: string;
|
|
795
|
-
/**
|
|
796
|
-
* JSON of the source map
|
|
797
|
-
*/
|
|
798
|
-
sourcemap?: Record<string, any>;
|
|
799
|
-
/**
|
|
800
|
-
* Creates a new `CompileResponse` object.
|
|
801
|
-
* @param hash - base32 SHA512_256 of program bytes (Address style)
|
|
802
|
-
* @param result - base64 encoded program bytes
|
|
803
|
-
* @param sourcemap - JSON of the source map
|
|
804
|
-
*/
|
|
805
|
-
constructor(hash: string, result: string, sourcemap?: Record<string, any>);
|
|
806
|
-
static from_obj_for_encoding(data: Record<string, any>): CompileResponse;
|
|
807
|
-
}
|
|
808
|
-
/**
|
|
809
|
-
* Teal disassembly Result
|
|
810
|
-
*/
|
|
811
|
-
export declare class DisassembleResponse extends BaseModel {
|
|
812
|
-
/**
|
|
813
|
-
* disassembled Teal code
|
|
814
|
-
*/
|
|
815
|
-
result: string;
|
|
816
|
-
/**
|
|
817
|
-
* Creates a new `DisassembleResponse` object.
|
|
818
|
-
* @param result - disassembled Teal code
|
|
819
|
-
*/
|
|
820
|
-
constructor(result: string);
|
|
821
|
-
static from_obj_for_encoding(data: Record<string, any>): DisassembleResponse;
|
|
822
|
-
}
|
|
823
|
-
/**
|
|
824
|
-
* Request data type for dryrun endpoint. Given the Transactions and simulated
|
|
825
|
-
* ledger state upload, run TEAL scripts and return debugging information.
|
|
826
|
-
*/
|
|
827
|
-
export declare class DryrunRequest extends BaseModel {
|
|
828
|
-
accounts: Account[];
|
|
829
|
-
apps: Application[];
|
|
830
|
-
/**
|
|
831
|
-
* LatestTimestamp is available to some TEAL scripts. Defaults to the latest
|
|
832
|
-
* confirmed timestamp this algod is attached to.
|
|
833
|
-
*/
|
|
834
|
-
latestTimestamp: number | bigint;
|
|
835
|
-
/**
|
|
836
|
-
* ProtocolVersion specifies a specific version string to operate under, otherwise
|
|
837
|
-
* whatever the current protocol of the network this algod is running in.
|
|
838
|
-
*/
|
|
839
|
-
protocolVersion: string;
|
|
840
|
-
/**
|
|
841
|
-
* Round is available to some TEAL scripts. Defaults to the current round on the
|
|
842
|
-
* network this algod is attached to.
|
|
843
|
-
*/
|
|
844
|
-
round: number | bigint;
|
|
845
|
-
sources: DryrunSource[];
|
|
846
|
-
txns: EncodedSignedTransaction[];
|
|
847
|
-
/**
|
|
848
|
-
* Creates a new `DryrunRequest` object.
|
|
849
|
-
* @param accounts -
|
|
850
|
-
* @param apps -
|
|
851
|
-
* @param latestTimestamp - LatestTimestamp is available to some TEAL scripts. Defaults to the latest
|
|
852
|
-
* confirmed timestamp this algod is attached to.
|
|
853
|
-
* @param protocolVersion - ProtocolVersion specifies a specific version string to operate under, otherwise
|
|
854
|
-
* whatever the current protocol of the network this algod is running in.
|
|
855
|
-
* @param round - Round is available to some TEAL scripts. Defaults to the current round on the
|
|
856
|
-
* network this algod is attached to.
|
|
857
|
-
* @param sources -
|
|
858
|
-
* @param txns -
|
|
859
|
-
*/
|
|
860
|
-
constructor({ accounts, apps, latestTimestamp, protocolVersion, round, sources, txns, }: {
|
|
861
|
-
accounts: Account[];
|
|
862
|
-
apps: Application[];
|
|
863
|
-
latestTimestamp: number | bigint;
|
|
864
|
-
protocolVersion: string;
|
|
865
|
-
round: number | bigint;
|
|
866
|
-
sources: DryrunSource[];
|
|
867
|
-
txns: EncodedSignedTransaction[];
|
|
868
|
-
});
|
|
869
|
-
static from_obj_for_encoding(data: Record<string, any>): DryrunRequest;
|
|
870
|
-
}
|
|
871
|
-
/**
|
|
872
|
-
* DryrunResponse contains per-txn debug information from a dryrun.
|
|
873
|
-
*/
|
|
874
|
-
export declare class DryrunResponse extends BaseModel {
|
|
875
|
-
error: string;
|
|
876
|
-
/**
|
|
877
|
-
* Protocol version is the protocol version Dryrun was operated under.
|
|
878
|
-
*/
|
|
879
|
-
protocolVersion: string;
|
|
880
|
-
txns: DryrunTxnResult[];
|
|
881
|
-
/**
|
|
882
|
-
* Creates a new `DryrunResponse` object.
|
|
883
|
-
* @param error -
|
|
884
|
-
* @param protocolVersion - Protocol version is the protocol version Dryrun was operated under.
|
|
885
|
-
* @param txns -
|
|
886
|
-
*/
|
|
887
|
-
constructor(error: string, protocolVersion: string, txns: DryrunTxnResult[]);
|
|
888
|
-
static from_obj_for_encoding(data: Record<string, any>): DryrunResponse;
|
|
889
|
-
}
|
|
890
|
-
/**
|
|
891
|
-
* DryrunSource is TEAL source text that gets uploaded, compiled, and inserted into
|
|
892
|
-
* transactions or application state.
|
|
893
|
-
*/
|
|
894
|
-
export declare class DryrunSource extends BaseModel {
|
|
895
|
-
/**
|
|
896
|
-
* FieldName is what kind of sources this is. If lsig then it goes into the
|
|
897
|
-
* transactions[this.TxnIndex].LogicSig. If approv or clearp it goes into the
|
|
898
|
-
* Approval Program or Clear State Program of application[this.AppIndex].
|
|
899
|
-
*/
|
|
900
|
-
fieldName: string;
|
|
901
|
-
source: string;
|
|
902
|
-
txnIndex: number | bigint;
|
|
903
|
-
appIndex: number | bigint;
|
|
904
|
-
/**
|
|
905
|
-
* Creates a new `DryrunSource` object.
|
|
906
|
-
* @param fieldName - FieldName is what kind of sources this is. If lsig then it goes into the
|
|
907
|
-
* transactions[this.TxnIndex].LogicSig. If approv or clearp it goes into the
|
|
908
|
-
* Approval Program or Clear State Program of application[this.AppIndex].
|
|
909
|
-
* @param source -
|
|
910
|
-
* @param txnIndex -
|
|
911
|
-
* @param appIndex -
|
|
912
|
-
*/
|
|
913
|
-
constructor(fieldName: string, source: string, txnIndex: number | bigint, appIndex: number | bigint);
|
|
914
|
-
static from_obj_for_encoding(data: Record<string, any>): DryrunSource;
|
|
915
|
-
}
|
|
916
|
-
/**
|
|
917
|
-
* Stores the TEAL eval step data
|
|
918
|
-
*/
|
|
919
|
-
export declare class DryrunState extends BaseModel {
|
|
920
|
-
/**
|
|
921
|
-
* Line number
|
|
922
|
-
*/
|
|
923
|
-
line: number | bigint;
|
|
924
|
-
/**
|
|
925
|
-
* Program counter
|
|
926
|
-
*/
|
|
927
|
-
pc: number | bigint;
|
|
928
|
-
stack: TealValue[];
|
|
929
|
-
/**
|
|
930
|
-
* Evaluation error if any
|
|
931
|
-
*/
|
|
932
|
-
error?: string;
|
|
933
|
-
scratch?: TealValue[];
|
|
934
|
-
/**
|
|
935
|
-
* Creates a new `DryrunState` object.
|
|
936
|
-
* @param line - Line number
|
|
937
|
-
* @param pc - Program counter
|
|
938
|
-
* @param stack -
|
|
939
|
-
* @param error - Evaluation error if any
|
|
940
|
-
* @param scratch -
|
|
941
|
-
*/
|
|
942
|
-
constructor({ line, pc, stack, error, scratch, }: {
|
|
943
|
-
line: number | bigint;
|
|
944
|
-
pc: number | bigint;
|
|
945
|
-
stack: TealValue[];
|
|
946
|
-
error?: string;
|
|
947
|
-
scratch?: TealValue[];
|
|
948
|
-
});
|
|
949
|
-
static from_obj_for_encoding(data: Record<string, any>): DryrunState;
|
|
950
|
-
}
|
|
951
|
-
/**
|
|
952
|
-
* DryrunTxnResult contains any LogicSig or ApplicationCall program debug
|
|
953
|
-
* information and state updates from a dryrun.
|
|
954
|
-
*/
|
|
955
|
-
export declare class DryrunTxnResult extends BaseModel {
|
|
956
|
-
/**
|
|
957
|
-
* Disassembled program line by line.
|
|
958
|
-
*/
|
|
959
|
-
disassembly: string[];
|
|
960
|
-
appCallMessages?: string[];
|
|
961
|
-
appCallTrace?: DryrunState[];
|
|
962
|
-
/**
|
|
963
|
-
* Budget added during execution of app call transaction.
|
|
964
|
-
*/
|
|
965
|
-
budgetAdded?: number | bigint;
|
|
966
|
-
/**
|
|
967
|
-
* Budget consumed during execution of app call transaction.
|
|
968
|
-
*/
|
|
969
|
-
budgetConsumed?: number | bigint;
|
|
970
|
-
/**
|
|
971
|
-
* Net cost of app execution. Field is DEPRECATED and is subject for removal.
|
|
972
|
-
* Instead, use `budget-added` and `budget-consumed.
|
|
973
|
-
*/
|
|
974
|
-
cost?: number | bigint;
|
|
975
|
-
/**
|
|
976
|
-
* Application state delta.
|
|
977
|
-
*/
|
|
978
|
-
globalDelta?: EvalDeltaKeyValue[];
|
|
979
|
-
localDeltas?: AccountStateDelta[];
|
|
980
|
-
/**
|
|
981
|
-
* Disassembled lsig program line by line.
|
|
982
|
-
*/
|
|
983
|
-
logicSigDisassembly?: string[];
|
|
984
|
-
logicSigMessages?: string[];
|
|
985
|
-
logicSigTrace?: DryrunState[];
|
|
986
|
-
logs?: Uint8Array[];
|
|
987
|
-
/**
|
|
988
|
-
* Creates a new `DryrunTxnResult` object.
|
|
989
|
-
* @param disassembly - Disassembled program line by line.
|
|
990
|
-
* @param appCallMessages -
|
|
991
|
-
* @param appCallTrace -
|
|
992
|
-
* @param budgetAdded - Budget added during execution of app call transaction.
|
|
993
|
-
* @param budgetConsumed - Budget consumed during execution of app call transaction.
|
|
994
|
-
* @param cost - Net cost of app execution. Field is DEPRECATED and is subject for removal.
|
|
995
|
-
* Instead, use `budget-added` and `budget-consumed.
|
|
996
|
-
* @param globalDelta - Application state delta.
|
|
997
|
-
* @param localDeltas -
|
|
998
|
-
* @param logicSigDisassembly - Disassembled lsig program line by line.
|
|
999
|
-
* @param logicSigMessages -
|
|
1000
|
-
* @param logicSigTrace -
|
|
1001
|
-
* @param logs -
|
|
1002
|
-
*/
|
|
1003
|
-
constructor({ disassembly, appCallMessages, appCallTrace, budgetAdded, budgetConsumed, cost, globalDelta, localDeltas, logicSigDisassembly, logicSigMessages, logicSigTrace, logs, }: {
|
|
1004
|
-
disassembly: string[];
|
|
1005
|
-
appCallMessages?: string[];
|
|
1006
|
-
appCallTrace?: DryrunState[];
|
|
1007
|
-
budgetAdded?: number | bigint;
|
|
1008
|
-
budgetConsumed?: number | bigint;
|
|
1009
|
-
cost?: number | bigint;
|
|
1010
|
-
globalDelta?: EvalDeltaKeyValue[];
|
|
1011
|
-
localDeltas?: AccountStateDelta[];
|
|
1012
|
-
logicSigDisassembly?: string[];
|
|
1013
|
-
logicSigMessages?: string[];
|
|
1014
|
-
logicSigTrace?: DryrunState[];
|
|
1015
|
-
logs?: Uint8Array[];
|
|
1016
|
-
});
|
|
1017
|
-
static from_obj_for_encoding(data: Record<string, any>): DryrunTxnResult;
|
|
1018
|
-
}
|
|
1019
|
-
/**
|
|
1020
|
-
* An error response with optional data field.
|
|
1021
|
-
*/
|
|
1022
|
-
export declare class ErrorResponse extends BaseModel {
|
|
1023
|
-
message: string;
|
|
1024
|
-
data?: Record<string, any>;
|
|
1025
|
-
/**
|
|
1026
|
-
* Creates a new `ErrorResponse` object.
|
|
1027
|
-
* @param message -
|
|
1028
|
-
* @param data -
|
|
1029
|
-
*/
|
|
1030
|
-
constructor(message: string, data?: Record<string, any>);
|
|
1031
|
-
static from_obj_for_encoding(data: Record<string, any>): ErrorResponse;
|
|
1032
|
-
}
|
|
1033
|
-
/**
|
|
1034
|
-
* Represents a TEAL value delta.
|
|
1035
|
-
*/
|
|
1036
|
-
export declare class EvalDelta extends BaseModel {
|
|
1037
|
-
/**
|
|
1038
|
-
* (at) delta action.
|
|
1039
|
-
*/
|
|
1040
|
-
action: number | bigint;
|
|
1041
|
-
/**
|
|
1042
|
-
* (bs) bytes value.
|
|
1043
|
-
*/
|
|
1044
|
-
bytes?: string;
|
|
1045
|
-
/**
|
|
1046
|
-
* (ui) uint value.
|
|
1047
|
-
*/
|
|
1048
|
-
uint?: number | bigint;
|
|
1049
|
-
/**
|
|
1050
|
-
* Creates a new `EvalDelta` object.
|
|
1051
|
-
* @param action - (at) delta action.
|
|
1052
|
-
* @param bytes - (bs) bytes value.
|
|
1053
|
-
* @param uint - (ui) uint value.
|
|
1054
|
-
*/
|
|
1055
|
-
constructor(action: number | bigint, bytes?: string, uint?: number | bigint);
|
|
1056
|
-
static from_obj_for_encoding(data: Record<string, any>): EvalDelta;
|
|
1057
|
-
}
|
|
1058
|
-
/**
|
|
1059
|
-
* Key-value pairs for StateDelta.
|
|
1060
|
-
*/
|
|
1061
|
-
export declare class EvalDeltaKeyValue extends BaseModel {
|
|
1062
|
-
key: string;
|
|
1063
|
-
/**
|
|
1064
|
-
* Represents a TEAL value delta.
|
|
1065
|
-
*/
|
|
1066
|
-
value: EvalDelta;
|
|
1067
|
-
/**
|
|
1068
|
-
* Creates a new `EvalDeltaKeyValue` object.
|
|
1069
|
-
* @param key -
|
|
1070
|
-
* @param value - Represents a TEAL value delta.
|
|
1071
|
-
*/
|
|
1072
|
-
constructor(key: string, value: EvalDelta);
|
|
1073
|
-
static from_obj_for_encoding(data: Record<string, any>): EvalDeltaKeyValue;
|
|
1074
|
-
}
|
|
1075
|
-
/**
|
|
1076
|
-
* Proof of membership and position of a light block header.
|
|
1077
|
-
*/
|
|
1078
|
-
export declare class LightBlockHeaderProof extends BaseModel {
|
|
1079
|
-
/**
|
|
1080
|
-
* The index of the light block header in the vector commitment tree
|
|
1081
|
-
*/
|
|
1082
|
-
index: number | bigint;
|
|
1083
|
-
/**
|
|
1084
|
-
* The encoded proof.
|
|
1085
|
-
*/
|
|
1086
|
-
proof: Uint8Array;
|
|
1087
|
-
/**
|
|
1088
|
-
* Represents the depth of the tree that is being proven, i.e. the number of edges
|
|
1089
|
-
* from a leaf to the root.
|
|
1090
|
-
*/
|
|
1091
|
-
treedepth: number | bigint;
|
|
1092
|
-
/**
|
|
1093
|
-
* Creates a new `LightBlockHeaderProof` object.
|
|
1094
|
-
* @param index - The index of the light block header in the vector commitment tree
|
|
1095
|
-
* @param proof - The encoded proof.
|
|
1096
|
-
* @param treedepth - Represents the depth of the tree that is being proven, i.e. the number of edges
|
|
1097
|
-
* from a leaf to the root.
|
|
1098
|
-
*/
|
|
1099
|
-
constructor(index: number | bigint, proof: string | Uint8Array, treedepth: number | bigint);
|
|
1100
|
-
static from_obj_for_encoding(data: Record<string, any>): LightBlockHeaderProof;
|
|
1101
|
-
}
|
|
1102
|
-
/**
|
|
1103
|
-
*
|
|
1104
|
-
*/
|
|
1105
|
-
export declare class NodeStatusResponse extends BaseModel {
|
|
1106
|
-
/**
|
|
1107
|
-
* CatchupTime in nanoseconds
|
|
1108
|
-
*/
|
|
1109
|
-
catchupTime: number | bigint;
|
|
1110
|
-
/**
|
|
1111
|
-
* LastRound indicates the last round seen
|
|
1112
|
-
*/
|
|
1113
|
-
lastRound: number | bigint;
|
|
1114
|
-
/**
|
|
1115
|
-
* LastVersion indicates the last consensus version supported
|
|
1116
|
-
*/
|
|
1117
|
-
lastVersion: string;
|
|
1118
|
-
/**
|
|
1119
|
-
* NextVersion of consensus protocol to use
|
|
1120
|
-
*/
|
|
1121
|
-
nextVersion: string;
|
|
1122
|
-
/**
|
|
1123
|
-
* NextVersionRound is the round at which the next consensus version will apply
|
|
1124
|
-
*/
|
|
1125
|
-
nextVersionRound: number | bigint;
|
|
1126
|
-
/**
|
|
1127
|
-
* NextVersionSupported indicates whether the next consensus version is supported
|
|
1128
|
-
* by this node
|
|
1129
|
-
*/
|
|
1130
|
-
nextVersionSupported: boolean;
|
|
1131
|
-
/**
|
|
1132
|
-
* StoppedAtUnsupportedRound indicates that the node does not support the new
|
|
1133
|
-
* rounds and has stopped making progress
|
|
1134
|
-
*/
|
|
1135
|
-
stoppedAtUnsupportedRound: boolean;
|
|
1136
|
-
/**
|
|
1137
|
-
* TimeSinceLastRound in nanoseconds
|
|
1138
|
-
*/
|
|
1139
|
-
timeSinceLastRound: number | bigint;
|
|
1140
|
-
/**
|
|
1141
|
-
* The current catchpoint that is being caught up to
|
|
1142
|
-
*/
|
|
1143
|
-
catchpoint?: string;
|
|
1144
|
-
/**
|
|
1145
|
-
* The number of blocks that have already been obtained by the node as part of the
|
|
1146
|
-
* catchup
|
|
1147
|
-
*/
|
|
1148
|
-
catchpointAcquiredBlocks?: number | bigint;
|
|
1149
|
-
/**
|
|
1150
|
-
* The number of accounts from the current catchpoint that have been processed so
|
|
1151
|
-
* far as part of the catchup
|
|
1152
|
-
*/
|
|
1153
|
-
catchpointProcessedAccounts?: number | bigint;
|
|
1154
|
-
/**
|
|
1155
|
-
* The total number of accounts included in the current catchpoint
|
|
1156
|
-
*/
|
|
1157
|
-
catchpointTotalAccounts?: number | bigint;
|
|
1158
|
-
/**
|
|
1159
|
-
* The total number of blocks that are required to complete the current catchpoint
|
|
1160
|
-
* catchup
|
|
1161
|
-
*/
|
|
1162
|
-
catchpointTotalBlocks?: number | bigint;
|
|
1163
|
-
/**
|
|
1164
|
-
* The number of accounts from the current catchpoint that have been verified so
|
|
1165
|
-
* far as part of the catchup
|
|
1166
|
-
*/
|
|
1167
|
-
catchpointVerifiedAccounts?: number | bigint;
|
|
1168
|
-
/**
|
|
1169
|
-
* The last catchpoint seen by the node
|
|
1170
|
-
*/
|
|
1171
|
-
lastCatchpoint?: string;
|
|
1172
|
-
/**
|
|
1173
|
-
* Creates a new `NodeStatusResponse` object.
|
|
1174
|
-
* @param catchupTime - CatchupTime in nanoseconds
|
|
1175
|
-
* @param lastRound - LastRound indicates the last round seen
|
|
1176
|
-
* @param lastVersion - LastVersion indicates the last consensus version supported
|
|
1177
|
-
* @param nextVersion - NextVersion of consensus protocol to use
|
|
1178
|
-
* @param nextVersionRound - NextVersionRound is the round at which the next consensus version will apply
|
|
1179
|
-
* @param nextVersionSupported - NextVersionSupported indicates whether the next consensus version is supported
|
|
1180
|
-
* by this node
|
|
1181
|
-
* @param stoppedAtUnsupportedRound - StoppedAtUnsupportedRound indicates that the node does not support the new
|
|
1182
|
-
* rounds and has stopped making progress
|
|
1183
|
-
* @param timeSinceLastRound - TimeSinceLastRound in nanoseconds
|
|
1184
|
-
* @param catchpoint - The current catchpoint that is being caught up to
|
|
1185
|
-
* @param catchpointAcquiredBlocks - The number of blocks that have already been obtained by the node as part of the
|
|
1186
|
-
* catchup
|
|
1187
|
-
* @param catchpointProcessedAccounts - The number of accounts from the current catchpoint that have been processed so
|
|
1188
|
-
* far as part of the catchup
|
|
1189
|
-
* @param catchpointTotalAccounts - The total number of accounts included in the current catchpoint
|
|
1190
|
-
* @param catchpointTotalBlocks - The total number of blocks that are required to complete the current catchpoint
|
|
1191
|
-
* catchup
|
|
1192
|
-
* @param catchpointVerifiedAccounts - The number of accounts from the current catchpoint that have been verified so
|
|
1193
|
-
* far as part of the catchup
|
|
1194
|
-
* @param lastCatchpoint - The last catchpoint seen by the node
|
|
1195
|
-
*/
|
|
1196
|
-
constructor({ catchupTime, lastRound, lastVersion, nextVersion, nextVersionRound, nextVersionSupported, stoppedAtUnsupportedRound, timeSinceLastRound, catchpoint, catchpointAcquiredBlocks, catchpointProcessedAccounts, catchpointTotalAccounts, catchpointTotalBlocks, catchpointVerifiedAccounts, lastCatchpoint, }: {
|
|
1197
|
-
catchupTime: number | bigint;
|
|
1198
|
-
lastRound: number | bigint;
|
|
1199
|
-
lastVersion: string;
|
|
1200
|
-
nextVersion: string;
|
|
1201
|
-
nextVersionRound: number | bigint;
|
|
1202
|
-
nextVersionSupported: boolean;
|
|
1203
|
-
stoppedAtUnsupportedRound: boolean;
|
|
1204
|
-
timeSinceLastRound: number | bigint;
|
|
1205
|
-
catchpoint?: string;
|
|
1206
|
-
catchpointAcquiredBlocks?: number | bigint;
|
|
1207
|
-
catchpointProcessedAccounts?: number | bigint;
|
|
1208
|
-
catchpointTotalAccounts?: number | bigint;
|
|
1209
|
-
catchpointTotalBlocks?: number | bigint;
|
|
1210
|
-
catchpointVerifiedAccounts?: number | bigint;
|
|
1211
|
-
lastCatchpoint?: string;
|
|
1212
|
-
});
|
|
1213
|
-
static from_obj_for_encoding(data: Record<string, any>): NodeStatusResponse;
|
|
1214
|
-
}
|
|
1215
|
-
/**
|
|
1216
|
-
* Details about a pending transaction. If the transaction was recently confirmed,
|
|
1217
|
-
* includes confirmation details like the round and reward details.
|
|
1218
|
-
*/
|
|
1219
|
-
export declare class PendingTransactionResponse extends BaseModel {
|
|
1220
|
-
/**
|
|
1221
|
-
* Indicates that the transaction was kicked out of this node's transaction pool
|
|
1222
|
-
* (and specifies why that happened). An empty string indicates the transaction
|
|
1223
|
-
* wasn't kicked out of this node's txpool due to an error.
|
|
1224
|
-
*/
|
|
1225
|
-
poolError: string;
|
|
1226
|
-
/**
|
|
1227
|
-
* The raw signed transaction.
|
|
1228
|
-
*/
|
|
1229
|
-
txn: EncodedSignedTransaction;
|
|
1230
|
-
/**
|
|
1231
|
-
* The application index if the transaction was found and it created an
|
|
1232
|
-
* application.
|
|
1233
|
-
*/
|
|
1234
|
-
applicationIndex?: number | bigint;
|
|
1235
|
-
/**
|
|
1236
|
-
* The number of the asset's unit that were transferred to the close-to address.
|
|
1237
|
-
*/
|
|
1238
|
-
assetClosingAmount?: number | bigint;
|
|
1239
|
-
/**
|
|
1240
|
-
* The asset index if the transaction was found and it created an asset.
|
|
1241
|
-
*/
|
|
1242
|
-
assetIndex?: number | bigint;
|
|
1243
|
-
/**
|
|
1244
|
-
* Rewards in microalgos applied to the close remainder to account.
|
|
1245
|
-
*/
|
|
1246
|
-
closeRewards?: number | bigint;
|
|
1247
|
-
/**
|
|
1248
|
-
* Closing amount for the transaction.
|
|
1249
|
-
*/
|
|
1250
|
-
closingAmount?: number | bigint;
|
|
1251
|
-
/**
|
|
1252
|
-
* The round where this transaction was confirmed, if present.
|
|
1253
|
-
*/
|
|
1254
|
-
confirmedRound?: number | bigint;
|
|
1255
|
-
/**
|
|
1256
|
-
* (gd) Global state key/value changes for the application being executed by this
|
|
1257
|
-
* transaction.
|
|
1258
|
-
*/
|
|
1259
|
-
globalStateDelta?: EvalDeltaKeyValue[];
|
|
1260
|
-
/**
|
|
1261
|
-
* Inner transactions produced by application execution.
|
|
1262
|
-
*/
|
|
1263
|
-
innerTxns?: PendingTransactionResponse[];
|
|
1264
|
-
/**
|
|
1265
|
-
* (ld) Local state key/value changes for the application being executed by this
|
|
1266
|
-
* transaction.
|
|
1267
|
-
*/
|
|
1268
|
-
localStateDelta?: AccountStateDelta[];
|
|
1269
|
-
/**
|
|
1270
|
-
* (lg) Logs for the application being executed by this transaction.
|
|
1271
|
-
*/
|
|
1272
|
-
logs?: Uint8Array[];
|
|
1273
|
-
/**
|
|
1274
|
-
* Rewards in microalgos applied to the receiver account.
|
|
1275
|
-
*/
|
|
1276
|
-
receiverRewards?: number | bigint;
|
|
1277
|
-
/**
|
|
1278
|
-
* Rewards in microalgos applied to the sender account.
|
|
1279
|
-
*/
|
|
1280
|
-
senderRewards?: number | bigint;
|
|
1281
|
-
/**
|
|
1282
|
-
* Creates a new `PendingTransactionResponse` object.
|
|
1283
|
-
* @param poolError - Indicates that the transaction was kicked out of this node's transaction pool
|
|
1284
|
-
* (and specifies why that happened). An empty string indicates the transaction
|
|
1285
|
-
* wasn't kicked out of this node's txpool due to an error.
|
|
1286
|
-
* @param txn - The raw signed transaction.
|
|
1287
|
-
* @param applicationIndex - The application index if the transaction was found and it created an
|
|
1288
|
-
* application.
|
|
1289
|
-
* @param assetClosingAmount - The number of the asset's unit that were transferred to the close-to address.
|
|
1290
|
-
* @param assetIndex - The asset index if the transaction was found and it created an asset.
|
|
1291
|
-
* @param closeRewards - Rewards in microalgos applied to the close remainder to account.
|
|
1292
|
-
* @param closingAmount - Closing amount for the transaction.
|
|
1293
|
-
* @param confirmedRound - The round where this transaction was confirmed, if present.
|
|
1294
|
-
* @param globalStateDelta - (gd) Global state key/value changes for the application being executed by this
|
|
1295
|
-
* transaction.
|
|
1296
|
-
* @param innerTxns - Inner transactions produced by application execution.
|
|
1297
|
-
* @param localStateDelta - (ld) Local state key/value changes for the application being executed by this
|
|
1298
|
-
* transaction.
|
|
1299
|
-
* @param logs - (lg) Logs for the application being executed by this transaction.
|
|
1300
|
-
* @param receiverRewards - Rewards in microalgos applied to the receiver account.
|
|
1301
|
-
* @param senderRewards - Rewards in microalgos applied to the sender account.
|
|
1302
|
-
*/
|
|
1303
|
-
constructor({ poolError, txn, applicationIndex, assetClosingAmount, assetIndex, closeRewards, closingAmount, confirmedRound, globalStateDelta, innerTxns, localStateDelta, logs, receiverRewards, senderRewards, }: {
|
|
1304
|
-
poolError: string;
|
|
1305
|
-
txn: EncodedSignedTransaction;
|
|
1306
|
-
applicationIndex?: number | bigint;
|
|
1307
|
-
assetClosingAmount?: number | bigint;
|
|
1308
|
-
assetIndex?: number | bigint;
|
|
1309
|
-
closeRewards?: number | bigint;
|
|
1310
|
-
closingAmount?: number | bigint;
|
|
1311
|
-
confirmedRound?: number | bigint;
|
|
1312
|
-
globalStateDelta?: EvalDeltaKeyValue[];
|
|
1313
|
-
innerTxns?: PendingTransactionResponse[];
|
|
1314
|
-
localStateDelta?: AccountStateDelta[];
|
|
1315
|
-
logs?: Uint8Array[];
|
|
1316
|
-
receiverRewards?: number | bigint;
|
|
1317
|
-
senderRewards?: number | bigint;
|
|
1318
|
-
});
|
|
1319
|
-
static from_obj_for_encoding(data: Record<string, any>): PendingTransactionResponse;
|
|
1320
|
-
}
|
|
1321
|
-
/**
|
|
1322
|
-
* A potentially truncated list of transactions currently in the node's transaction
|
|
1323
|
-
* pool. You can compute whether or not the list is truncated if the number of
|
|
1324
|
-
* elements in the **top-transactions** array is fewer than **total-transactions**.
|
|
1325
|
-
*/
|
|
1326
|
-
export declare class PendingTransactionsResponse extends BaseModel {
|
|
1327
|
-
/**
|
|
1328
|
-
* An array of signed transaction objects.
|
|
1329
|
-
*/
|
|
1330
|
-
topTransactions: EncodedSignedTransaction[];
|
|
1331
|
-
/**
|
|
1332
|
-
* Total number of transactions in the pool.
|
|
1333
|
-
*/
|
|
1334
|
-
totalTransactions: number | bigint;
|
|
1335
|
-
/**
|
|
1336
|
-
* Creates a new `PendingTransactionsResponse` object.
|
|
1337
|
-
* @param topTransactions - An array of signed transaction objects.
|
|
1338
|
-
* @param totalTransactions - Total number of transactions in the pool.
|
|
1339
|
-
*/
|
|
1340
|
-
constructor(topTransactions: EncodedSignedTransaction[], totalTransactions: number | bigint);
|
|
1341
|
-
static from_obj_for_encoding(data: Record<string, any>): PendingTransactionsResponse;
|
|
1342
|
-
}
|
|
1343
|
-
/**
|
|
1344
|
-
* Transaction ID of the submission.
|
|
1345
|
-
*/
|
|
1346
|
-
export declare class PostTransactionsResponse extends BaseModel {
|
|
1347
|
-
/**
|
|
1348
|
-
* encoding of the transaction hash.
|
|
1349
|
-
*/
|
|
1350
|
-
txid: string;
|
|
1351
|
-
/**
|
|
1352
|
-
* Creates a new `PostTransactionsResponse` object.
|
|
1353
|
-
* @param txid - encoding of the transaction hash.
|
|
1354
|
-
*/
|
|
1355
|
-
constructor(txid: string);
|
|
1356
|
-
static from_obj_for_encoding(data: Record<string, any>): PostTransactionsResponse;
|
|
1357
|
-
}
|
|
1358
|
-
/**
|
|
1359
|
-
* Represents a state proof and its corresponding message
|
|
1360
|
-
*/
|
|
1361
|
-
export declare class StateProof extends BaseModel {
|
|
1362
|
-
/**
|
|
1363
|
-
* Represents the message that the state proofs are attesting to.
|
|
1364
|
-
*/
|
|
1365
|
-
message: StateProofMessage;
|
|
1366
|
-
/**
|
|
1367
|
-
* The encoded StateProof for the message.
|
|
1368
|
-
*/
|
|
1369
|
-
stateproof: Uint8Array;
|
|
1370
|
-
/**
|
|
1371
|
-
* Creates a new `StateProof` object.
|
|
1372
|
-
* @param message - Represents the message that the state proofs are attesting to.
|
|
1373
|
-
* @param stateproof - The encoded StateProof for the message.
|
|
1374
|
-
*/
|
|
1375
|
-
constructor(message: StateProofMessage, stateproof: string | Uint8Array);
|
|
1376
|
-
static from_obj_for_encoding(data: Record<string, any>): StateProof;
|
|
1377
|
-
}
|
|
1378
|
-
/**
|
|
1379
|
-
* Represents the message that the state proofs are attesting to.
|
|
1380
|
-
*/
|
|
1381
|
-
export declare class StateProofMessage extends BaseModel {
|
|
1382
|
-
/**
|
|
1383
|
-
* The vector commitment root on all light block headers within a state proof
|
|
1384
|
-
* interval.
|
|
1385
|
-
*/
|
|
1386
|
-
blockheaderscommitment: Uint8Array;
|
|
1387
|
-
/**
|
|
1388
|
-
* The first round the message attests to.
|
|
1389
|
-
*/
|
|
1390
|
-
firstattestedround: number | bigint;
|
|
1391
|
-
/**
|
|
1392
|
-
* The last round the message attests to.
|
|
1393
|
-
*/
|
|
1394
|
-
lastattestedround: number | bigint;
|
|
1395
|
-
/**
|
|
1396
|
-
* An integer value representing the natural log of the proven weight with 16 bits
|
|
1397
|
-
* of precision. This value would be used to verify the next state proof.
|
|
1398
|
-
*/
|
|
1399
|
-
lnprovenweight: number | bigint;
|
|
1400
|
-
/**
|
|
1401
|
-
* The vector commitment root of the top N accounts to sign the next StateProof.
|
|
1402
|
-
*/
|
|
1403
|
-
voterscommitment: Uint8Array;
|
|
1404
|
-
/**
|
|
1405
|
-
* Creates a new `StateProofMessage` object.
|
|
1406
|
-
* @param blockheaderscommitment - The vector commitment root on all light block headers within a state proof
|
|
1407
|
-
* interval.
|
|
1408
|
-
* @param firstattestedround - The first round the message attests to.
|
|
1409
|
-
* @param lastattestedround - The last round the message attests to.
|
|
1410
|
-
* @param lnprovenweight - An integer value representing the natural log of the proven weight with 16 bits
|
|
1411
|
-
* of precision. This value would be used to verify the next state proof.
|
|
1412
|
-
* @param voterscommitment - The vector commitment root of the top N accounts to sign the next StateProof.
|
|
1413
|
-
*/
|
|
1414
|
-
constructor({ blockheaderscommitment, firstattestedround, lastattestedround, lnprovenweight, voterscommitment, }: {
|
|
1415
|
-
blockheaderscommitment: string | Uint8Array;
|
|
1416
|
-
firstattestedround: number | bigint;
|
|
1417
|
-
lastattestedround: number | bigint;
|
|
1418
|
-
lnprovenweight: number | bigint;
|
|
1419
|
-
voterscommitment: string | Uint8Array;
|
|
1420
|
-
});
|
|
1421
|
-
static from_obj_for_encoding(data: Record<string, any>): StateProofMessage;
|
|
1422
|
-
}
|
|
1423
|
-
/**
|
|
1424
|
-
* Supply represents the current supply of MicroAlgos in the system.
|
|
1425
|
-
*/
|
|
1426
|
-
export declare class SupplyResponse extends BaseModel {
|
|
1427
|
-
/**
|
|
1428
|
-
* Round
|
|
1429
|
-
*/
|
|
1430
|
-
currentRound: number | bigint;
|
|
1431
|
-
/**
|
|
1432
|
-
* OnlineMoney
|
|
1433
|
-
*/
|
|
1434
|
-
onlineMoney: number | bigint;
|
|
1435
|
-
/**
|
|
1436
|
-
* TotalMoney
|
|
1437
|
-
*/
|
|
1438
|
-
totalMoney: number | bigint;
|
|
1439
|
-
/**
|
|
1440
|
-
* Creates a new `SupplyResponse` object.
|
|
1441
|
-
* @param currentRound - Round
|
|
1442
|
-
* @param onlineMoney - OnlineMoney
|
|
1443
|
-
* @param totalMoney - TotalMoney
|
|
1444
|
-
*/
|
|
1445
|
-
constructor(currentRound: number | bigint, onlineMoney: number | bigint, totalMoney: number | bigint);
|
|
1446
|
-
static from_obj_for_encoding(data: Record<string, any>): SupplyResponse;
|
|
1447
|
-
}
|
|
1448
|
-
/**
|
|
1449
|
-
* Represents a key-value pair in an application store.
|
|
1450
|
-
*/
|
|
1451
|
-
export declare class TealKeyValue extends BaseModel {
|
|
1452
|
-
key: string;
|
|
1453
|
-
/**
|
|
1454
|
-
* Represents a TEAL value.
|
|
1455
|
-
*/
|
|
1456
|
-
value: TealValue;
|
|
1457
|
-
/**
|
|
1458
|
-
* Creates a new `TealKeyValue` object.
|
|
1459
|
-
* @param key -
|
|
1460
|
-
* @param value - Represents a TEAL value.
|
|
1461
|
-
*/
|
|
1462
|
-
constructor(key: string, value: TealValue);
|
|
1463
|
-
static from_obj_for_encoding(data: Record<string, any>): TealKeyValue;
|
|
1464
|
-
}
|
|
1465
|
-
/**
|
|
1466
|
-
* Represents a TEAL value.
|
|
1467
|
-
*/
|
|
1468
|
-
export declare class TealValue extends BaseModel {
|
|
1469
|
-
/**
|
|
1470
|
-
* (tt) value type. Value `1` refers to **bytes**, value `2` refers to **uint**
|
|
1471
|
-
*/
|
|
1472
|
-
type: number | bigint;
|
|
1473
|
-
/**
|
|
1474
|
-
* (tb) bytes value.
|
|
1475
|
-
*/
|
|
1476
|
-
bytes: string;
|
|
1477
|
-
/**
|
|
1478
|
-
* (ui) uint value.
|
|
1479
|
-
*/
|
|
1480
|
-
uint: number | bigint;
|
|
1481
|
-
/**
|
|
1482
|
-
* Creates a new `TealValue` object.
|
|
1483
|
-
* @param type - (tt) value type. Value `1` refers to **bytes**, value `2` refers to **uint**
|
|
1484
|
-
* @param bytes - (tb) bytes value.
|
|
1485
|
-
* @param uint - (ui) uint value.
|
|
1486
|
-
*/
|
|
1487
|
-
constructor(type: number | bigint, bytes: string, uint: number | bigint);
|
|
1488
|
-
static from_obj_for_encoding(data: Record<string, any>): TealValue;
|
|
1489
|
-
}
|
|
1490
|
-
/**
|
|
1491
|
-
* TransactionParams contains the parameters that help a client construct a new
|
|
1492
|
-
* transaction.
|
|
1493
|
-
*/
|
|
1494
|
-
export declare class TransactionParametersResponse extends BaseModel {
|
|
1495
|
-
/**
|
|
1496
|
-
* ConsensusVersion indicates the consensus protocol version
|
|
1497
|
-
* as of LastRound.
|
|
1498
|
-
*/
|
|
1499
|
-
consensusVersion: string;
|
|
1500
|
-
/**
|
|
1501
|
-
* Fee is the suggested transaction fee
|
|
1502
|
-
* Fee is in units of micro-Algos per byte.
|
|
1503
|
-
* Fee may fall to zero but transactions must still have a fee of
|
|
1504
|
-
* at least MinTxnFee for the current network protocol.
|
|
1505
|
-
*/
|
|
1506
|
-
fee: number | bigint;
|
|
1507
|
-
/**
|
|
1508
|
-
* GenesisHash is the hash of the genesis block.
|
|
1509
|
-
*/
|
|
1510
|
-
genesisHash: Uint8Array;
|
|
1511
|
-
/**
|
|
1512
|
-
* GenesisID is an ID listed in the genesis block.
|
|
1513
|
-
*/
|
|
1514
|
-
genesisId: string;
|
|
1515
|
-
/**
|
|
1516
|
-
* LastRound indicates the last round seen
|
|
1517
|
-
*/
|
|
1518
|
-
lastRound: number | bigint;
|
|
1519
|
-
/**
|
|
1520
|
-
* The minimum transaction fee (not per byte) required for the
|
|
1521
|
-
* txn to validate for the current network protocol.
|
|
1522
|
-
*/
|
|
1523
|
-
minFee: number | bigint;
|
|
1524
|
-
/**
|
|
1525
|
-
* Creates a new `TransactionParametersResponse` object.
|
|
1526
|
-
* @param consensusVersion - ConsensusVersion indicates the consensus protocol version
|
|
1527
|
-
* as of LastRound.
|
|
1528
|
-
* @param fee - Fee is the suggested transaction fee
|
|
1529
|
-
* Fee is in units of micro-Algos per byte.
|
|
1530
|
-
* Fee may fall to zero but transactions must still have a fee of
|
|
1531
|
-
* at least MinTxnFee for the current network protocol.
|
|
1532
|
-
* @param genesisHash - GenesisHash is the hash of the genesis block.
|
|
1533
|
-
* @param genesisId - GenesisID is an ID listed in the genesis block.
|
|
1534
|
-
* @param lastRound - LastRound indicates the last round seen
|
|
1535
|
-
* @param minFee - The minimum transaction fee (not per byte) required for the
|
|
1536
|
-
* txn to validate for the current network protocol.
|
|
1537
|
-
*/
|
|
1538
|
-
constructor({ consensusVersion, fee, genesisHash, genesisId, lastRound, minFee, }: {
|
|
1539
|
-
consensusVersion: string;
|
|
1540
|
-
fee: number | bigint;
|
|
1541
|
-
genesisHash: string | Uint8Array;
|
|
1542
|
-
genesisId: string;
|
|
1543
|
-
lastRound: number | bigint;
|
|
1544
|
-
minFee: number | bigint;
|
|
1545
|
-
});
|
|
1546
|
-
static from_obj_for_encoding(data: Record<string, any>): TransactionParametersResponse;
|
|
1547
|
-
}
|
|
1548
|
-
/**
|
|
1549
|
-
* Proof of transaction in a block.
|
|
1550
|
-
*/
|
|
1551
|
-
export declare class TransactionProofResponse extends BaseModel {
|
|
1552
|
-
/**
|
|
1553
|
-
* Index of the transaction in the block's payset.
|
|
1554
|
-
*/
|
|
1555
|
-
idx: number | bigint;
|
|
1556
|
-
/**
|
|
1557
|
-
* Proof of transaction membership.
|
|
1558
|
-
*/
|
|
1559
|
-
proof: Uint8Array;
|
|
1560
|
-
/**
|
|
1561
|
-
* Hash of SignedTxnInBlock for verifying proof.
|
|
1562
|
-
*/
|
|
1563
|
-
stibhash: Uint8Array;
|
|
1564
|
-
/**
|
|
1565
|
-
* Represents the depth of the tree that is being proven, i.e. the number of edges
|
|
1566
|
-
* from a leaf to the root.
|
|
1567
|
-
*/
|
|
1568
|
-
treedepth: number | bigint;
|
|
1569
|
-
/**
|
|
1570
|
-
* The type of hash function used to create the proof, must be one of:
|
|
1571
|
-
* * sha512_256
|
|
1572
|
-
* * sha256
|
|
1573
|
-
*/
|
|
1574
|
-
hashtype?: string;
|
|
1575
|
-
/**
|
|
1576
|
-
* Creates a new `TransactionProofResponse` object.
|
|
1577
|
-
* @param idx - Index of the transaction in the block's payset.
|
|
1578
|
-
* @param proof - Proof of transaction membership.
|
|
1579
|
-
* @param stibhash - Hash of SignedTxnInBlock for verifying proof.
|
|
1580
|
-
* @param treedepth - Represents the depth of the tree that is being proven, i.e. the number of edges
|
|
1581
|
-
* from a leaf to the root.
|
|
1582
|
-
* @param hashtype - The type of hash function used to create the proof, must be one of:
|
|
1583
|
-
* * sha512_256
|
|
1584
|
-
* * sha256
|
|
1585
|
-
*/
|
|
1586
|
-
constructor({ idx, proof, stibhash, treedepth, hashtype, }: {
|
|
1587
|
-
idx: number | bigint;
|
|
1588
|
-
proof: string | Uint8Array;
|
|
1589
|
-
stibhash: string | Uint8Array;
|
|
1590
|
-
treedepth: number | bigint;
|
|
1591
|
-
hashtype?: string;
|
|
1592
|
-
});
|
|
1593
|
-
static from_obj_for_encoding(data: Record<string, any>): TransactionProofResponse;
|
|
1594
|
-
}
|
|
1595
|
-
/**
|
|
1596
|
-
* algod version information.
|
|
1597
|
-
*/
|
|
1598
|
-
export declare class Version extends BaseModel {
|
|
1599
|
-
build: BuildVersion;
|
|
1600
|
-
genesisHashB64: Uint8Array;
|
|
1601
|
-
genesisId: string;
|
|
1602
|
-
versions: string[];
|
|
1603
|
-
/**
|
|
1604
|
-
* Creates a new `Version` object.
|
|
1605
|
-
* @param build -
|
|
1606
|
-
* @param genesisHashB64 -
|
|
1607
|
-
* @param genesisId -
|
|
1608
|
-
* @param versions -
|
|
1609
|
-
*/
|
|
1610
|
-
constructor(build: BuildVersion, genesisHashB64: string | Uint8Array, genesisId: string, versions: string[]);
|
|
1611
|
-
static from_obj_for_encoding(data: Record<string, any>): Version;
|
|
1612
|
-
}
|