client.h
1 // Copyright (c) 2010 Satoshi Nakamoto 2 // Copyright (c) 2009-present The Bitcoin Core developers 3 // Distributed under the MIT software license, see the accompanying 4 // file COPYING or http://www.opensource.org/licenses/mit-license.php. 5 6 #ifndef BITCOIN_RPC_CLIENT_H 7 #define BITCOIN_RPC_CLIENT_H 8 9 #include <string> 10 #include <string_view> 11 12 #include <univalue.h> 13 14 /** Convert positional arguments to command-specific RPC representation */ 15 UniValue RPCConvertValues(const std::string& strMethod, const std::vector<std::string>& strParams); 16 17 /** Convert named arguments to command-specific RPC representation */ 18 UniValue RPCConvertNamedValues(const std::string& strMethod, const std::vector<std::string>& strParams); 19 20 #endif // BITCOIN_RPC_CLIENT_H