# Phantasma Py
## Python SimpleWallet Sample app
This is a simple wallet sample that needs to be connected to a RPC node. By default it uses the localhost:7077/rpc endpoint, but you can switch to your own URL.
To run the sample app, follow these steps:
1. Install "requests" module (Run "pip install requests" on command line inside app folder)
2. Run the sample app!
## Python VM Samples
The VM Module implements the following classes EventDecoder, ScriptBuilder and Transaction in order to provide support to:
- Decode TX events data.
Examples:
/Python/Samples/VMSamples/parsetxevents.py
- Create Scripts, Transactions and Sign them using HEX Private Key.
Examples:
/Python/Samples/VMSamples/transferFungible.py
/Python/Samples/VMSamples/transferNonFungible.py
# swagger-client
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
- API version: v1
- Package version: 1.0.0
- Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
For more information, please visit [https://phantasma.io](https://phantasma.io)
## Requirements.
Python 2.7 and 3.4+
## Installation & Usage
### pip install
If the python package is hosted on Github, you can install directly from Github
```sh
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
```
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
Then import the package:
```python
import swagger_client
```
### Setuptools
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
```sh
python setup.py install --user
```
(or `sudo python setup.py install` to install the package for all users)
Then import the package:
```python
import swagger_client
```
## Getting Started
Please follow the [installation procedure](#installation--usage) and then run the following:
```python
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.AccountApi(swagger_client.ApiClient(configuration))
account = 'account_example' # str | (optional)
try:
api_response = api_instance.api_v1_get_account_get(account=account)
pprint(api_response)
except ApiException as e:
print("Exception when calling AccountApi->api_v1_get_account_get: %s\n" % e)
# create an instance of the API class
api_instance = swagger_client.AccountApi(swagger_client.ApiClient(configuration))
account_text = 'account_text_example' # str | (optional)
try:
api_response = api_instance.api_v1_get_accounts_get(account_text=account_text)
pprint(api_response)
except ApiException as e:
print("Exception when calling AccountApi->api_v1_get_accounts_get: %s\n" % e)
# create an instance of the API class
api_instance = swagger_client.AccountApi(swagger_client.ApiClient(configuration))
symbol = 'symbol_example' # str | (optional)
extended = false # bool | (optional) (default to false)
try:
api_response = api_instance.api_v1_get_addresses_by_symbol_get(symbol=symbol, extended=extended)
pprint(api_response)
except ApiException as e:
print("Exception when calling AccountApi->api_v1_get_addresses_by_symbol_get: %s\n" % e)
# create an instance of the API class
api_instance = swagger_client.AccountApi(swagger_client.ApiClient(configuration))
name = 'name_example' # str | (optional)
try:
api_response = api_instance.api_v1_look_up_name_get(name=name)
pprint(api_response)
except ApiException as e:
print("Exception when calling AccountApi->api_v1_look_up_name_get: %s\n" % e)
```
## Documentation for API Endpoints
All URIs are relative to _/_
| Class | Method | HTTP request | Description |
| ----------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------- | ----------- |
| _AccountApi_ | [**api_v1_get_account_get**](docs/AccountApi.md#api_v1_get_account_get) | **GET** /api/v1/GetAccount |
| _AccountApi_ | [**api_v1_get_accounts_get**](docs/AccountApi.md#api_v1_get_accounts_get) | **GET** /api/v1/GetAccounts |
| _AccountApi_ | [**api_v1_get_addresses_by_symbol_get**](docs/AccountApi.md#api_v1_get_addresses_by_symbol_get) | **GET** /api/v1/GetAddressesBySymbol |
| _AccountApi_ | [**api_v1_look_up_name_get**](docs/AccountApi.md#api_v1_look_up_name_get) | **GET** /api/v1/LookUpName |
| _AuctionApi_ | [**api_v1_get_auction_get**](docs/AuctionApi.md#api_v1_get_auction_get) | **GET** /api/v1/GetAuction |
| _AuctionApi_ | [**api_v1_get_auctions_count_get**](docs/AuctionApi.md#api_v1_get_auctions_count_get) | **GET** /api/v1/GetAuctionsCount |
| _AuctionApi_ | [**api_v1_get_auctions_get**](docs/AuctionApi.md#api_v1_get_auctions_get) | **GET** /api/v1/GetAuctions |
| _BlockApi_ | [**api_v1_get_block_by_hash_get**](docs/BlockApi.md#api_v1_get_block_by_hash_get) | **GET** /api/v1/GetBlockByHash |
| _BlockApi_ | [**api_v1_get_block_by_height_get**](docs/BlockApi.md#api_v1_get_block_by_height_get) | **GET** /api/v1/GetBlockByHeight |
| _BlockApi_ | [**api_v1_get_block_height_get**](docs/BlockApi.md#api_v1_get_block_height_get) | **GET** /api/v1/GetBlockHeight |
| _BlockApi_ | [**api_v1_get_block_transaction_count_by_hash_get**](docs/BlockApi.md#api_v1_get_block_transaction_count_by_hash_get) | **GET** /api/v1/GetBlockTransactionCountByHash |
| _BlockApi_ | [**api_v1_get_latest_block_get**](docs/BlockApi.md#api_v1_get_latest_block_get) | **GET** /api/v1/GetLatestBlock |
| _BlockApi_ | [**api_v1_get_raw_block_by_hash_get**](docs/BlockApi.md#api_v1_get_raw_block_by_hash_get) | **GET** /api/v1/GetRawBlockByHash |
| _BlockApi_ | [**api_v1_get_raw_block_by_height_get**](docs/BlockApi.md#api_v1_get_raw_block_by_height_get) | **GET** /api/v1/GetRawBlockByHeight |
| _BlockApi_ | [**api_v1_get_raw_latest_block_get**](docs/BlockApi.md#api_v1_get_raw_latest_block_get) | **GET** /api/v1/GetRawLatestBlock |
| _ChainApi_ | [**api_v1_get_chains_get**](docs/ChainApi.md#api_v1_get_chains_get) | **GET** /api/v1/GetChains |
| _ConnectionApi_ | [**api_v1_abci_query_get**](docs/ConnectionApi.md#api_v1_abci_query_get) | **GET** /api/v1/abci_query |
| _ConnectionApi_ | [**api_v1_get_validators_settings_get**](docs/ConnectionApi.md#api_v1_get_validators_settings_get) | **GET** /api/v1/GetValidatorsSettings |
| _ConnectionApi_ | [**api_v1_health_get**](docs/ConnectionApi.md#api_v1_health_get) | **GET** /api/v1/health |
| _ConnectionApi_ | [**api_v1_net_info_get**](docs/ConnectionApi.md#api_v1_net_info_get) | **GET** /api/v1/net_info |
| _ConnectionApi_ | [**api_v1_request_block_get**](docs/ConnectionApi.md#api_v1_request_block_get) | **GET** /api/v1/request_block |
| _ConnectionApi_ | [**api_v1_status_get**](docs/ConnectionApi.md#api_v1_status_get) | **GET** /api/v1/status |
| _ContractApi_ | [**api_v1_get_contract_by_address_get**](docs/ContractApi.md#api_v1_get_contract_by_address_get) | **GET** /api/v1/GetContractByAddress |
| _ContractApi_ | [**api_v1_get_contract_get**](docs/ContractApi.md#api_v1_get_contract_get) | **GET** /api/v1/GetContract |
| _LeaderboardApi_ | [**api_v1_get_leaderboard_get**](docs/LeaderboardApi.md#api_v1_get_leaderboard_get) | **GET** /api/v1/GetLeaderboard |
| _NexusApi_ | [**api_v1_get_nexus_get**](docs/NexusApi.md#api_v1_get_nexus_get) | **GET** /api/v1/GetNexus |
| _OrganizationApi_ | [**api_v1_get_organization_by_name_get**](docs/OrganizationApi.md#api_v1_get_organization_by_name_get) | **GET** /api/v1/GetOrganizationByName |
| _OrganizationApi_ | [**api_v1_get_organization_get**](docs/OrganizationApi.md#api_v1_get_organization_get) | **GET** /api/v1/GetOrganization |
| _OrganizationApi_ | [**api_v1_get_organizations_get**](docs/OrganizationApi.md#api_v1_get_organizations_get) | **GET** /api/v1/GetOrganizations |
| _PlatformApi_ | [**api_v1_get_interop_get**](docs/PlatformApi.md#api_v1_get_interop_get) | **GET** /api/v1/GetInterop |
| _PlatformApi_ | [**api_v1_get_platform_get**](docs/PlatformApi.md#api_v1_get_platform_get) | **GET** /api/v1/GetPlatform |
| _PlatformApi_ | [**api_v1_get_platforms_get**](docs/PlatformApi.md#api_v1_get_platforms_get) | **GET** /api/v1/GetPlatforms |
| _RpcApi_ | [**rpc_post**](docs/RpcApi.md#rpc_post) | **POST** /rpc |
| _SaleApi_ | [**api_v1_get_latest_sale_hash_get**](docs/SaleApi.md#api_v1_get_latest_sale_hash_get) | **GET** /api/v1/GetLatestSaleHash |
| _SaleApi_ | [**api_v1_get_sale_get**](docs/SaleApi.md#api_v1_get_sale_get) | **GET** /api/v1/GetSale |
| _TokenApi_ | [**api_v1_get_nft_get**](docs/TokenApi.md#api_v1_get_nft_get) | **GET** /api/v1/GetNFT |
| _TokenApi_ | [**api_v1_get_nfts_get**](docs/TokenApi.md#api_v1_get_nfts_get) | **GET** /api/v1/GetNFTs |
| _TokenApi_ | [**api_v1_get_token_balance_get**](docs/TokenApi.md#api_v1_get_token_balance_get) | **GET** /api/v1/GetTokenBalance |
| _TokenApi_ | [**api_v1_get_token_data_get**](docs/TokenApi.md#api_v1_get_token_data_get) | **GET** /api/v1/GetTokenData |
| _TokenApi_ | [**api_v1_get_token_get**](docs/TokenApi.md#api_v1_get_token_get) | **GET** /api/v1/GetToken |
| _TokenApi_ | [**api_v1_get_tokens_get**](docs/TokenApi.md#api_v1_get_tokens_get) | **GET** /api/v1/GetTokens |
| _TransactionApi_ | [**api_v1_get_address_transaction_count_get**](docs/TransactionApi.md#api_v1_get_address_transaction_count_get) | **GET** /api/v1/GetAddressTransactionCount |
| _TransactionApi_ | [**api_v1_get_address_transactions_get**](docs/TransactionApi.md#api_v1_get_address_transactions_get) | **GET** /api/v1/GetAddressTransactions |
| _TransactionApi_ | [**api_v1_get_transaction_by_block_hash_and_index_get**](docs/TransactionApi.md#api_v1_get_transaction_by_block_hash_and_index_get) | **GET** /api/v1/GetTransactionByBlockHashAndIndex |
| _TransactionApi_ | [**api_v1_get_transaction_get**](docs/TransactionApi.md#api_v1_get_transaction_get) | **GET** /api/v1/GetTransaction |
| _TransactionApi_ | [**api_v1_invoke_raw_script_get**](docs/TransactionApi.md#api_v1_invoke_raw_script_get) | **GET** /api/v1/InvokeRawScript |
| _TransactionApi_ | [**api_v1_send_raw_transaction_get**](docs/TransactionApi.md#api_v1_send_raw_transaction_get) | **GET** /api/v1/SendRawTransaction |
| _ValidatorApi_ | [**api_v1_get_validators_get**](docs/ValidatorApi.md#api_v1_get_validators_get) | **GET** /api/v1/GetValidators |
| _ValidatorApi_ | [**api_v1_get_validators_type_get**](docs/ValidatorApi.md#api_v1_get_validators_type_get) | **GET** /api/v1/GetValidators/{type} |
## Documentation For Models
- [ABIEventResult](docs/ABIEventResult.md)
- [ABIMethodResult](docs/ABIMethodResult.md)
- [ABIParameterResult](docs/ABIParameterResult.md)
- [AccountResult](docs/AccountResult.md)
- [Address](docs/Address.md)
- [AddressKind](docs/AddressKind.md)
- [ArchiveResult](docs/ArchiveResult.md)
- [AuctionResult](docs/AuctionResult.md)
- [BalanceResult](docs/BalanceResult.md)
- [BlockResult](docs/BlockResult.md)
- [ChainResult](docs/ChainResult.md)
- [ContractResult](docs/ContractResult.md)
- [CrowdsaleResult](docs/CrowdsaleResult.md)
- [EventResult](docs/EventResult.md)
- [GovernanceResult](docs/GovernanceResult.md)
- [InteropResult](docs/InteropResult.md)
- [LeaderboardResult](docs/LeaderboardResult.md)
- [LeaderboardRowResult](docs/LeaderboardRowResult.md)
- [NetInfoPeer](docs/NetInfoPeer.md)
- [NetInfoPeerConnectionStatus](docs/NetInfoPeerConnectionStatus.md)
- [NetInfoPeerConnectionStatusChannel](docs/NetInfoPeerConnectionStatusChannel.md)
- [NetInfoPeerConnectionStatusMonitor](docs/NetInfoPeerConnectionStatusMonitor.md)
- [NexusResult](docs/NexusResult.md)
- [NodeInfo](docs/NodeInfo.md)
- [NodeInfoOther](docs/NodeInfoOther.md)
- [NodeInfoProtocolVersion](docs/NodeInfoProtocolVersion.md)
- [OracleResult](docs/OracleResult.md)
- [OrganizationResult](docs/OrganizationResult.md)
- [PaginatedResult](docs/PaginatedResult.md)
- [PlatformResult](docs/PlatformResult.md)
- [PubKey](docs/PubKey.md)
- [ResponseQuery](docs/ResponseQuery.md)
- [ResultAbciQuery](docs/ResultAbciQuery.md)
- [ResultHealth](docs/ResultHealth.md)
- [ResultNetInfo](docs/ResultNetInfo.md)
- [ResultStatus](docs/ResultStatus.md)
- [ResultStatusSyncInfo](docs/ResultStatusSyncInfo.md)
- [ResultStatusValidatorInfo](docs/ResultStatusValidatorInfo.md)
- [RpcRequest](docs/RpcRequest.md)
- [RpcResponse](docs/RpcResponse.md)
- [ScriptResult](docs/ScriptResult.md)
- [SignatureResult](docs/SignatureResult.md)
- [StakeResult](docs/StakeResult.md)
- [StorageResult](docs/StorageResult.md)
- [TokenDataResult](docs/TokenDataResult.md)
- [TokenExternalResult](docs/TokenExternalResult.md)
- [TokenPriceResult](docs/TokenPriceResult.md)
- [TokenPropertyResult](docs/TokenPropertyResult.md)
- [TokenResult](docs/TokenResult.md)
- [TokenSeriesResult](docs/TokenSeriesResult.md)
- [TransactionResult](docs/TransactionResult.md)
- [ValidatorResult](docs/ValidatorResult.md)
- [ValidatorSettings](docs/ValidatorSettings.md)
## Documentation For Authorization
All endpoints do not require authorization.
## Author
## Tests
Running the Test:
Run the test file directly in your terminal or command line.
You can also use a Python IDE that supports running unittest test cases.
If your project contains multiple test files, you can run all of them using a test discovery feature:
```bash
python -m unittest discover
python3 -m unittest src.phantasma_py.test
```
Raw data
{
"_id": null,
"home_page": "https://phantasma.io/",
"name": "phantasma-py",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "Swagger,Phantasma API",
"author": "",
"author_email": "info@phantasma.io",
"download_url": "https://files.pythonhosted.org/packages/87/37/9064da25bad8dd3f798c008ac932c062322b5d5424fa0d133cf15c4a666b/phantasma-py-1.0.9.tar.gz",
"platform": null,
"description": "# Phantasma Py\n\n## Python SimpleWallet Sample app\n\nThis is a simple wallet sample that needs to be connected to a RPC node. By default it uses the localhost:7077/rpc endpoint, but you can switch to your own URL.\n\nTo run the sample app, follow these steps:\n\n1. Install \"requests\" module (Run \"pip install requests\" on command line inside app folder)\n\n2. Run the sample app!\n\n## Python VM Samples\n\nThe VM Module implements the following classes EventDecoder, ScriptBuilder and Transaction in order to provide support to:\n\n- Decode TX events data.\n Examples:\n /Python/Samples/VMSamples/parsetxevents.py\n\n- Create Scripts, Transactions and Sign them using HEX Private Key.\n Examples:\n /Python/Samples/VMSamples/transferFungible.py\n /Python/Samples/VMSamples/transferNonFungible.py\n\n # swagger-client\n\n No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n\nThis Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:\n\n- API version: v1\n- Package version: 1.0.0\n- Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen\n For more information, please visit [https://phantasma.io](https://phantasma.io)\n\n## Requirements.\n\nPython 2.7 and 3.4+\n\n## Installation & Usage\n\n### pip install\n\nIf the python package is hosted on Github, you can install directly from Github\n\n```sh\npip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git\n```\n\n(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)\n\nThen import the package:\n\n```python\nimport swagger_client\n```\n\n### Setuptools\n\nInstall via [Setuptools](http://pypi.python.org/pypi/setuptools).\n\n```sh\npython setup.py install --user\n```\n\n(or `sudo python setup.py install` to install the package for all users)\n\nThen import the package:\n\n```python\nimport swagger_client\n```\n\n## Getting Started\n\nPlease follow the [installation procedure](#installation--usage) and then run the following:\n\n```python\nfrom __future__ import print_function\nimport time\nimport swagger_client\nfrom swagger_client.rest import ApiException\nfrom pprint import pprint\n\n# create an instance of the API class\napi_instance = swagger_client.AccountApi(swagger_client.ApiClient(configuration))\naccount = 'account_example' # str | (optional)\n\ntry:\n api_response = api_instance.api_v1_get_account_get(account=account)\n pprint(api_response)\nexcept ApiException as e:\n print(\"Exception when calling AccountApi->api_v1_get_account_get: %s\\n\" % e)\n\n# create an instance of the API class\napi_instance = swagger_client.AccountApi(swagger_client.ApiClient(configuration))\naccount_text = 'account_text_example' # str | (optional)\n\ntry:\n api_response = api_instance.api_v1_get_accounts_get(account_text=account_text)\n pprint(api_response)\nexcept ApiException as e:\n print(\"Exception when calling AccountApi->api_v1_get_accounts_get: %s\\n\" % e)\n\n# create an instance of the API class\napi_instance = swagger_client.AccountApi(swagger_client.ApiClient(configuration))\nsymbol = 'symbol_example' # str | (optional)\nextended = false # bool | (optional) (default to false)\n\ntry:\n api_response = api_instance.api_v1_get_addresses_by_symbol_get(symbol=symbol, extended=extended)\n pprint(api_response)\nexcept ApiException as e:\n print(\"Exception when calling AccountApi->api_v1_get_addresses_by_symbol_get: %s\\n\" % e)\n\n# create an instance of the API class\napi_instance = swagger_client.AccountApi(swagger_client.ApiClient(configuration))\nname = 'name_example' # str | (optional)\n\ntry:\n api_response = api_instance.api_v1_look_up_name_get(name=name)\n pprint(api_response)\nexcept ApiException as e:\n print(\"Exception when calling AccountApi->api_v1_look_up_name_get: %s\\n\" % e)\n```\n\n## Documentation for API Endpoints\n\nAll URIs are relative to _/_\n\n| Class | Method | HTTP request | Description |\n| ----------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------- | ----------- |\n| _AccountApi_ | [**api_v1_get_account_get**](docs/AccountApi.md#api_v1_get_account_get) | **GET** /api/v1/GetAccount |\n| _AccountApi_ | [**api_v1_get_accounts_get**](docs/AccountApi.md#api_v1_get_accounts_get) | **GET** /api/v1/GetAccounts |\n| _AccountApi_ | [**api_v1_get_addresses_by_symbol_get**](docs/AccountApi.md#api_v1_get_addresses_by_symbol_get) | **GET** /api/v1/GetAddressesBySymbol |\n| _AccountApi_ | [**api_v1_look_up_name_get**](docs/AccountApi.md#api_v1_look_up_name_get) | **GET** /api/v1/LookUpName |\n| _AuctionApi_ | [**api_v1_get_auction_get**](docs/AuctionApi.md#api_v1_get_auction_get) | **GET** /api/v1/GetAuction |\n| _AuctionApi_ | [**api_v1_get_auctions_count_get**](docs/AuctionApi.md#api_v1_get_auctions_count_get) | **GET** /api/v1/GetAuctionsCount |\n| _AuctionApi_ | [**api_v1_get_auctions_get**](docs/AuctionApi.md#api_v1_get_auctions_get) | **GET** /api/v1/GetAuctions |\n| _BlockApi_ | [**api_v1_get_block_by_hash_get**](docs/BlockApi.md#api_v1_get_block_by_hash_get) | **GET** /api/v1/GetBlockByHash |\n| _BlockApi_ | [**api_v1_get_block_by_height_get**](docs/BlockApi.md#api_v1_get_block_by_height_get) | **GET** /api/v1/GetBlockByHeight |\n| _BlockApi_ | [**api_v1_get_block_height_get**](docs/BlockApi.md#api_v1_get_block_height_get) | **GET** /api/v1/GetBlockHeight |\n| _BlockApi_ | [**api_v1_get_block_transaction_count_by_hash_get**](docs/BlockApi.md#api_v1_get_block_transaction_count_by_hash_get) | **GET** /api/v1/GetBlockTransactionCountByHash |\n| _BlockApi_ | [**api_v1_get_latest_block_get**](docs/BlockApi.md#api_v1_get_latest_block_get) | **GET** /api/v1/GetLatestBlock |\n| _BlockApi_ | [**api_v1_get_raw_block_by_hash_get**](docs/BlockApi.md#api_v1_get_raw_block_by_hash_get) | **GET** /api/v1/GetRawBlockByHash |\n| _BlockApi_ | [**api_v1_get_raw_block_by_height_get**](docs/BlockApi.md#api_v1_get_raw_block_by_height_get) | **GET** /api/v1/GetRawBlockByHeight |\n| _BlockApi_ | [**api_v1_get_raw_latest_block_get**](docs/BlockApi.md#api_v1_get_raw_latest_block_get) | **GET** /api/v1/GetRawLatestBlock |\n| _ChainApi_ | [**api_v1_get_chains_get**](docs/ChainApi.md#api_v1_get_chains_get) | **GET** /api/v1/GetChains |\n| _ConnectionApi_ | [**api_v1_abci_query_get**](docs/ConnectionApi.md#api_v1_abci_query_get) | **GET** /api/v1/abci_query |\n| _ConnectionApi_ | [**api_v1_get_validators_settings_get**](docs/ConnectionApi.md#api_v1_get_validators_settings_get) | **GET** /api/v1/GetValidatorsSettings |\n| _ConnectionApi_ | [**api_v1_health_get**](docs/ConnectionApi.md#api_v1_health_get) | **GET** /api/v1/health |\n| _ConnectionApi_ | [**api_v1_net_info_get**](docs/ConnectionApi.md#api_v1_net_info_get) | **GET** /api/v1/net_info |\n| _ConnectionApi_ | [**api_v1_request_block_get**](docs/ConnectionApi.md#api_v1_request_block_get) | **GET** /api/v1/request_block |\n| _ConnectionApi_ | [**api_v1_status_get**](docs/ConnectionApi.md#api_v1_status_get) | **GET** /api/v1/status |\n| _ContractApi_ | [**api_v1_get_contract_by_address_get**](docs/ContractApi.md#api_v1_get_contract_by_address_get) | **GET** /api/v1/GetContractByAddress |\n| _ContractApi_ | [**api_v1_get_contract_get**](docs/ContractApi.md#api_v1_get_contract_get) | **GET** /api/v1/GetContract |\n| _LeaderboardApi_ | [**api_v1_get_leaderboard_get**](docs/LeaderboardApi.md#api_v1_get_leaderboard_get) | **GET** /api/v1/GetLeaderboard |\n| _NexusApi_ | [**api_v1_get_nexus_get**](docs/NexusApi.md#api_v1_get_nexus_get) | **GET** /api/v1/GetNexus |\n| _OrganizationApi_ | [**api_v1_get_organization_by_name_get**](docs/OrganizationApi.md#api_v1_get_organization_by_name_get) | **GET** /api/v1/GetOrganizationByName |\n| _OrganizationApi_ | [**api_v1_get_organization_get**](docs/OrganizationApi.md#api_v1_get_organization_get) | **GET** /api/v1/GetOrganization |\n| _OrganizationApi_ | [**api_v1_get_organizations_get**](docs/OrganizationApi.md#api_v1_get_organizations_get) | **GET** /api/v1/GetOrganizations |\n| _PlatformApi_ | [**api_v1_get_interop_get**](docs/PlatformApi.md#api_v1_get_interop_get) | **GET** /api/v1/GetInterop |\n| _PlatformApi_ | [**api_v1_get_platform_get**](docs/PlatformApi.md#api_v1_get_platform_get) | **GET** /api/v1/GetPlatform |\n| _PlatformApi_ | [**api_v1_get_platforms_get**](docs/PlatformApi.md#api_v1_get_platforms_get) | **GET** /api/v1/GetPlatforms |\n| _RpcApi_ | [**rpc_post**](docs/RpcApi.md#rpc_post) | **POST** /rpc |\n| _SaleApi_ | [**api_v1_get_latest_sale_hash_get**](docs/SaleApi.md#api_v1_get_latest_sale_hash_get) | **GET** /api/v1/GetLatestSaleHash |\n| _SaleApi_ | [**api_v1_get_sale_get**](docs/SaleApi.md#api_v1_get_sale_get) | **GET** /api/v1/GetSale |\n| _TokenApi_ | [**api_v1_get_nft_get**](docs/TokenApi.md#api_v1_get_nft_get) | **GET** /api/v1/GetNFT |\n| _TokenApi_ | [**api_v1_get_nfts_get**](docs/TokenApi.md#api_v1_get_nfts_get) | **GET** /api/v1/GetNFTs |\n| _TokenApi_ | [**api_v1_get_token_balance_get**](docs/TokenApi.md#api_v1_get_token_balance_get) | **GET** /api/v1/GetTokenBalance |\n| _TokenApi_ | [**api_v1_get_token_data_get**](docs/TokenApi.md#api_v1_get_token_data_get) | **GET** /api/v1/GetTokenData |\n| _TokenApi_ | [**api_v1_get_token_get**](docs/TokenApi.md#api_v1_get_token_get) | **GET** /api/v1/GetToken |\n| _TokenApi_ | [**api_v1_get_tokens_get**](docs/TokenApi.md#api_v1_get_tokens_get) | **GET** /api/v1/GetTokens |\n| _TransactionApi_ | [**api_v1_get_address_transaction_count_get**](docs/TransactionApi.md#api_v1_get_address_transaction_count_get) | **GET** /api/v1/GetAddressTransactionCount |\n| _TransactionApi_ | [**api_v1_get_address_transactions_get**](docs/TransactionApi.md#api_v1_get_address_transactions_get) | **GET** /api/v1/GetAddressTransactions |\n| _TransactionApi_ | [**api_v1_get_transaction_by_block_hash_and_index_get**](docs/TransactionApi.md#api_v1_get_transaction_by_block_hash_and_index_get) | **GET** /api/v1/GetTransactionByBlockHashAndIndex |\n| _TransactionApi_ | [**api_v1_get_transaction_get**](docs/TransactionApi.md#api_v1_get_transaction_get) | **GET** /api/v1/GetTransaction |\n| _TransactionApi_ | [**api_v1_invoke_raw_script_get**](docs/TransactionApi.md#api_v1_invoke_raw_script_get) | **GET** /api/v1/InvokeRawScript |\n| _TransactionApi_ | [**api_v1_send_raw_transaction_get**](docs/TransactionApi.md#api_v1_send_raw_transaction_get) | **GET** /api/v1/SendRawTransaction |\n| _ValidatorApi_ | [**api_v1_get_validators_get**](docs/ValidatorApi.md#api_v1_get_validators_get) | **GET** /api/v1/GetValidators |\n| _ValidatorApi_ | [**api_v1_get_validators_type_get**](docs/ValidatorApi.md#api_v1_get_validators_type_get) | **GET** /api/v1/GetValidators/{type} |\n\n## Documentation For Models\n\n- [ABIEventResult](docs/ABIEventResult.md)\n- [ABIMethodResult](docs/ABIMethodResult.md)\n- [ABIParameterResult](docs/ABIParameterResult.md)\n- [AccountResult](docs/AccountResult.md)\n- [Address](docs/Address.md)\n- [AddressKind](docs/AddressKind.md)\n- [ArchiveResult](docs/ArchiveResult.md)\n- [AuctionResult](docs/AuctionResult.md)\n- [BalanceResult](docs/BalanceResult.md)\n- [BlockResult](docs/BlockResult.md)\n- [ChainResult](docs/ChainResult.md)\n- [ContractResult](docs/ContractResult.md)\n- [CrowdsaleResult](docs/CrowdsaleResult.md)\n- [EventResult](docs/EventResult.md)\n- [GovernanceResult](docs/GovernanceResult.md)\n- [InteropResult](docs/InteropResult.md)\n- [LeaderboardResult](docs/LeaderboardResult.md)\n- [LeaderboardRowResult](docs/LeaderboardRowResult.md)\n- [NetInfoPeer](docs/NetInfoPeer.md)\n- [NetInfoPeerConnectionStatus](docs/NetInfoPeerConnectionStatus.md)\n- [NetInfoPeerConnectionStatusChannel](docs/NetInfoPeerConnectionStatusChannel.md)\n- [NetInfoPeerConnectionStatusMonitor](docs/NetInfoPeerConnectionStatusMonitor.md)\n- [NexusResult](docs/NexusResult.md)\n- [NodeInfo](docs/NodeInfo.md)\n- [NodeInfoOther](docs/NodeInfoOther.md)\n- [NodeInfoProtocolVersion](docs/NodeInfoProtocolVersion.md)\n- [OracleResult](docs/OracleResult.md)\n- [OrganizationResult](docs/OrganizationResult.md)\n- [PaginatedResult](docs/PaginatedResult.md)\n- [PlatformResult](docs/PlatformResult.md)\n- [PubKey](docs/PubKey.md)\n- [ResponseQuery](docs/ResponseQuery.md)\n- [ResultAbciQuery](docs/ResultAbciQuery.md)\n- [ResultHealth](docs/ResultHealth.md)\n- [ResultNetInfo](docs/ResultNetInfo.md)\n- [ResultStatus](docs/ResultStatus.md)\n- [ResultStatusSyncInfo](docs/ResultStatusSyncInfo.md)\n- [ResultStatusValidatorInfo](docs/ResultStatusValidatorInfo.md)\n- [RpcRequest](docs/RpcRequest.md)\n- [RpcResponse](docs/RpcResponse.md)\n- [ScriptResult](docs/ScriptResult.md)\n- [SignatureResult](docs/SignatureResult.md)\n- [StakeResult](docs/StakeResult.md)\n- [StorageResult](docs/StorageResult.md)\n- [TokenDataResult](docs/TokenDataResult.md)\n- [TokenExternalResult](docs/TokenExternalResult.md)\n- [TokenPriceResult](docs/TokenPriceResult.md)\n- [TokenPropertyResult](docs/TokenPropertyResult.md)\n- [TokenResult](docs/TokenResult.md)\n- [TokenSeriesResult](docs/TokenSeriesResult.md)\n- [TransactionResult](docs/TransactionResult.md)\n- [ValidatorResult](docs/ValidatorResult.md)\n- [ValidatorSettings](docs/ValidatorSettings.md)\n\n## Documentation For Authorization\n\nAll endpoints do not require authorization.\n\n## Author\n\n## Tests\n\nRunning the Test:\n\nRun the test file directly in your terminal or command line.\nYou can also use a Python IDE that supports running unittest test cases.\nIf your project contains multiple test files, you can run all of them using a test discovery feature:\n\n```bash\npython -m unittest discover\n\npython3 -m unittest src.phantasma_py.test\n```\n\n\n",
"bugtrack_url": null,
"license": "",
"summary": "Phantasma SDK for Python",
"version": "1.0.9",
"project_urls": {
"Homepage": "https://phantasma.io/"
},
"split_keywords": [
"swagger",
"phantasma api"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "12cb09880a174959988e7a8038d1867e166568e1254198480318a5280e9c748a",
"md5": "a5f1ed14da3a398f39f6f40c23172de9",
"sha256": "78386ab0f3f480b1fcbd23770763f1ab214d606e0850138515e7fb02e15d6ed9"
},
"downloads": -1,
"filename": "phantasma_py-1.0.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a5f1ed14da3a398f39f6f40c23172de9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 163574,
"upload_time": "2023-12-13T10:38:28",
"upload_time_iso_8601": "2023-12-13T10:38:28.882864Z",
"url": "https://files.pythonhosted.org/packages/12/cb/09880a174959988e7a8038d1867e166568e1254198480318a5280e9c748a/phantasma_py-1.0.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "87379064da25bad8dd3f798c008ac932c062322b5d5424fa0d133cf15c4a666b",
"md5": "962440e4cc9aaa4c5f4be592d5e8fe89",
"sha256": "5def9e28d0fe59f24fd60a758224fa28a31502f69bf3283ea16207fbad7c2471"
},
"downloads": -1,
"filename": "phantasma-py-1.0.9.tar.gz",
"has_sig": false,
"md5_digest": "962440e4cc9aaa4c5f4be592d5e8fe89",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 81043,
"upload_time": "2023-12-13T10:38:30",
"upload_time_iso_8601": "2023-12-13T10:38:30.710708Z",
"url": "https://files.pythonhosted.org/packages/87/37/9064da25bad8dd3f798c008ac932c062322b5d5424fa0d133cf15c4a666b/phantasma-py-1.0.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-13 10:38:30",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "phantasma-py"
}