Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.25 KB

File metadata and controls

32 lines (21 loc) · 1.25 KB

tzkt-php-client

tests Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

Generated OpenAPI client for TZKT

composer require ziwot/tzkt-php-client

Usage

require "vendor/autoload.php";

$Protocols = new \Tzkt\Api\ProtocolsApi(\Tzkt\get_client() /*, (new \Tzkt\Configuration())->setDebug(true) */);
$proto = $Protocols->protocolsGetCurrent();

$proto->getHash();
// "PtTALLiNtPec7mE7yY4m3k26J8Qukef3E3ehzhfXgFZKGtDdAXu"

See OpenApi Generated Doc

Dev

You need openapi-generator-cli

Then, just run make