Skip to content

ant4g0nist/tzktpy

Repository files navigation

TZKT

Introduction

TzKT Explorer provides free REST API and WebSocket API for accessing detailed Tezos blockchain data and helps developers build more services and applications on top of Tezos. TzKT is an open-source project, so you can easily clone and build it and use it as a self-hosted service to avoid any risks of depending on third-party services.

TzKT API is available for the following Tezos networks with the following base URLs:

  • Mainnet: https://api.tzkt.io/ or https://api.mainnet.tzkt.io/ (view docs)
  • Hangzhounet: https://api.hangzhounet.tzkt.io/ (view docs)
  • Ithacanet: https://api.ithacanet.tzkt.io/ (view docs)

We also provide a staging environment for testing newest features and pre-updating client applications before deploying to production:

  • Mainnet staging: https://staging.api.tzkt.io/ or https://staging.api.mainnet.tzkt.io/ (view docs)

Feel free to contact us if you have any questions or feature requests. Your feedback really helps us make TzKT better!

And don't forget to star TzKT project on GitHub ;)

Terms of Use

TzKT API is free for everyone and for both commercial and non-commercial usage. If your application or service uses the TzKT API in any forms: directly on frontend or indirectly on backend, you must mention that fact on your website or application by placing the label "Powered by TzKT API" or "Built with TzKT API" with a direct link to tzkt.io. # Rate Limits There will be no rate limits as long as our servers can handle the load without additional infrastructure costs. However, any apparent abuse will be prevented by setting targeted rate limits. Check out Tezos Explorer API Best Practices and in particular how to optimize requests count. ---

This Python package is automatically generated by the Swagger Codegen project:

  • API version: v1.8.3
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen For more information, please visit https://baking-bad.org/docs

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

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:

import swagger_client 

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import swagger_client

Getting Started

Please follow the installation procedure and then run the following:

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.AccountsApi(swagger_client.ApiClient(configuration))
type = swagger_client.Type() # Type | Filters accounts by type (`user`, `delegate`, `contract`, `ghost`). (optional)
kind = swagger_client.Kind() # Kind | Filters accounts by contract kind (`delegator_contract` or `smart_contract`) (optional)
delegate = swagger_client.Delegate() # Delegate | Filters accounts by delegate. Allowed fields for `.eqx` mode: none. (optional)
balance = swagger_client.Balance() # Balance | Filters accounts by balance (optional)
staked = swagger_client.Staked() # Staked | Filters accounts by participation in staking (optional)
last_activity = swagger_client.LastActivity() # LastActivity | Filters accounts by last activity level (where the account was updated) (optional)
select = swagger_client.Select() # Select | Specify comma-separated list of fields to include into response or leave it undefined to return full object. If you select single field, response will be an array of values in both `.fields` and `.values` modes. (optional)
sort = swagger_client.Sort() # Sort | Sorts delegators by specified field. Supported fields: `id` (default), `balance`, `firstActivity`, `lastActivity`, `numTransactions`, `numContracts`. (optional)
offset = swagger_client.Offset() # Offset | Specifies which or how many items should be skipped (optional)
limit = 100 # int | Maximum number of items to return (optional) (default to 100)

try:
    # Get accounts
    api_response = api_instance.accounts_get(type=type, kind=kind, delegate=delegate, balance=balance, staked=staked, last_activity=last_activity, select=select, sort=sort, offset=offset, limit=limit)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountsApi->accounts_get: %s\n" % e)

# create an instance of the API class
api_instance = swagger_client.AccountsApi(swagger_client.ApiClient(configuration))
address = 'address_example' # str | Account address (starting with tz or KT)

try:
    # Get balance
    api_response = api_instance.accounts_get_balance(address)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountsApi->accounts_get_balance: %s\n" % e)

# create an instance of the API class
api_instance = swagger_client.AccountsApi(swagger_client.ApiClient(configuration))
address = 'address_example' # str | Account address (starting with tz or KT)
_datetime = '2013-10-20T19:20:30+01:00' # datetime | Datetime at which you want to know account balance (e.g. `2020-01-01`, or `2019-12-30T23:42:59Z`)

