All URIs are relative to http://localhost:36911
| Method | HTTP request | Description |
|---|---|---|
| download_daemon | POST /blockchain/lethean/daemon/downloadDaemon | |
| export_blockchain | POST /blockchain/lethean/daemon/export | |
| import_blockchain | POST /blockchain/lethean/daemon/import | |
| json_rpc | POST /blockchain/lethean/daemon/json_rpc | |
| start_daemon | POST /blockchain/lethean/daemon/start | |
| start_wallet | POST /blockchain/lethean/wallet/start | |
| wallet_json_rpc | POST /blockchain/lethean/wallet/json_rpc |
download_daemon(body)
import dappserver_server_sdk
from dappserver_server_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:36911
# See configuration.py for a list of all supported configuration parameters.
configuration = dappserver_server_sdk.Configuration(
host = "http://localhost:36911"
)
# Enter a context with an instance of the API client
with dappserver_server_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dappserver_server_sdk.BlockchainApi(api_client)
body = None # object |
try:
api_instance.download_daemon(body)
except Exception as e:
print("Exception when calling BlockchainApi->download_daemon: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| body | object |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
export_blockchain(body)
import dappserver_server_sdk
from dappserver_server_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:36911
# See configuration.py for a list of all supported configuration parameters.
configuration = dappserver_server_sdk.Configuration(
host = "http://localhost:36911"
)
# Enter a context with an instance of the API client
with dappserver_server_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dappserver_server_sdk.BlockchainApi(api_client)
body = None # object |
try:
api_instance.export_blockchain(body)
except Exception as e:
print("Exception when calling BlockchainApi->export_blockchain: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| body | object |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
import_blockchain(body)
import dappserver_server_sdk
from dappserver_server_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:36911
# See configuration.py for a list of all supported configuration parameters.
configuration = dappserver_server_sdk.Configuration(
host = "http://localhost:36911"
)
# Enter a context with an instance of the API client
with dappserver_server_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dappserver_server_sdk.BlockchainApi(api_client)
body = None # object |
try:
api_instance.import_blockchain(body)
except Exception as e:
print("Exception when calling BlockchainApi->import_blockchain: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| body | object |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str json_rpc(blockchain_lethean_rpcdto)
import dappserver_server_sdk
from dappserver_server_sdk.models.blockchain_lethean_rpcdto import BlockchainLetheanRPCDTO
from dappserver_server_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:36911
# See configuration.py for a list of all supported configuration parameters.
configuration = dappserver_server_sdk.Configuration(
host = "http://localhost:36911"
)
# Enter a context with an instance of the API client
with dappserver_server_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dappserver_server_sdk.BlockchainApi(api_client)
blockchain_lethean_rpcdto = dappserver_server_sdk.BlockchainLetheanRPCDTO() # BlockchainLetheanRPCDTO |
try:
api_response = api_instance.json_rpc(blockchain_lethean_rpcdto)
print("The response of BlockchainApi->json_rpc:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling BlockchainApi->json_rpc: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| blockchain_lethean_rpcdto | BlockchainLetheanRPCDTO |
str
No authorization required
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ServerResponse start_daemon(blockchain_lethean_daemon_start_dto)
import dappserver_server_sdk
from dappserver_server_sdk.models.blockchain_lethean_daemon_start_dto import BlockchainLetheanDaemonStartDTO
from dappserver_server_sdk.models.server_response import ServerResponse
from dappserver_server_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:36911
# See configuration.py for a list of all supported configuration parameters.
configuration = dappserver_server_sdk.Configuration(
host = "http://localhost:36911"
)
# Enter a context with an instance of the API client
with dappserver_server_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dappserver_server_sdk.BlockchainApi(api_client)
blockchain_lethean_daemon_start_dto = dappserver_server_sdk.BlockchainLetheanDaemonStartDTO() # BlockchainLetheanDaemonStartDTO |
try:
api_response = api_instance.start_daemon(blockchain_lethean_daemon_start_dto)
print("The response of BlockchainApi->start_daemon:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling BlockchainApi->start_daemon: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| blockchain_lethean_daemon_start_dto | BlockchainLetheanDaemonStartDTO |
No authorization required
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
start_wallet(blockchain_lethean_wallet_start_dto)
import dappserver_server_sdk
from dappserver_server_sdk.models.blockchain_lethean_wallet_start_dto import BlockchainLetheanWalletStartDTO
from dappserver_server_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:36911
# See configuration.py for a list of all supported configuration parameters.
configuration = dappserver_server_sdk.Configuration(
host = "http://localhost:36911"
)
# Enter a context with an instance of the API client
with dappserver_server_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dappserver_server_sdk.BlockchainApi(api_client)
blockchain_lethean_wallet_start_dto = dappserver_server_sdk.BlockchainLetheanWalletStartDTO() # BlockchainLetheanWalletStartDTO |
try:
api_instance.start_wallet(blockchain_lethean_wallet_start_dto)
except Exception as e:
print("Exception when calling BlockchainApi->start_wallet: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| blockchain_lethean_wallet_start_dto | BlockchainLetheanWalletStartDTO |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str wallet_json_rpc(body)
import dappserver_server_sdk
from dappserver_server_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:36911
# See configuration.py for a list of all supported configuration parameters.
configuration = dappserver_server_sdk.Configuration(
host = "http://localhost:36911"
)
# Enter a context with an instance of the API client
with dappserver_server_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dappserver_server_sdk.BlockchainApi(api_client)
body = None # object |
try:
api_response = api_instance.wallet_json_rpc(body)
print("The response of BlockchainApi->wallet_json_rpc:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling BlockchainApi->wallet_json_rpc: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| body | object |
str
No authorization required
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]