rango-basic-sdk 0.0.6__tar.gz → 0.0.7__tar.gz
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.
- {rango_basic_sdk-0.0.6 → rango_basic_sdk-0.0.7}/PKG-INFO +1 -1
- {rango_basic_sdk-0.0.6 → rango_basic_sdk-0.0.7}/pyproject.toml +1 -1
- {rango_basic_sdk-0.0.6 → rango_basic_sdk-0.0.7}/rango_basic_sdk/__init__.py +1 -1
- {rango_basic_sdk-0.0.6 → rango_basic_sdk-0.0.7}/rango_basic_sdk/models.py +61 -74
- {rango_basic_sdk-0.0.6 → rango_basic_sdk-0.0.7}/.gitignore +0 -0
- {rango_basic_sdk-0.0.6 → rango_basic_sdk-0.0.7}/LICENSE +0 -0
- {rango_basic_sdk-0.0.6 → rango_basic_sdk-0.0.7}/README.md +0 -0
- {rango_basic_sdk-0.0.6 → rango_basic_sdk-0.0.7}/rango_basic_sdk/client.py +0 -0
- {rango_basic_sdk-0.0.6 → rango_basic_sdk-0.0.7}/rango_basic_sdk/py.typed +0 -0
- {rango_basic_sdk-0.0.6 → rango_basic_sdk-0.0.7}/requirements.txt +0 -0
- {rango_basic_sdk-0.0.6 → rango_basic_sdk-0.0.7}/ttt.py +0 -0
|
@@ -714,10 +714,6 @@ class TronTransaction(BaseClientModel):
|
|
|
714
714
|
type_: str = Field(alias="type")
|
|
715
715
|
|
|
716
716
|
|
|
717
|
-
class TrxContractWrapperParameterValue(BaseClientModel):
|
|
718
|
-
type_: str = Field(alias="type")
|
|
719
|
-
|
|
720
|
-
|
|
721
717
|
class AssetBalance(BaseClientModel):
|
|
722
718
|
"""Balance of Asset in specified wallet"""
|
|
723
719
|
|
|
@@ -1063,11 +1059,16 @@ class TransferMetaInfo(AbstractBlockchainMetaInfo):
|
|
|
1063
1059
|
pass
|
|
1064
1060
|
|
|
1065
1061
|
|
|
1066
|
-
class
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
)
|
|
1062
|
+
class TrxRawData(BaseClientModel):
|
|
1063
|
+
"""Raw data of TrxTransaction"""
|
|
1064
|
+
|
|
1065
|
+
contract: List[Any] = Field(alias="contract")
|
|
1066
|
+
data: Optional[str] = Field(default=None, alias="data")
|
|
1067
|
+
expiration: int = Field(alias="expiration")
|
|
1068
|
+
fee_limit: Optional[int] = Field(default=None, alias="fee_limit")
|
|
1069
|
+
ref_block_bytes: str = Field(alias="ref_block_bytes")
|
|
1070
|
+
ref_block_hash: str = Field(alias="ref_block_hash")
|
|
1071
|
+
timestamp: int = Field(alias="timestamp")
|
|
1071
1072
|
|
|
1072
1073
|
|
|
1073
1074
|
class XRPLMetaInfo(AbstractBlockchainMetaInfo):
|
|
@@ -1244,11 +1245,6 @@ class StellarTransactionData(BaseClientModel):
|
|
|
1244
1245
|
)
|
|
1245
1246
|
|
|
1246
1247
|
|
|
1247
|
-
class TrxContractWrapper(BaseClientModel):
|
|
1248
|
-
parameter: TrxContractWrapperParameter = Field(alias="parameter")
|
|
1249
|
-
type_: str = Field(alias="type")
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
1248
|
class WalletDetails(BaseClientModel):
|
|
1253
1249
|
"""A wallet's details"""
|
|
1254
1250
|
|
|
@@ -1460,6 +1456,54 @@ class BasicApiStarkNetTransaction(GenericTransaction):
|
|
|
1460
1456
|
)
|
|
1461
1457
|
|
|
1462
1458
|
|
|
1459
|
+
class BasicApiTrxTransaction(GenericTransaction):
|
|
1460
|
+
payload: Optional[Any] = Field(
|
|
1461
|
+
default=None,
|
|
1462
|
+
alias="__payload__",
|
|
1463
|
+
description="the payload data for transaction",
|
|
1464
|
+
)
|
|
1465
|
+
approve_tx_id: Optional[str] = Field(
|
|
1466
|
+
default=None,
|
|
1467
|
+
alias="approveTxID",
|
|
1468
|
+
description="the txID data for approve transaction",
|
|
1469
|
+
)
|
|
1470
|
+
approve_visible: Optional[bool] = Field(
|
|
1471
|
+
default=None,
|
|
1472
|
+
alias="approveVisible",
|
|
1473
|
+
description="the visible data for approve transaction",
|
|
1474
|
+
)
|
|
1475
|
+
approve_payload: Optional[Any] = Field(
|
|
1476
|
+
default=None,
|
|
1477
|
+
alias="approve_payload",
|
|
1478
|
+
description="the payload data for approve transaction",
|
|
1479
|
+
)
|
|
1480
|
+
approve_raw_data: Optional[TrxRawData] = Field(
|
|
1481
|
+
default=None, alias="approve_raw_data", description="Raw data of TrxTransaction"
|
|
1482
|
+
)
|
|
1483
|
+
approve_raw_data_hex: Optional[str] = Field(
|
|
1484
|
+
default=None,
|
|
1485
|
+
alias="approve_raw_data_hex",
|
|
1486
|
+
description="The hex data for approve transaction",
|
|
1487
|
+
)
|
|
1488
|
+
block_chain: BasicApiBlockchainMetaSummary = Field(
|
|
1489
|
+
alias="blockChain", description="Blockchain metadata"
|
|
1490
|
+
)
|
|
1491
|
+
raw_data: Optional[TrxRawData] = Field(
|
|
1492
|
+
default=None, alias="raw_data", description="Raw data of TrxTransaction"
|
|
1493
|
+
)
|
|
1494
|
+
raw_data_hex: Optional[str] = Field(
|
|
1495
|
+
default=None,
|
|
1496
|
+
alias="raw_data_hex",
|
|
1497
|
+
description="The hex data for smart contract call",
|
|
1498
|
+
)
|
|
1499
|
+
tx_id: str = Field(
|
|
1500
|
+
alias="txID", description="the txID data for smart contract call"
|
|
1501
|
+
)
|
|
1502
|
+
visible: bool = Field(
|
|
1503
|
+
alias="visible", description="the visible data for smart contract call"
|
|
1504
|
+
)
|
|
1505
|
+
|
|
1506
|
+
|
|
1463
1507
|
class CosmosTransaction(GenericTransaction):
|
|
1464
1508
|
block_chain: Blockchain = Field(
|
|
1465
1509
|
alias="blockChain",
|
|
@@ -1603,6 +1647,9 @@ class TransferTransaction(GenericTransaction):
|
|
|
1603
1647
|
asset: AssetWithTicker = Field(
|
|
1604
1648
|
alias="asset", description="An asset with its ticker"
|
|
1605
1649
|
)
|
|
1650
|
+
block_chain: Blockchain = Field(
|
|
1651
|
+
alias="blockChain", description="Blockchain of asset"
|
|
1652
|
+
)
|
|
1606
1653
|
decimals: int = Field(alias="decimals", description="The decimals of the asset")
|
|
1607
1654
|
from_wallet_address: str = Field(
|
|
1608
1655
|
alias="fromWalletAddress",
|
|
@@ -1633,18 +1680,6 @@ class TransferTransaction(GenericTransaction):
|
|
|
1633
1680
|
)
|
|
1634
1681
|
|
|
1635
1682
|
|
|
1636
|
-
class TrxRawData(BaseClientModel):
|
|
1637
|
-
"""Raw data of TrxTransaction"""
|
|
1638
|
-
|
|
1639
|
-
contract: List[TrxContractWrapper] = Field(alias="contract")
|
|
1640
|
-
data: str = Field(alias="data")
|
|
1641
|
-
expiration: int = Field(alias="expiration")
|
|
1642
|
-
fee_limit: Optional[int] = Field(default=None, alias="fee_limit")
|
|
1643
|
-
ref_block_bytes: str = Field(alias="ref_block_bytes")
|
|
1644
|
-
ref_block_hash: str = Field(alias="ref_block_hash")
|
|
1645
|
-
timestamp: int = Field(alias="timestamp")
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
1683
|
class WalletDetailsResponse(BaseClientModel):
|
|
1649
1684
|
"""A list of wallets details"""
|
|
1650
1685
|
|
|
@@ -1697,54 +1732,6 @@ class BasicApiQuoteResponse(BaseClientModel):
|
|
|
1697
1732
|
)
|
|
1698
1733
|
|
|
1699
1734
|
|
|
1700
|
-
class BasicApiTrxTransaction(GenericTransaction):
|
|
1701
|
-
payload: Optional[Any] = Field(
|
|
1702
|
-
default=None,
|
|
1703
|
-
alias="__payload__",
|
|
1704
|
-
description="the payload data for transaction",
|
|
1705
|
-
)
|
|
1706
|
-
approve_tx_id: Optional[str] = Field(
|
|
1707
|
-
default=None,
|
|
1708
|
-
alias="approveTxID",
|
|
1709
|
-
description="the txID data for approve transaction",
|
|
1710
|
-
)
|
|
1711
|
-
approve_visible: Optional[bool] = Field(
|
|
1712
|
-
default=None,
|
|
1713
|
-
alias="approveVisible",
|
|
1714
|
-
description="the visible data for approve transaction",
|
|
1715
|
-
)
|
|
1716
|
-
approve_payload: Optional[Any] = Field(
|
|
1717
|
-
default=None,
|
|
1718
|
-
alias="approve_payload",
|
|
1719
|
-
description="the payload data for approve transaction",
|
|
1720
|
-
)
|
|
1721
|
-
approve_raw_data: Optional[TrxRawData] = Field(
|
|
1722
|
-
default=None, alias="approve_raw_data", description="Raw data of TrxTransaction"
|
|
1723
|
-
)
|
|
1724
|
-
approve_raw_data_hex: Optional[str] = Field(
|
|
1725
|
-
default=None,
|
|
1726
|
-
alias="approve_raw_data_hex",
|
|
1727
|
-
description="The hex data for approve transaction",
|
|
1728
|
-
)
|
|
1729
|
-
block_chain: BasicApiBlockchainMetaSummary = Field(
|
|
1730
|
-
alias="blockChain", description="Blockchain metadata"
|
|
1731
|
-
)
|
|
1732
|
-
raw_data: Optional[TrxRawData] = Field(
|
|
1733
|
-
default=None, alias="raw_data", description="Raw data of TrxTransaction"
|
|
1734
|
-
)
|
|
1735
|
-
raw_data_hex: Optional[str] = Field(
|
|
1736
|
-
default=None,
|
|
1737
|
-
alias="raw_data_hex",
|
|
1738
|
-
description="The hex data for smart contract call",
|
|
1739
|
-
)
|
|
1740
|
-
tx_id: str = Field(
|
|
1741
|
-
alias="txID", description="the txID data for smart contract call"
|
|
1742
|
-
)
|
|
1743
|
-
visible: bool = Field(
|
|
1744
|
-
alias="visible", description="the visible data for smart contract call"
|
|
1745
|
-
)
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
1735
|
class BasicApiSwapResponse(BaseClientModel):
|
|
1749
1736
|
"""Swap response"""
|
|
1750
1737
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|