try:
    # Get balance at date
    api_response = api_instance.accounts_get_balance_at_date(address, _datetime)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountsApi->accounts_get_balance_at_date: %s\n" % e)

# create an instance of the API class
api_instance = swagger_client.AccountsApi(swagger_client.ApiClient(configuration))
address = 'address_example' # str | Account address (starting with tz or KT)
level = 56 # int | Block height at which you want to know account balance

try:
    # Get balance at level
    api_response = api_instance.accounts_get_balance_at_level(address, level)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountsApi->accounts_get_balance_at_level: %s\n" % e)

# create an instance of the API class
api_instance = swagger_client.AccountsApi(swagger_client.ApiClient(configuration))
address = 'address_example' # str | Account address (starting with tz or KT)
step = 56 # int | Step of the time series, for example if `step = 1000` you will get balances at blocks `1000, 2000, 3000, ...`. (optional)
select = swagger_client.Select1() # Select1 | Specify comma-separated list of fields to include into response or leave it undefined to return full object. If you select single field, response will be an array of values in both `.fields` and `.values` modes. (optional)
sort = swagger_client.Sort4() # Sort4 | Sorts historical balances by specified field. Supported fields: `level`. (optional)
offset = 0 # int | Specifies which or how many items should be skipped (optional) (default to 0)
limit = 100 # int | Maximum number of items to return (optional) (default to 100)
quote = swagger_client.Quote1() # Quote1 | Comma-separated list of ticker symbols to inject historical prices into response (optional)

try:
    # Get balance history
    api_response = api_instance.accounts_get_balance_history(address, step=step, select=select, sort=sort, offset=offset, limit=limit, quote=quote)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountsApi->accounts_get_balance_history: %s\n" % e)

# create an instance of the API class
api_instance = swagger_client.AccountsApi(swagger_client.ApiClient(configuration))
address = 'address_example' # str | Account address (starting with tz or KT)
_from = '2013-10-20T19:20:30+01:00' # datetime | Start of the datetime range to filter by (ISO 8601, e.g. 2019-11-31) (optional)
to = '2013-10-20T19:20:30+01:00' # datetime | End of the datetime range to filter by (ISO 8601, e.g. 2019-12-31) (optional)
currency = 'currency_example' # str | Currency to convert amounts to (`btc`, `eur`, `usd`, `cny`, `jpy`, `krw`, `eth`, `gbp`) (optional)
historical = false # bool | `true` if you want to use historical prices, `false` to use current price (optional) (default to false)
delimiter = 'comma' # str | Column delimiter (`comma`, `semicolon`) (optional) (default to comma)
separator = 'point' # str | Decimal separator (`comma`, `point`) (optional) (default to point)

try:
    # Get account report
    api_response = api_instance.accounts_get_balance_report(address, _from=_from, to=to, currency=currency, historical=historical, delimiter=delimiter, separator=separator)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountsApi->accounts_get_balance_report: %s\n" % e)

# create an instance of the API class
api_instance = swagger_client.AccountsApi(swagger_client.ApiClient(configuration))
address = 'address_example' # str | Account address (starting with tz or KT)
metadata = false # bool | Include or not account metadata (optional) (default to false)

try:
    # Get account by address
    api_response = api_instance.accounts_get_by_address(address, metadata=metadata)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountsApi->accounts_get_by_address: %s\n" % e)

# create an instance of the API class
api_instance = swagger_client.AccountsApi(swagger_client.ApiClient(configuration))
address = 'address_example' # str | Account address (starting with tz or KT)
sort = swagger_client.Sort1() # Sort1 | Sorts contracts by specified field. Supported fields: `id` (default, desc), `balance`, `creationLevel`. (optional)
offset = swagger_client.Offset1() # Offset1 | Specifies which or how many items should be skipped (optional)
limit = 100 # int | Maximum number of items to return (optional) (default to 100)

try:
    # Get account contracts
    api_response = api_instance.accounts_get_contracts(address, sort=sort, offset=offset, limit=limit)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountsApi->accounts_get_contracts: %s\n" % e)

