Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
# Change Log

## v0.3.0-beta - May 7, 2025
* Added new endpoints methods :
* get_assets_issuances(): Returns a list of issued assets.
* get_assets_issuances_by_index() : Returns an asset issuance by universe index
* get_ownerships_assets(): Returns a list of asset owners. Asset name and issuer are required. Issuer defaults to zero address.
* get_ownerships_assets_by_index(): Returns an asset ownership by universe index.
* get_assets_possessions(): Returns a list of asset possessors. Asset name and issuer are required. Issuer defaults to zero address.
* get_assets_possessions_by_index(): Returns an asset possession by universe index.
* get_assets_owners_per_asset(): Returns the asset owners per asset
* Added a function to check the input index and validate before making the query.
* Added more information to the response returned by the get_rich_list method, such as epoch, tick and more.
* Added new exceptions to handle new errors.
* Fixed get_rich_list method test.

## v0.2.6-beta - December 26, 2024
* Added a check function to verify and validate the wallet ID before making a call to the Qubic network
* Optimized network calls by preventing invalid requests
Expand Down
15 changes: 15 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
# Change Log

## v0.3.0-beta - May 7, 2025
* Added new endpoints methods :
* get_assets_issuances(): Returns a list of issued assets.
* get_assets_issuances_by_index() : Returns an asset issuance by universe index
* get_ownerships_assets(): Returns a list of asset owners. Asset name and issuer are required. Issuer defaults to zero address.
* get_ownerships_assets_by_index(): Returns an asset ownership by universe index.
* get_assets_possessions(): Returns a list of asset possessors. Asset name and issuer are required. Issuer defaults to zero address.
* get_assets_possessions_by_index(): Returns an asset possession by universe index.
* get_assets_owners_per_asset(): Returns the asset owners per asset
* Added a function to check the input index and validate before making the query.
* Added more information to the response returned by the get_rich_list method, such as epoch, tick and more.
* Added new exceptions to handle new errors.
* Fixed get_rich_list method test.

## v0.2.6-beta - December 26, 2024
* Added a check function to verify and validate the wallet ID before making a call to the Qubic network
* Optimized network calls by preventing invalid requests
Expand Down
18 changes: 17 additions & 1 deletion qubipy/endpoints_rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,20 @@

LATEST_STATS = '/latest-stats'

RICH_LIST = '/rich-list'
RICH_LIST = '/rich-list'

# Testing

ASSETS_ISSUANCE = '/assets/issuances'

ASSETS_ISSUANCE_INDEX = '/assets/issuances/{index}'

ASSETS_OWNERSHIPS = '/assets/ownerships'

ASSETS_OWNERSHIPS_INDEX = '/assets/ownerships/{index}'

ASSETS_POSSESSIONS = '/assets/possessions'

ASSETS_POSSESSIONS_INDEX = '/assets/possessions/{index}'

ASSETS_OWNERS = '/issuers/{issuer_identity}/assets/{asset_name}/owners'
6 changes: 6 additions & 0 deletions qubipy/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,9 @@ class QubiPy_Exceptions(Exception):

INVALID_TX_BYTES = "A bytes-like object is required for broadcasting a transaction"

INVALID_INDEX = "You must enter a valid index."

INVALID_ASSET_NAME = "You must at least indicate the name of the asset, for example 'MLM'."

INVALID_IDENTITY_ASSET = "You must enter a valid ID and a valid asset name."

Loading