All URIs are relative to /
Method | HTTP request | Description |
---|---|---|
api_v1_abci_query_get | GET /api/v1/abci_query | |
api_v1_get_validators_settings_get | GET /api/v1/GetValidatorsSettings | |
api_v1_health_get | GET /api/v1/health | |
api_v1_net_info_get | GET /api/v1/net_info | |
api_v1_request_block_get | GET /api/v1/request_block | |
api_v1_status_get | GET /api/v1/status |
ResultAbciQuery api_v1_abci_query_get(path=path, data=data, height=height, prove=prove)
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.ConnectionApi()
path = 'path_example' # str | (optional)
data = 'data_example' # str | (optional)
height = 0 # int | (optional) (default to 0)
prove = false # bool | (optional) (default to false)
try:
api_response = api_instance.api_v1_abci_query_get(path=path, data=data, height=height, prove=prove)
pprint(api_response)
except ApiException as e:
print("Exception when calling ConnectionApi->api_v1_abci_query_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
path | str | [optional] | |
data | str | [optional] | |
height | int | [optional] [default to 0] | |
prove | bool | [optional] [default to false] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list[ValidatorSettings] api_v1_get_validators_settings_get()
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.ConnectionApi()
try:
api_response = api_instance.api_v1_get_validators_settings_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling ConnectionApi->api_v1_get_validators_settings_get: %s\n" % e)
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResultHealth api_v1_health_get()
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.ConnectionApi()
try:
api_response = api_instance.api_v1_health_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling ConnectionApi->api_v1_health_get: %s\n" % e)
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResultNetInfo api_v1_net_info_get()
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.ConnectionApi()
try:
api_response = api_instance.api_v1_net_info_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling ConnectionApi->api_v1_net_info_get: %s\n" % e)
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResultAbciQuery api_v1_request_block_get(height=height)
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.ConnectionApi()
height = 0 # int | (optional) (default to 0)
try:
api_response = api_instance.api_v1_request_block_get(height=height)
pprint(api_response)
except ApiException as e:
print("Exception when calling ConnectionApi->api_v1_request_block_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
height | int | [optional] [default to 0] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ResultStatus api_v1_status_get()
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.ConnectionApi()
try:
api_response = api_instance.api_v1_status_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling ConnectionApi->api_v1_status_get: %s\n" % e)
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]