All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Made
TaggedDataPayload::{tag, data}
optional;
- Optional
max_parallel_api_requests
toClient
constructor; Utils::{verify_transaction_syntax(), block_bytes(), block_hash_without_nonce()}
;NodeInfoProtocol.belowMaxDepth
;{NodeInfoProtocol, RentStructure}::as_dict()
;
TransactionOptions::as_dict()
for remainder_value_strategy;Wallet::client_options
typing;
Utils::verify_transaction_semantic()
;Account::prepare_claim_outputs()
method;
- Missing
init_logger
export; Client::build_and_post_block()
with custom input range;
Utils::transaction_id()
;py.typed
file to the package;
Range
type instead ofrange
method inGenerateAddressesOptions
init;Dict
type instead ofdict
method inIrc27Metadata
init;
Stable release.
ConflictReason
display implementation with an explanation of the conflict;Account::{burn(), consolidate_outputs(), create_alias_output(), create_native_token(), melt_native_token(), mint_native_token(), mint_nfts(), send_transaction(), send_native_tokens(), send_nft()}
methods;Irc27Metadata
andIrc30Metadata
helpers;Client::output_ids()
method;QueryParameter::unlockable_by_address
field;
- Wheel upload;
ClientOptions::maxParallelApiRequests
;
- Replaced
|
withUnion
type for Python 3.9 compatibility;
Utils::parse_bech32_address()
;
- Ledger Nano events properly created when preparing transactions;
Account::prepare_output()
whenReturnStrategy.Gift
is used;
ConsolidationParams
type;
Account::prepare_consolidate_outputs
takes aConsolidationParams
;- Utils
compute_token_id
andcompute_foundry_id
paramtoken_scheme_kind
renamed totoken_scheme_type
;
Account::prepare_output()
deserialization;Client::build_alias_output()
,Client::build_nft_output()
,Client::build_basic_output
,Client::build_foundry_output
returned type of object;
Account::get_metadata()
;Bip44
type;SendParams, SendNativeTokensParams, SendNftParams, CreateNativeTokenParams, MintNftParams, CreateAliasOutputParams, OutputParams, Assets, Features, Unlocks, ReturnStrategy, StorageDeposit
;AccountAddress, AddressWithUnspentOutputs
;FilterOptions
;NetworkInfo
;ClientOptions, MqttBrokerOptions, Duration
;- Optional
addresses
parameter inWallet::create_account()
; UtxoInput, TreasuryInput
;RegularTransactionEssence
;Unlock
types;PreparedTransactionData, SignedTransactionData, InputSigningData, RemainderData
;UtxoChanges
;TreasuryOutput, BasicOutput, AliasOutput, FoundryOutput, NftOutput
;TokenScheme
;Signature
;BlockBuilderOptions
;
- Moved
minimum_required_storage_deposit()
fromAccount
toClient
; Wallet::create_account()
returnsAccount
now;SecretManager::{sign_ed25519, sign_secp256k1_ecdsa, signature_unlock}
now acceptBip44
type chains;- Renamed
SendParams
toAddressAndAmount
; Account::prepare_create_alias_output()
now acceptsCreateAliasOutputParams
;Account::prepare_create_native_token()
now acceptsCreateNativeTokenParams
;Account::prepare_mint_nfts()
now acceptsMintNftParams
;Account::prepare_send()
now acceptsSendParams
;Account::prepare_transaction()
now acceptsOutput
;Account::send()
now acceptsSendParams
;Account::prepare_send_native_tokens()
now acceptsSendNativeTokensParams
;Account::prepare_send_nft()
now acceptsSendNftParams
;Account::send_outputs()
now acceptsOutput
;Account::{generate_ed25519_addresses(), addresses()}
now returnAccountAddress
;Account::addresses_with_unspent_outputs()
now returnsAddressWithUnspentOutputs
;Account::prepare_output()
now returnsOutput
;Wallet::get_accounts()
now returnsList[Account]
;OutputData.chain
now isOptional[Bip44]
;Wallet()
constructor andWallet::set_client_options()
now acceptClientOptions
;- Split
Account::send()
intosend
andsend_with_params
; - Switched order of
AddressAndAmount
init params; - Renamed
PreparedTransactionData
toPreparedTransaction
; {Client, SecretManager}::sign_transaction
return type fromSignedTransactionData
toTransactionPayload
;- Split
Output
into multiple classes; - Renamed
TokenScheme
toSimpleTokenScheme
;
Wallet::{generate_mnemonic(), verify_mnemonic()}
since they're available fromUtils
;HD_WALLET_TYPE
,HARDEN_MASK
constants;Client::find_outputs()
method;
- Serialization for wallet methods;
Initial release of the Python SDK bindings.