Skip to content

Commit

Permalink
Generated SDK #3877
Browse files Browse the repository at this point in the history
  • Loading branch information
fireblocks_dx_team committed Jun 17, 2024
1 parent fc6fa95 commit 9e3f827
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
python-version: [3.8, 3.9, "3.10", 3.11, 3.12]
os: [macos-11, macos-12, windows-latest, ubuntu-20.04, ubuntu-22.04]
os: [macos-12, windows-latest, ubuntu-20.04, ubuntu-22.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions docs/BlockchainsAssetsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ No authorization required
Register an asset

Register a new asset to a workspace and return the newly created asset's details. Currently supported chains are: - EVM based chains - Stellar - Algorand - TRON - NEAR
Register a new asset to a workspace and return the newly created asset's details. Currently supported chains are: - EVM based chains - Stellar - Algorand - TRON - NEAR - Solana

### Example

Expand Down Expand Up @@ -151,7 +151,7 @@ No authorization required
| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | A new asset has been created successfully | - |
**400** | - Listing an asset on the requested blockchain is not supported. Error code: 1000 - The asset address is invalid. Error code: 1003 - Self serve listing an asset on the requested blockchain is currently not supported, please contact support. Error code: 1004 | - |
**400** | - Listing an asset on the requested blockchain is not supported. Error code: 1000 - The asset address is invalid. Error code: 1003 - Self serve listing an asset on the requested blockchain is currently not supported, please contact support. Error code: 1004 - Blockchain is deprecated. Error code: 1006 - The asset's standard is not supported. Error code: 1007 | - |
**403** | - The asset creation quota reached. Error code: 1005 | - |
**404** | - Invalid address, could not get asset information. Error code 1003 | - |
**409** | - The asset is already supported globally. Error code: 1001 - The asset has already been added to this workspace. Error code: 1002 | - |
Expand Down
2 changes: 1 addition & 1 deletion docs/RegisterNewAssetRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**blockchain_id** | **str** | Native asset ID of the blockchain |
**address** | **str** | Asset address. - For EVM based chains this should be the token contract address. - For Stellar (XLM) this should be the issuer address. - For Algorand (ALGO) this should be the asset ID. - For TRON (TRX) this should be the token contract address. - For NEAR this will be the token address. |
**address** | **str** | Asset address. - EVM-based chains: token contract address - Stellar (XLM): issuer address - Algorand (ALGO): asset ID - TRON (TRX): token contract address - NEAR: token address - Solana: token's mint account address |
**symbol** | **str** | Required for Stellar only, asset code is expected. | [optional]

## Example
Expand Down
2 changes: 1 addition & 1 deletion fireblocks/api/blockchains_assets_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def register_new_asset(
) -> Future[ApiResponse[AssetResponse]]:
"""Register an asset
Register a new asset to a workspace and return the newly created asset's details. Currently supported chains are: - EVM based chains - Stellar - Algorand - TRON - NEAR
Register a new asset to a workspace and return the newly created asset's details. Currently supported chains are: - EVM based chains - Stellar - Algorand - TRON - NEAR - Solana
:param idempotency_key: A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
:type idempotency_key: str
Expand Down
2 changes: 1 addition & 1 deletion fireblocks/models/register_new_asset_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class RegisterNewAssetRequest(BaseModel):
RegisterNewAssetRequest
""" # noqa: E501
blockchain_id: StrictStr = Field(description="Native asset ID of the blockchain", alias="blockchainId")
address: StrictStr = Field(description="Asset address. - For EVM based chains this should be the token contract address. - For Stellar (XLM) this should be the issuer address. - For Algorand (ALGO) this should be the asset ID. - For TRON (TRX) this should be the token contract address. - For NEAR this will be the token address. ")
address: StrictStr = Field(description="Asset address. - EVM-based chains: token contract address - Stellar (XLM): issuer address - Algorand (ALGO): asset ID - TRON (TRX): token contract address - NEAR: token address - Solana: token's mint account address ")
symbol: Optional[StrictStr] = Field(default=None, description="Required for Stellar only, asset code is expected.")
__properties: ClassVar[List[str]] = ["blockchainId", "address", "symbol"]

Expand Down

0 comments on commit 9e3f827

Please sign in to comment.