# create an instance of the API class
api_instance = swagger_client.AccountsApi(swagger_client.ApiClient(configuration))
type = swagger_client.Type1() # Type1 | Filters accounts by type (`user`, `delegate`, `contract`, `ghost`). (optional)
kind = swagger_client.Kind1() # Kind1 | Filters accounts by contract kind (`delegator_contract` or `smart_contract`) (optional)
balance = swagger_client.Balance1() # Balance1 | Filters accounts by balance (optional)
staked = swagger_client.Staked1() # Staked1 | Filters accounts by participation in staking (optional)

try:
    # Get accounts count
    api_response = api_instance.accounts_get_count(type=type, kind=kind, balance=balance, staked=staked)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountsApi->accounts_get_count: %s\n" % e)

# create an instance of the API class
api_instance = swagger_client.AccountsApi(swagger_client.ApiClient(configuration))
address = 'address_example' # str | Account address (starting with tz or KT)

try:
    # Get counter
    api_response = api_instance.accounts_get_counter(address)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountsApi->accounts_get_counter: %s\n" % e)

# create an instance of the API class
api_instance = swagger_client.AccountsApi(swagger_client.ApiClient(configuration))
address = 'address_example' # str | Account address (starting with tz)
type = swagger_client.Type2() # Type2 | Filters delegators by type (`user`, `delegate`, `contract`, `ghost`). (optional)
balance = swagger_client.Balance2() # Balance2 | Filters delegators by balance. (optional)
delegation_level = swagger_client.DelegationLevel() # DelegationLevel | Number of items to skip (optional)
sort = swagger_client.Sort2() # Sort2 | Sorts delegators by specified field. Supported fields: `delegationLevel` (default, desc), `balance`. (optional)
offset = swagger_client.Offset2() # Offset2 | Specifies which or how many items should be skipped (optional)
limit = 100 # int | Maximum number of items to return (optional) (default to 100)

try:
    # Get account delegators
    api_response = api_instance.accounts_get_delegators(address, type=type, balance=balance, delegation_level=delegation_level, sort=sort, offset=offset, limit=limit)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountsApi->accounts_get_delegators: %s\n" % e)

# create an instance of the API class
api_instance = swagger_client.AccountsApi(swagger_client.ApiClient(configuration))
address = 'address_example' # str | Account address (starting with tz or KT)

try:
    # Get account metadata
    api_response = api_instance.accounts_get_metadata(address)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountsApi->accounts_get_metadata: %s\n" % e)

