What's Changed
Breaking changes
- Remove v1 algod API (
client.algod) due to API end-of-life (2022-12-01). Instead, use v2 algod API (client.v2.algod.algod). - Remove
costfield inDryrunTxnResultin favor of 2 fields:budget-addedandbudget-consumed.costcan be derived bybudget-consumed - budget-added. - Remove logicsig templates (
logicTemplates),logic/langspec.json,logic.logicdepending onlangspec.json. - Regenerate algod models so every constructor requires an object to be passed in. Previously, only constructors with more than 4 argument specified this.
- Remove unused generated types:
CatchpointAbortResponse,CatchpointStartResponse. - Remove following methods in favor of the methods with
WithSuggestedParamssuffix:makePaymentTxn,makeKeyRegistrationTxn,makeAssetCreateTxn,makeAssetConfigTxn,makeAssetDestroyTxn,makeAssetFreezeTxn,makeAssetTransferTxn.
- Remove
makeLogicSigin favor of either usingLogicSigAccount(preferred) or directly invokingLogicSigconstructor. - Remove
EncodedMultisigBlobin favor ofEncodedSignedTransaction.
Full Changelog: v1.24.1...v2.0.0