MCPcopy Create free account
hub / github.com/blockfrost/blockfrost-python / root

Method root

blockfrost/api/__init__.py:22–37  ·  view source on GitHub ↗

Root endpoint has no other function than to point end users to documentation. https://docs.blockfrost.io/#tag/health/GET/ :param return_type: Optional. "object", "json" or "pandas". Default: "object". :type return_type: str :returns RootResponse object.

(self, **kwargs)

Source from the content-addressed store, hash-verified

20
21 @request_wrapper
22 def root(self, **kwargs):
23 """
24 Root endpoint has no other function than to point end users to documentation.
25
26 https://docs.blockfrost.io/#tag/health/GET/
27 :param return_type: Optional. "object", "json" or "pandas". Default: "object".
28 :type return_type: str
29 :returns RootResponse object.
30 :rtype RootResponse
31 :raises ApiError: If API fails
32 :raises Exception: If the API response is somehow malformed.
33 """
34 return requests.get(
35 url=f"{self.url}/",
36 headers=self.authentication_header
37 )
38
39 from .health import \
40 health, \

Callers 2

test_rootFunction · 0.95
test_integration_rootFunction · 0.95

Calls

no outgoing calls

Tested by 2

test_rootFunction · 0.76
test_integration_rootFunction · 0.76