# create an instance of the API class
api_instance = swagger_client.AccountsApi(swagger_client.ApiClient(configuration))
address = 'address_example' # str | Account address (starting with tz or KT)
type = 'type_example' # str | Comma separated list of operation types to return (`endorsement`, `preendorsement`, `ballot`, `proposal`, `activation`, `double_baking`, `double_endorsing`, `double_preendorsing`, `nonce_revelation`, `delegation`, `origination`, `transaction`, `reveal`, `register_constant`, `set_deposits_limit`, `migration`, `revelation_penalty`, `baking`, `endorsing_reward`). If not specified then the default set will be returned. (optional)
initiator = swagger_client.Initiator() # Initiator | Filters transactions, delegations and originations by initiator. Allowed fields for `.eqx` mode: none. (optional)
sender = swagger_client.Sender() # Sender | Filters transactions, delegations, originations, reveals and seed nonce revelations by sender. Allowed fields for `.eqx` mode: none. (optional)
target = swagger_client.Target() # Target | Filters transactions by target. Allowed fields for `.eqx` mode: none. (optional)
prev_delegate = swagger_client.PrevDelegate() # PrevDelegate | Filters delegations by prev delegate. Allowed fields for `.eqx` mode: none. (optional)
new_delegate = swagger_client.NewDelegate() # NewDelegate | Filters delegations by new delegate. Allowed fields for `.eqx` mode: none. (optional)
contract_manager = swagger_client.ContractManager() # ContractManager | Filters origination operations by manager. Allowed fields for `.eqx` mode: none. (optional)
contract_delegate = swagger_client.ContractDelegate() # ContractDelegate | Filters origination operations by delegate. Allowed fields for `.eqx` mode: none. (optional)
originated_contract = swagger_client.OriginatedContract() # OriginatedContract | Filters origination operations by originated contract. Allowed fields for `.eqx` mode: none. (optional)
accuser = swagger_client.Accuser() # Accuser | Filters double baking and double endorsing by accuser. Allowed fields for `.eqx` mode: none. (optional)
offender = swagger_client.Offender() # Offender | Filters double baking and double endorsing by offender. Allowed fields for `.eqx` mode: none. (optional)
baker = swagger_client.Baker() # Baker | Filters seed nonce revelation operations by baker. Allowed fields for `.eqx` mode: none. (optional)
level = swagger_client.Level() # Level | Filters operations by level. (optional)
timestamp = swagger_client.Timestamp() # Timestamp | Filters operations by timestamp. (optional)
entrypoint = swagger_client.Entrypoint() # Entrypoint | Filters transactions by entrypoint called on the target contract. (optional)
parameter = swagger_client.Parameter() # Parameter | Filters transactions by parameter value. Note, this query parameter supports the following format: `?parameter{.path?}{.mode?}=...`,             so you can specify a path to a particular field to filter by, for example: `?parameter.token_id=...` or `?parameter.sigs.0.ne=...`. (optional)
has_internals = swagger_client.HasInternals() # HasInternals | Filters transactions by presence of internal operations. (optional)
status = swagger_client.Status() # Status | Filters transactions, delegations, originations and reveals by operation status (`applied`, `failed`, `backtracked`, `skipped`). (optional)
sort = swagger_client.Sort3() # Sort3 | Sort mode (0 - ascending, 1 - descending), operations of different types can only be sorted by ID. (optional)
last_id = 56 # int | Id of the last operation received, which is used as an offset for pagination (optional)
limit = 100 # int | Number of items to return (optional) (default to 100)
micheline = swagger_client.Micheline() # Micheline | Format of the parameters, storage and diffs: `0` - JSON, `1` - JSON string, `2` - raw micheline, `3` - raw micheline string (optional)
quote = swagger_client.Quote() # Quote | Comma-separated list of ticker symbols to inject historical prices into response (optional)

try:
    # Get account operations
    api_response = api_instance.accounts_get_operations(address, type=type, initiator=initiator, sender=sender, target=target, prev_delegate=prev_delegate, new_delegate=new_delegate, contract_manager=contract_manager, contract_delegate=contract_delegate, originated_contract=originated_contract, accuser=accuser, offender=offender, baker=baker, level=level, timestamp=timestamp, entrypoint=entrypoint, parameter=parameter, has_internals=has_internals, status=status, sort=sort, last_id=last_id, limit=limit, micheline=micheline, quote=quote)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountsApi->accounts_get_operations: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://api.tzkt.io

