All URIs are relative to /
Method | HTTP request | Description |
---|---|---|
api_v1_get_contract_by_address_get | GET /api/v1/GetContractByAddress | |
api_v1_get_contract_get | GET /api/v1/GetContract | |
api_v1_get_contracts_get | GET /api/v1/GetContracts |
ContractResult api_v1_get_contract_by_address_get(chain_address_or_name=chain_address_or_name, contract_address=contract_address)
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.ContractApi()
chain_address_or_name = 'chain_address_or_name_example' # str | (optional)
contract_address = 'contract_address_example' # str | (optional)
try:
api_response = api_instance.api_v1_get_contract_by_address_get(chain_address_or_name=chain_address_or_name, contract_address=contract_address)
pprint(api_response)
except ApiException as e:
print("Exception when calling ContractApi->api_v1_get_contract_by_address_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
chain_address_or_name | str | [optional] | |
contract_address | str | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ContractResult api_v1_get_contract_get(chain_address_or_name=chain_address_or_name, contract_name=contract_name)
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.ContractApi()
chain_address_or_name = 'chain_address_or_name_example' # str | (optional)
contract_name = 'contract_name_example' # str | (optional)
try:
api_response = api_instance.api_v1_get_contract_get(chain_address_or_name=chain_address_or_name, contract_name=contract_name)
pprint(api_response)
except ApiException as e:
print("Exception when calling ContractApi->api_v1_get_contract_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
chain_address_or_name | str | [optional] | |
contract_name | str | [optional] |
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[ContractResult] api_v1_get_contracts_get(chain_address_or_name=chain_address_or_name)
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.ContractApi()
chain_address_or_name = 'chain_address_or_name_example' # str | (optional)
try:
api_response = api_instance.api_v1_get_contracts_get(chain_address_or_name=chain_address_or_name)
pprint(api_response)
except ApiException as e:
print("Exception when calling ContractApi->api_v1_get_contracts_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
chain_address_or_name | str | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]