A library for PHP that interacts with the relictum blockchain API
> composer require relictumblockchain/rphpsdk
- PHP >7.3
// Create configurator and set node uri
$configurator = new Relictum\RPHPSDK\RequestConfigurator(['config' => ['base_uri' => 'http://190.2.146.126/api/']]);
// Create a new request
$request = new Relictum\RPHPSDK\Request($configurator);
// Output node api version
var_dump($request->getApiVersion()->version);
See the examples folder for more use cases.