Class Method HTTP request Description
AccountsApi accounts_get GET /v1/accounts Get accounts
AccountsApi accounts_get_balance GET /v1/accounts/{address}/balance Get balance
AccountsApi accounts_get_balance_at_date GET /v1/accounts/{address}/balance_history/{datetime} Get balance at date
AccountsApi accounts_get_balance_at_level GET /v1/accounts/{address}/balance_history/{level} Get balance at level
AccountsApi accounts_get_balance_history GET /v1/accounts/{address}/balance_history Get balance history
AccountsApi accounts_get_balance_report GET /v1/accounts/{address}/report Get account report
AccountsApi accounts_get_by_address GET /v1/accounts/{address} Get account by address
AccountsApi accounts_get_contracts GET /v1/accounts/{address}/contracts Get account contracts
AccountsApi accounts_get_count GET /v1/accounts/count Get accounts count
AccountsApi accounts_get_counter GET /v1/accounts/{address}/counter Get counter
AccountsApi accounts_get_delegators GET /v1/accounts/{address}/delegators Get account delegators
AccountsApi accounts_get_metadata GET /v1/accounts/{address}/metadata Get account metadata
AccountsApi accounts_get_operations GET /v1/accounts/{address}/operations Get account operations
BigMapsApi big_maps_get_big_map_by_id GET /v1/bigmaps/{id} Get bigmap by Id
BigMapsApi big_maps_get_big_map_type GET /v1/bigmaps/{id}/type Get bigmap type
BigMapsApi big_maps_get_big_map_updates GET /v1/bigmaps/updates Get bigmap updates
BigMapsApi big_maps_get_big_maps GET /v1/bigmaps Get bigmaps
BigMapsApi big_maps_get_big_maps_count GET /v1/bigmaps/count Get bigmaps count
BigMapsApi big_maps_get_historical_keys GET /v1/bigmaps/{id}/historical_keys/{level} Get historical keys
BigMapsApi big_maps_get_key GET /v1/bigmaps/{id}/keys/{key} Get bigmap key
BigMapsApi big_maps_get_key2 GET /v1/bigmaps/{id}/historical_keys/{level}/{key} Get historical key
BigMapsApi big_maps_get_key_updates GET /v1/bigmaps/{id}/keys/{key}/updates Get bigmap key updates
BigMapsApi big_maps_get_keys GET /v1/bigmaps/{id}/keys Get bigmap keys
BlocksApi blocks_get GET /v1/blocks Get blocks
BlocksApi blocks_get_by_date GET /v1/blocks/{timestamp} Get block by timestamp
BlocksApi blocks_get_by_date2 GET /v1/blocks/{timestamp}/level Get level by timestamp
BlocksApi blocks_get_by_hash GET /v1/blocks/{hash} Get block by hash
BlocksApi blocks_get_by_level GET /v1/blocks/{level} Get block by level
BlocksApi blocks_get_by_level2 GET /v1/blocks/{level}/timestamp Get timestamp by level
BlocksApi blocks_get_count GET /v1/blocks/count Get blocks count
CommitmentsApi commitments_get GET /v1/commitments/{address} Get commitment by blinded address
CommitmentsApi commitments_get_all GET /v1/commitments Get commitments
CommitmentsApi commitments_get_count GET /v1/commitments/count Get commitments count
ConstantsApi constants_get GET /v1/constants Get global constants
ConstantsApi constants_get_by_address GET /v1/constants/{address} Get global constant by address
ConstantsApi constants_get_count GET /v1/constants/count Get global constants count
ContractsApi contracts_build_entrypoint_parameters_get GET /v1/contracts/{address}/entrypoints/{name}/build Build entrypoint parameters
ContractsApi contracts_build_entrypoint_parameters_post POST /v1/contracts/{address}/entrypoints/{name}/build Build entrypoint parameters
ContractsApi contracts_get GET /v1/contracts Get contracts
ContractsApi contracts_get_big_map_by_name GET /v1/contracts/{address}/bigmaps/{name} Get bigmap by name
ContractsApi contracts_get_big_map_by_name_keys GET /v1/contracts/{address}/bigmaps/{name}/keys Get bigmap keys
ContractsApi contracts_get_big_maps GET /v1/contracts/{address}/bigmaps Get contract bigmaps
ContractsApi contracts_get_by_address GET /v1/contracts/{address} Get contract by address
ContractsApi contracts_get_code GET /v1/contracts/{address}/code Get contract code
ContractsApi contracts_get_contract_view_by_name GET /v1/contracts/{address}/views/{name} Get view by name
ContractsApi contracts_get_contract_views GET /v1/contracts/{address}/views Get contract views
ContractsApi contracts_get_count GET /v1/contracts/count Get contracts count
ContractsApi contracts_get_entrypoint_by_name GET /v1/contracts/{address}/entrypoints/{name} Get entrypoint by name
ContractsApi contracts_get_entrypoints GET /v1/contracts/{address}/entrypoints Get contract entrypoints
ContractsApi contracts_get_historical_keys GET /v1/contracts/{address}/bigmaps/{name}/historical_keys/{level} Get historical keys
ContractsApi contracts_get_interface GET /v1/contracts/{address}/interface Get JSON Schema [2020-12] interface for the contract
ContractsApi contracts_get_key GET /v1/contracts/{address}/bigmaps/{name}/keys/{key} Get bigmap key
ContractsApi contracts_get_key2 GET /v1/contracts/{address}/bigmaps/{name}/historical_keys/{level}/{key} Get historical key
ContractsApi contracts_get_key_updates GET /v1/contracts/{address}/bigmaps/{name}/keys/{key}/updates Get bigmap key updates
ContractsApi contracts_get_raw_storage GET /v1/contracts/{address}/storage/raw Get raw contract storage
ContractsApi contracts_get_raw_storage_history GET /v1/contracts/{address}/storage/raw/history Get raw contract storage history
ContractsApi contracts_get_raw_storage_schema GET /v1/contracts/{address}/storage/raw/schema Get raw contract storage schema
ContractsApi contracts_get_same GET /v1/contracts/{address}/same Get same contracts
ContractsApi contracts_get_similar GET /v1/contracts/{address}/similar Get similar contracts
ContractsApi contracts_get_storage GET /v1/contracts/{address}/storage Get contract storage
ContractsApi contracts_get_storage_history GET /v1/contracts/{address}/storage/history Get contract storage history
ContractsApi contracts_get_storage_schema GET /v1/contracts/{address}/storage/schema Get contract storage schema
CyclesApi cycles_get GET /v1/cycles Get cycles
CyclesApi cycles_get_by_index GET /v1/cycles/{index} Get cycle by index
CyclesApi cycles_get_count GET /v1/cycles/count Get cycles count
DelegatesApi delegates_get GET /v1/delegates Get delegates
DelegatesApi delegates_get_by_address GET /v1/delegates/{address} Get delegate by address
DelegatesApi delegates_get_count GET /v1/delegates/count Get delegates count
HeadApi head_get GET /v1/head Get indexer head
OperationsApi operations_get_activation_by_hash GET /v1/operations/activations/{hash} Get activation by hash
OperationsApi operations_get_activations GET /v1/operations/activations Get activations
OperationsApi operations_get_activations_count GET /v1/operations/activations/count Get activations count
OperationsApi operations_get_baking GET /v1/operations/baking Get baking
OperationsApi operations_get_baking_by_id GET /v1/operations/baking/{id} Get baking by id
OperationsApi operations_get_baking_count GET /v1/operations/baking/count Get baking count
OperationsApi operations_get_ballot_by_hash GET /v1/operations/ballots/{hash} Get ballot by hash
OperationsApi operations_get_ballots GET /v1/operations/ballots Get ballots
OperationsApi operations_get_ballots_count GET /v1/operations/ballots/count Get ballots count
OperationsApi operations_get_by_hash GET /v1/operations/{hash} Get operations by hash
OperationsApi operations_get_by_hash_counter GET /v1/operations/{hash}/{counter} Get operations by hash and counter
OperationsApi operations_get_by_hash_counter_nonce GET /v1/operations/{hash}/{counter}/{nonce} Get operations by hash, counter and nonce
OperationsApi operations_get_delegation_by_hash GET /v1/operations/delegations/{hash} Get delegation by hash
OperationsApi operations_get_delegations GET /v1/operations/delegations Get delegations
OperationsApi operations_get_delegations_count GET /v1/operations/delegations/count Get delegations count
OperationsApi operations_get_double_baking GET /v1/operations/double_baking Get double baking
OperationsApi operations_get_double_baking_by_hash GET /v1/operations/double_baking/{hash} Get double baking by hash
OperationsApi operations_get_double_baking_count GET /v1/operations/double_baking/count Get double baking count
OperationsApi operations_get_double_endorsing GET /v1/operations/double_endorsing Get double endorsing
OperationsApi operations_get_double_endorsing_by_hash GET /v1/operations/double_endorsing/{hash} Get double endorsing by hash
OperationsApi operations_get_double_endorsing_count GET /v1/operations/double_endorsing/count Get double endorsing count
OperationsApi operations_get_double_preendorsing GET /v1/operations/double_preendorsing Get double preendorsing
OperationsApi operations_get_double_preendorsing_by_hash GET /v1/operations/double_preendorsing/{hash} Get double preendorsing by hash
OperationsApi operations_get_double_preendorsing_count GET /v1/operations/double_preendorsing/count Get double preendorsing count
OperationsApi operations_get_endorsement_by_hash GET /v1/operations/endorsements/{hash} Get endorsement by hash
OperationsApi operations_get_endorsements GET /v1/operations/endorsements Get endorsements
OperationsApi operations_get_endorsements_count GET /v1/operations/endorsements/count Get endorsements count
OperationsApi operations_get_endorsing_reward_by_id GET /v1/operations/endorsing_rewards/{id} Get endorsing reward by id
OperationsApi operations_get_endorsing_rewards GET /v1/operations/endorsing_rewards Get endorsing rewards
OperationsApi operations_get_endorsing_rewards_count GET /v1/operations/endorsing_rewards/count Get endorsing rewards count
OperationsApi operations_get_migration_by_id GET /v1/operations/migrations/{id} Get migration by id
OperationsApi operations_get_migrations GET /v1/operations/migrations Get migrations
OperationsApi operations_get_migrations_count GET /v1/operations/migrations/count Get migrations count
OperationsApi operations_get_nonce_revelation_by_hash GET /v1/operations/nonce_revelations/{hash} Get nonce revelation by hash
OperationsApi operations_get_nonce_revelations GET /v1/operations/nonce_revelations Get nonce revelations
OperationsApi operations_get_nonce_revelations_count GET /v1/operations/nonce_revelations/count Get nonce revelations count
OperationsApi operations_get_origination_by_hash GET /v1/operations/originations/{hash} Get origination by hash
OperationsApi operations_get_originations GET /v1/operations/originations Get originations
OperationsApi operations_get_originations_count GET /v1/operations/originations/count Get originations count
OperationsApi operations_get_preendorsement_by_hash GET /v1/operations/preendorsements/{hash} Get preendorsement by hash
OperationsApi operations_get_preendorsements GET /v1/operations/preendorsements Get preendorsements
OperationsApi operations_get_preendorsements_count GET /v1/operations/preendorsements/count Get preendorsements count
OperationsApi operations_get_proposal_by_hash GET /v1/operations/proposals/{hash} Get proposal by hash
OperationsApi operations_get_proposals GET /v1/operations/proposals Get proposals
OperationsApi operations_get_proposals_count GET /v1/operations/proposals/count Get proposals count
OperationsApi operations_get_register_constant_by_hash GET /v1/operations/register_constants/{hash} Get register constant by hash
OperationsApi operations_get_register_constants GET /v1/operations/register_constants Get register constants
OperationsApi operations_get_register_constants_count GET /v1/operations/register_constants/count Get register constants count
OperationsApi operations_get_reveal_by_hash GET /v1/operations/reveals/{hash} Get reveal by hash
OperationsApi operations_get_reveals GET /v1/operations/reveals Get reveals
OperationsApi operations_get_reveals_count GET /v1/operations/reveals/count Get reveals count
OperationsApi operations_get_revelation_penalties GET /v1/operations/revelation_penalties Get revelation penalties
OperationsApi operations_get_revelation_penalties_count GET /v1/operations/revelation_penalties/count Get revelation penalties count
OperationsApi operations_get_revelation_penalty_by_id GET /v1/operations/revelation_penalties/{id} Get revelation penalty by id
OperationsApi operations_get_set_deposits_limit_by_hash GET /v1/operations/set_deposits_limits/{hash} Get set deposits limit by hash
OperationsApi operations_get_set_deposits_limits GET /v1/operations/set_deposits_limits Get set deposits limits
OperationsApi operations_get_set_deposits_limits_count GET /v1/operations/set_deposits_limits/count Get set deposits limits count
OperationsApi operations_get_transaction_by_hash GET /v1/operations/transactions/{hash} Get transaction by hash
OperationsApi operations_get_transaction_by_hash_counter GET /v1/operations/transactions/{hash}/{counter} Get transaction by hash and counter
OperationsApi operations_get_transaction_by_hash_counter_nonce GET /v1/operations/transactions/{hash}/{counter}/{nonce} Get transaction by hash, counter and nonce
OperationsApi operations_get_transactions GET /v1/operations/transactions Get transactions
OperationsApi operations_get_transactions_count GET /v1/operations/transactions/count Get transactions count
ProtocolsApi protocols_get GET /v1/protocols Get protocols
ProtocolsApi protocols_get_by_code GET /v1/protocols/{code} Get protocol by code
ProtocolsApi protocols_get_by_cycle GET /v1/protocols/cycles/{cycle} Get protocol by cycle
ProtocolsApi protocols_get_by_hash GET /v1/protocols/{hash} Get protocol by hash
ProtocolsApi protocols_get_count GET /v1/protocols/count Get protocols count
ProtocolsApi protocols_get_current GET /v1/protocols/current Get current protocol
QuotesApi quotes_get GET /v1/quotes Get quotes
QuotesApi quotes_get_count GET /v1/quotes/count Get quotes count
QuotesApi quotes_get_last GET /v1/quotes/last Get last quote
RewardsApi rewards_get_baker_rewards GET /v1/rewards/bakers/{address} Get baker cycle rewards
RewardsApi rewards_get_baker_rewards_by_cycle GET /v1/rewards/bakers/{address}/{cycle} Get baker cycle rewards by cycle
RewardsApi rewards_get_baker_rewards_count GET /v1/rewards/bakers/{address}/count Get baker cycle rewards count
RewardsApi rewards_get_delegator_rewards GET /v1/rewards/delegators/{address} Get delegator cycle rewards
RewardsApi rewards_get_delegator_rewards_by_cycle GET /v1/rewards/delegators/{address}/{cycle} Get delegator cycle rewards by cycle
RewardsApi rewards_get_delegator_rewards_count GET /v1/rewards/delegators/{address}/count Get delegator cycle rewards count
RewardsApi rewards_get_reward_split GET /v1/rewards/split/{baker}/{cycle} Get reward split
RewardsApi rewards_get_reward_split_delegator GET /v1/rewards/split/{baker}/{cycle}/{delegator} Get reward split delegator
RightsApi rights_get GET /v1/rights Get rights
RightsApi rights_get_count GET /v1/rights/count Get rights count
SoftwareApi software_get GET /v1/software Get baker software
SoftwareApi software_get_count GET /v1/software/count Get software count
StatisticsApi statistics_get GET /v1/statistics Get statistics
StatisticsApi statistics_get_cycles GET /v1/statistics/current Get current statistics
StatisticsApi statistics_get_cycles_all GET /v1/statistics/cyclic Get cyclic statistics
StatisticsApi statistics_get_daily GET /v1/statistics/daily Get daily statistics
TokensApi tokens_get_token_balances GET /v1/tokens/balances Get token balances
TokensApi tokens_get_token_balances2 GET /v1/tokens/historical_balances/{level} Get historical token balances
TokensApi tokens_get_token_balances_count GET /v1/tokens/balances/count Get token balances count
TokensApi tokens_get_token_transfers GET /v1/tokens/transfers Get token transfers
TokensApi tokens_get_token_transfers_count GET /v1/tokens/transfers/count Get token transfers count
TokensApi tokens_get_tokens GET /v1/tokens Get tokens
TokensApi tokens_get_tokens_count GET /v1/tokens/count Get tokens count
VotingApi voting_get_current_epoch GET /v1/voting/epochs/current Get current voting epoch
VotingApi voting_get_current_period GET /v1/voting/periods/current Get current voting period
VotingApi voting_get_epoch GET /v1/voting/epochs/{index} Get voting epoch by index
VotingApi voting_get_epochs GET /v1/voting/epochs Get voting epochs
VotingApi voting_get_latest_voting GET /v1/voting/epochs/latest_voting Get latest voting
VotingApi voting_get_period GET /v1/voting/periods/{index} Get voting period by index
VotingApi voting_get_period_voter GET /v1/voting/periods/{index}/voters/{address} Get period voter
VotingApi voting_get_period_voter2 GET /v1/voting/periods/current/voters/{address} Get current period voter
VotingApi voting_get_period_voters GET /v1/voting/periods/{index}/voters Get period voters
VotingApi voting_get_period_voters2 GET /v1/voting/periods/current/voters Get current period voters
VotingApi voting_get_periods GET /v1/voting/periods Get voting periods
VotingApi voting_get_proposal_by_hash GET /v1/voting/proposals/{hash} Get proposal by hash
VotingApi voting_get_proposals GET /v1/voting/proposals Get proposals
VotingApi voting_get_proposals_count GET /v1/voting/proposals/count Get proposals count

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author

hello@baking-bad.org