SPNCXX - SpartanCoin C++ RPC Client Calling Library

SPNCXX - SpartanCoin C++ RPC Client Calling Library
Login

SPNCXX - SpartanCoin C++ RPC Client Calling Library

SPNCXX Dependencies

Usage

#include <spncxx/client.hxx>

auto client = spn::connection("127.0.0.1", "55883", "rpcusername", "rpcpassword").get();

const double difficulty = client->getdifficulty(); const uint64_t lastIndex = client->getblockcount(); const std::string hash = client->getblockhash(lastIndex); const json::Value block = client->getblock(hash);


SpartanCoin Xjail