-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
1621 catch (RequestNotParseable& e)
+
+
+
1624 jvOutput[
"error_what"] = e.what();
+
+
+
+
+
+
1630 jvOutput[
"error_what"] = e.what();
+
+
-
1634 std::cout << result.second.toStyledString();
-
-
1636 return result.first;
-
+
1634 return {nRet, std::move(jvOutput)};
+
+
+
-
+
+
-
+
-
-
1643 boost::asio::io_context& io_context,
-
-
-
-
-
-
-
-
-
-
-
-
-
-
1657 auto j = logs.
journal(
"HTTPClient");
-
-
-
-
-
1662 JLOG(j.info()) << (bSSL ?
"Securely connecting to " :
"Connecting to ")
-
-
-
-
-
1667 headers[
"Authorization"] =
-
-
-
-
-
-
-
1674 constexpr auto RPC_REPLY_MAX_BYTES =
megabytes(256);
-
-
1676 using namespace std::chrono_literals;
-
1677 auto constexpr RPC_WEBHOOK_TIMEOUT = 30s;
-
-
-
-
-
-
-
-
-
-
-
-
-
1690 std::placeholders::_1,
-
1691 std::placeholders::_2,
-
-
1693 RPC_REPLY_MAX_BYTES,
-
1694 RPC_WEBHOOK_TIMEOUT,
-
-
-
-
1698 std::placeholders::_1,
-
1699 std::placeholders::_2,
-
1700 std::placeholders::_3,
-
-
-
+
+
+
+
+
+
+
+
+
1650 std::cout << result.second.toStyledString();
+
+
1652 return result.first;
+
-
-
+
+
+
+
+
+
+
1659 boost::asio::io_context& io_context,
+
+
+
+
+
+
+
+
+
+
+
+
+
+
1673 auto j = logs.
journal(
"HTTPClient");
+
+
+
+
+
1678 JLOG(j.info()) << (bSSL ?
"Securely connecting to " :
"Connecting to ")
+
+
+
+
+
1683 headers[
"Authorization"] =
+
+
+
+
+
+
+
1690 constexpr auto RPC_REPLY_MAX_BYTES =
megabytes(256);
+
+
1692 using namespace std::chrono_literals;
+
1693 auto constexpr RPC_WEBHOOK_TIMEOUT = 30s;
+
+
+
+
+
+
+
+
+
+
+
+
+
1706 std::placeholders::_1,
+
1707 std::placeholders::_2,
+
+
1709 RPC_REPLY_MAX_BYTES,
+
1710 RPC_WEBHOOK_TIMEOUT,
+
+
+
+
1714 std::placeholders::_1,
+
1715 std::placeholders::_2,
+
1716 std::placeholders::_3,
+
+
+
-
-
+
+
+
+
+
@@ -1940,57 +1956,57 @@ $(document).ready(function() { init_codefold(0); });
Manages partitions for logging.
beast::Journal journal(std::string const &name)
-
Json::Value parseLedger(Json::Value const &jvParams)
-
Json::Value parseValidationCreate(Json::Value const &jvParams)
+
Json::Value parseLedger(Json::Value const &jvParams)
+
Json::Value parseValidationCreate(Json::Value const &jvParams)
Json::Value parseBookOffers(Json::Value const &jvParams)
-
Json::Value parseTxHistory(Json::Value const &jvParams)
-
Json::Value parseLedgerId(Json::Value const &jvParams)
-
Json::Value parseCommand(std::string strMethod, Json::Value jvParams, bool allowAnyCommand)
-
Json::Value parseGatewayBalances(Json::Value const &jvParams)
-
RPCParser(unsigned apiVersion, beast::Journal j)
-
Json::Value parseAccountItems(Json::Value const &jvParams)
+
Json::Value parseTxHistory(Json::Value const &jvParams)
+
Json::Value parseLedgerId(Json::Value const &jvParams)
+
Json::Value parseCommand(std::string strMethod, Json::Value jvParams, bool allowAnyCommand)
+
Json::Value parseGatewayBalances(Json::Value const &jvParams)
+
RPCParser(unsigned apiVersion, beast::Journal j)
+
Json::Value parseAccountItems(Json::Value const &jvParams)
unsigned const apiVersion_
-
Json::Value parseJson(Json::Value const &jvParams)
-
Json::Value parseAccountRaw1(Json::Value const &jvParams)
+
Json::Value parseJson(Json::Value const &jvParams)
+
Json::Value parseAccountRaw1(Json::Value const &jvParams)
Json::Value parseFetchInfo(Json::Value const &jvParams)
-
Json::Value parseSubmitMultiSigned(Json::Value const &jvParams)
-
Json::Value parseAccountChannels(Json::Value const &jvParams)
+
Json::Value parseSubmitMultiSigned(Json::Value const &jvParams)
+
Json::Value parseAccountChannels(Json::Value const &jvParams)
Json::Value parseInternal(Json::Value const &jvParams)
static Json::Value jvParseCurrencyIssuer(std::string const &strCurrencyIssuer)
-
Json::Value parseSimulate(Json::Value const &jvParams)
-
Json::Value parseEvented(Json::Value const &jvParams)
-
Json::Value parseDepositAuthorized(Json::Value const &jvParams)
+
Json::Value parseSimulate(Json::Value const &jvParams)
+
Json::Value parseEvented(Json::Value const &jvParams)
+
Json::Value parseDepositAuthorized(Json::Value const &jvParams)
Json::Value parseAccountTransactions(Json::Value const &jvParams)
-
Json::Value parseChannelVerify(Json::Value const &jvParams)
-
Json::Value parseGetCounts(Json::Value const &jvParams)
-
Json::Value parseLogLevel(Json::Value const &jvParams)
-
bool isValidJson2(Json::Value const &jv)
-
Json::Value parseConnect(Json::Value const &jvParams)
+
Json::Value parseChannelVerify(Json::Value const &jvParams)
+
Json::Value parseGetCounts(Json::Value const &jvParams)
+
Json::Value parseLogLevel(Json::Value const &jvParams)
+
bool isValidJson2(Json::Value const &jv)
+
Json::Value parseConnect(Json::Value const &jvParams)
static bool validPublicKey(std::string const &strPk, TokenType type=TokenType::AccountPublic)
Json::Value(RPCParser::*)(Json::Value const &jvParams) parseFuncPtr
-
Json::Value parseCanDelete(Json::Value const &jvParams)
-
Json::Value parseWalletPropose(Json::Value const &jvParams)
-
Json::Value parseJson2(Json::Value const &jvParams)
-
Json::Value parseChannelAuthorize(Json::Value const &jvParams)
-
Json::Value parseAccountCurrencies(Json::Value const &jvParams)
-
Json::Value parsePeerReservationsDel(Json::Value const &jvParams)
-
Json::Value parseVault(Json::Value const &jvParams)
-
Json::Value parseLedgerEntry(Json::Value const &jvParams)
-
Json::Value parseTx(Json::Value const &jvParams)
-
Json::Value parseServerInfo(Json::Value const &jvParams)
+
Json::Value parseCanDelete(Json::Value const &jvParams)
+
Json::Value parseWalletPropose(Json::Value const &jvParams)
+
Json::Value parseJson2(Json::Value const &jvParams)
+
Json::Value parseChannelAuthorize(Json::Value const &jvParams)
+
Json::Value parseAccountCurrencies(Json::Value const &jvParams)
+
Json::Value parsePeerReservationsDel(Json::Value const &jvParams)
+
Json::Value parseVault(Json::Value const &jvParams)
+
Json::Value parseLedgerEntry(Json::Value const &jvParams)
+
Json::Value parseTx(Json::Value const &jvParams)
+
Json::Value parseServerInfo(Json::Value const &jvParams)
Json::Value parseAsIs(Json::Value const &jvParams)
-
Json::Value parsePeerReservationsAdd(Json::Value const &jvParams)
-
Json::Value parseRipplePathFind(Json::Value const &jvParams)
-
Json::Value parseServerDefinitions(Json::Value const &jvParams)
-
Json::Value parseTransactionEntry(Json::Value const &jvParams)
-
Json::Value parseFeature(Json::Value const &jvParams)
+
Json::Value parsePeerReservationsAdd(Json::Value const &jvParams)
+
Json::Value parseRipplePathFind(Json::Value const &jvParams)
+
Json::Value parseServerDefinitions(Json::Value const &jvParams)
+
Json::Value parseTransactionEntry(Json::Value const &jvParams)
+
Json::Value parseFeature(Json::Value const &jvParams)
Json::Value parseManifest(Json::Value const &jvParams)
-
Json::Value parseAccountRaw2(Json::Value const &jvParams, char const *const acc2Field)
+
Json::Value parseAccountRaw2(Json::Value const &jvParams, char const *const acc2Field)
static bool jvParseLedger(Json::Value &jvRequest, std::string const &strLedger)
-
Json::Value parseSignSubmit(Json::Value const &jvParams)
-
Json::Value parseAccountLines(Json::Value const &jvParams)
-
Json::Value parseSignFor(Json::Value const &jvParams)
+
Json::Value parseSignSubmit(Json::Value const &jvParams)
+
Json::Value parseAccountLines(Json::Value const &jvParams)
+
Json::Value parseSignFor(Json::Value const &jvParams)
constexpr bool parseHex(std::string_view sv)
Parse a hex string into a base_uint.
@@ -2011,15 +2027,16 @@ $(document).ready(function() { init_codefold(0); });
@ arrayValue
array value (ordered list)
@ objectValue
object value (collection of name/value pairs).
-
void fromNetwork(boost::asio::io_context &io_context, std::string const &strIp, std::uint16_t const iPort, std::string const &strUsername, std::string const &strPassword, std::string const &strPath, std::string const &strMethod, Json::Value const &jvParams, bool const bSSL, bool const quiet, Logs &logs, std::function< void(Json::Value const &jvInput)> callbackFuncP, std::unordered_map< std::string, std::string > headers)
-
int fromCommandLine(Config const &config, std::vector< std::string > const &vCmd, Logs &logs)
+
void fromNetwork(boost::asio::io_context &io_context, std::string const &strIp, std::uint16_t const iPort, std::string const &strUsername, std::string const &strPassword, std::string const &strPath, std::string const &strMethod, Json::Value const &jvParams, bool const bSSL, bool const quiet, Logs &logs, std::function< void(Json::Value const &jvInput)> callbackFuncP, std::unordered_map< std::string, std::string > headers)
+
int fromCommandLine(Config const &config, std::vector< std::string > const &vCmd, Logs &logs)
+
Json::Value invalid_field_error(std::string const &name)
Json::Value make_param_error(std::string const &message)
Returns a new json object that indicates invalid parameters.
static constexpr auto apiCommandLineVersion
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
std::optional< KeyType > keyTypeFromString(std::string const &s)
std::string toBase58(AccountID const &v)
Convert AccountID to base58 checked string.
constexpr auto megabytes(T value) noexcept
-
std::pair< int, Json::Value > rpcClient(std::vector< std::string > const &args, Config const &config, Logs &logs, unsigned int apiVersion, std::unordered_map< std::string, std::string > const &headers)
Internal invocation of RPC client.
+
std::pair< int, Json::Value > rpcClient(std::vector< std::string > const &args, Config const &config, Logs &logs, unsigned int apiVersion, std::unordered_map< std::string, std::string > const &headers)
Internal invocation of RPC client.
static std::string const & systemName()
@@ -2048,8 +2065,8 @@ $(document).ready(function() { init_codefold(0); });
std::enable_if_t< std::is_same< T, char >::value||std::is_same< T, unsigned char >::value, Slice > makeSlice(std::array< T, N > const &a)
ServerHandler::Setup setup_ServerHandler(Config const &config, std::ostream &&log)
std::string base64_encode(std::uint8_t const *data, std::size_t len)
-
std::string JSONRPCRequest(std::string const &strMethod, Json::Value const ¶ms, Json::Value const &id)
-
Json::Value rpcCmdToJson(std::vector< std::string > const &args, Json::Value &retParams, unsigned int apiVersion, beast::Journal j)
+
std::string JSONRPCRequest(std::string const &strMethod, Json::Value const ¶ms, Json::Value const &id)
+
Json::Value rpcCmdToJson(std::vector< std::string > const &args, Json::Value &retParams, unsigned int apiVersion, beast::Journal j)
std::string to_string(base_uint< Bits, Tag > const &a)
@@ -2058,11 +2075,11 @@ $(document).ready(function() { init_codefold(0); });
-
-
static void callRPCHandler(Json::Value *jvOutput, Json::Value const &jvInput)
-
static bool onResponse(std::function< void(Json::Value const &jvInput)> callbackFuncP, boost::system::error_code const &ecResult, int iStatus, std::string const &strData, beast::Journal j)
+
+
static void callRPCHandler(Json::Value *jvOutput, Json::Value const &jvInput)
+
static bool onResponse(std::function< void(Json::Value const &jvInput)> callbackFuncP, boost::system::error_code const &ecResult, int iStatus, std::string const &strData, beast::Journal j)
-
static void onRequest(std::string const &strMethod, Json::Value const &jvParams, std::unordered_map< std::string, std::string > const &headers, std::string const &strPath, boost::asio::streambuf &sb, std::string const &strHost, beast::Journal j)
+
static void onRequest(std::string const &strMethod, Json::Value const &jvParams, std::unordered_map< std::string, std::string > const &headers, std::string const &strPath, boost::asio::streambuf &sb, std::string const &strHost, beast::Journal j)
std::string admin_password
diff --git a/RPCCall_8h_source.html b/RPCCall_8h_source.html
index 467c481fd5..486829d5b9 100644
--- a/RPCCall_8h_source.html
+++ b/RPCCall_8h_source.html
@@ -154,11 +154,11 @@ $(document).ready(function() { init_codefold(0); });
-
void fromNetwork(boost::asio::io_context &io_context, std::string const &strIp, std::uint16_t const iPort, std::string const &strUsername, std::string const &strPassword, std::string const &strPath, std::string const &strMethod, Json::Value const &jvParams, bool const bSSL, bool const quiet, Logs &logs, std::function< void(Json::Value const &jvInput)> callbackFuncP, std::unordered_map< std::string, std::string > headers)
-
int fromCommandLine(Config const &config, std::vector< std::string > const &vCmd, Logs &logs)
+
void fromNetwork(boost::asio::io_context &io_context, std::string const &strIp, std::uint16_t const iPort, std::string const &strUsername, std::string const &strPassword, std::string const &strPath, std::string const &strMethod, Json::Value const &jvParams, bool const bSSL, bool const quiet, Logs &logs, std::function< void(Json::Value const &jvInput)> callbackFuncP, std::unordered_map< std::string, std::string > headers)
+
int fromCommandLine(Config const &config, std::vector< std::string > const &vCmd, Logs &logs)
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
-
std::pair< int, Json::Value > rpcClient(std::vector< std::string > const &args, Config const &config, Logs &logs, unsigned int apiVersion, std::unordered_map< std::string, std::string > const &headers)
Internal invocation of RPC client.
-
Json::Value rpcCmdToJson(std::vector< std::string > const &args, Json::Value &retParams, unsigned int apiVersion, beast::Journal j)
+
std::pair< int, Json::Value > rpcClient(std::vector< std::string > const &args, Config const &config, Logs &logs, unsigned int apiVersion, std::unordered_map< std::string, std::string > const &headers)
Internal invocation of RPC client.
+
Json::Value rpcCmdToJson(std::vector< std::string > const &args, Json::Value &retParams, unsigned int apiVersion, beast::Journal j)
diff --git a/RPCCall__test_8cpp_source.html b/RPCCall__test_8cpp_source.html
index 1888234704..4cccb1efbe 100644
--- a/RPCCall__test_8cpp_source.html
+++ b/RPCCall__test_8cpp_source.html
@@ -1674,4424 +1674,4427 @@ $(document).ready(function() { init_codefold(0); });
1584 "EUR/rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA",
1585 "rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA",
1586 "ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789",
-
-
-
-
-
-
-
1593 "method" : "book_offers",
-
-
-
1596 "api_version" : %API_VER%,
-
1597 "issuer" : "rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA",
-
1598 "ledger_hash" : "ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789",
-
-
-
-
-
1603 "issuer" : "rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA"
-
-
-
-
1607 "issuer" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh"
-
-
-
-
-
-
1613 "book_offers: issuer, ledger hash, limit, and marker.",
-
-
-
1616 "USD/rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
-
1617 "EUR/rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA",
-
1618 "rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA",
-
1619 "ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789",
-
-
-
-
-
-
1625 "method" : "book_offers",
-
-
-
1628 "api_version" : %API_VER%,
-
1629 "issuer" : "rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA",
-
1630 "ledger_hash" : "ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789",
-
-
1632 "marker" : "MyMarker",
-
-
-
-
1636 "issuer" : "rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA"
-
-
-
-
1640 "issuer" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh"
-
-
-
-
-
1645 {"book_offers: too few arguments.",
-
-
-
-
-
-
-
1652 "method" : "book_offers",
-
-
-
1655 "error" : "badSyntax",
-
-
1657 "error_message" : "Syntax error."
-
-
-
-
1661 {"book_offers: too many arguments.",
-
-
-
1664 "USD/rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
-
1665 "EUR/rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA",
-
1666 "rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA",
-
1667 "ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789",
-
-
-
-
-
-
-
1674 "method" : "book_offers",
-
-
-
1677 "error" : "badSyntax",
-
-
1679 "error_message" : "Syntax error."
-
-
-
-
-
1684 {"book_offers: taker pays no currency.",
-
-
-
-
1688 "/rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
-
1689 "EUR/rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA",
-
-
-
-
1693 "method" : "book_offers",
-
-
-
1696 "error" : "invalidParams",
-
-
1698 "error_message" : "Invalid currency/issuer '/rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh'"
-
-
-
-
1702 {"book_offers: taker gets no currency.",
-
-
-
-
1706 "USD/rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
-
1707 "/rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA",
-
-
-
-
1711 "method" : "book_offers",
-
-
-
1714 "error" : "invalidParams",
-
-
1716 "error_message" : "Invalid currency/issuer '/rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA'"
-
-
-
-
1720 {"book_offers: invalid issuer.",
-
-
1722 {
"book_offers",
"USD",
"EUR",
"not_a_valid_issuer"},
-
-
-
1725 "method" : "book_offers",
-
-
-
1728 "api_version" : %API_VER%,
-
1729 "issuer" : "not_a_valid_issuer",
-
-
-
-
-
-
-
-
-
-
1739 {"book_offers: invalid text ledger index.",
-
-
-
-
1743 "EUR/rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA",
-
1744 "rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA",
-
-
-
-
1748 "method" : "book_offers",
-
-
-
1751 "api_version" : %API_VER%,
-
1752 "issuer" : "rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA",
-
-
-
-
1756 "issuer" : "rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA"
-
-
-
-
-
-
-
-
-
1765 "book_offers: non-numeric limit.",
-
-
-
-
1769 "USD/rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
-
1770 "EUR/rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA",
-
1771 "rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA",
-
1772 "ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789",
-
-
-
-
-
-
-
-
-
-
1782 {
"can_delete: minimal.",
-
-
-
-
-
-
-
1789 "method" : "can_delete",
-
-
-
1792 "api_version" : %API_VER%,
-
-
-
-
1796 {"can_delete: ledger index.",
-
-
-
-
-
-
-
-
1804 "method" : "can_delete",
-
-
-
1807 "api_version" : %API_VER%,
-
1808 "can_delete" : 4294967295
-
-
-
-
1812 {"can_delete: ledger hash.",
-
-
-
-
1816 "FEDCBA9876543210FEDCBA9876543210FEDCBA9876543210FEDCBA9876543210",
-
-
-
-
1820 "method" : "can_delete",
-
-
-
1823 "api_version" : %API_VER%,
-
1824 "can_delete" : "FEDCBA9876543210FEDCBA9876543210FEDCBA9876543210FEDCBA9876543210"
-
-
-
-
1828 {"can_delete: always.",
-
-
-
-
-
-
-
-
1836 "method" : "can_delete",
-
-
-
1839 "api_version" : %API_VER%,
-
1840 "can_delete" : "always"
-
-
-
-
1844 {"can_delete: never.",
-
-
-
-
-
-
-
-
1852 "method" : "can_delete",
-
-
-
1855 "api_version" : %API_VER%,
-
1856 "can_delete" : "never"
-
-
-
-
1860 {"can_delete: now.",
-
-
-
-
-
-
-
-
1868 "method" : "can_delete",
-
-
-
1871 "api_version" : %API_VER%,
-
1872 "can_delete" : "now"
-
-
-
-
1876 {"can_delete: too many arguments.",
-
-
1878 {
"can_delete",
"always",
"never"},
-
-
-
1881 "method" : "can_delete",
-
-
-
1884 "error" : "badSyntax",
-
-
1886 "error_message" : "Syntax error."
-
-
-
-
1890 {"can_delete: invalid argument.",
-
-
1892 {
"can_delete",
"invalid"},
-
-
-
1895 "method" : "can_delete",
-
-
-
1898 "api_version" : %API_VER%,
-
1899 "can_delete" : "invalid"
-
-
-
-
-
1904 "can_delete: ledger index > 32 bits.",
-
-
-
-
-
-
-
-
-
1913 "can_delete: ledger hash with no alphas.",
-
-
-
-
1917 "0123456701234567012345670123456701234567012345670123456701234567",
-
-
-
-
-
-
-
1924 {
"channel_authorize: minimal.",
-
-
1926 {
"channel_authorize",
-
1927 "secret_can_be_anything",
-
1928 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
-
1929 "18446744073709551615"},
-
-
-
1932 "method" : "channel_authorize",
-
-
-
1935 "api_version" : %API_VER%,
-
1936 "amount" : "18446744073709551615",
-
1937 "channel_id" : "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
-
1938 "secret" : "secret_can_be_anything"
-
-
-
-
1942 {"channel_authorize: too few arguments.",
-
-
-
1945 "channel_authorize",
-
1946 "secret_can_be_anything",
-
1947 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
-
-
-
-
1951 "method" : "channel_authorize",
-
-
-
1954 "error" : "badSyntax",
-
-
1956 "error_message" : "Syntax error."
-
-
-
-
1960 {"channel_authorize: too many arguments.",
-
-
1962 {
"channel_authorize",
-
-
1964 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
-
-
-
-
-
-
1970 "method" : "channel_authorize",
-
-
-
1973 "error" : "badSyntax",
-
-
1975 "error_message" : "Syntax error."
-
-
-
-
1979 {"channel_authorize: bad key type.",
-
-
1981 {
"channel_authorize",
-
-
1983 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
-
-
-
-
-
1988 "method" : "channel_authorize",
-
-
-
1991 "error" : "badKeyType",
-
-
1993 "error_message" : "Bad key type."
-
-
-
-
1997 {"channel_authorize: channel_id too short.",
-
-
1999 {
"channel_authorize",
-
2000 "secret_can_be_anything",
-
2001 "123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
-
-
-
-
2005 "method" : "channel_authorize",
-
-
-
2008 "error" : "channelMalformed",
-
-
2010 "error_message" : "Payment channel is malformed."
-
-
-
-
2014 {"channel_authorize: channel_id too long.",
-
-
2016 {
"channel_authorize",
-
2017 "secret_can_be_anything",
-
2018 "10123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
-
-
-
-
2022 "method" : "channel_authorize",
-
-
-
2025 "error" : "channelMalformed",
-
-
2027 "error_message" : "Payment channel is malformed."
-
-
-
-
2031 {"channel_authorize: channel_id not hex.",
-
-
2033 {
"channel_authorize",
-
2034 "secret_can_be_anything",
-
2035 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEZ",
-
-
-
-
2039 "method" : "channel_authorize",
-
-
-
2042 "error" : "channelMalformed",
-
-
2044 "error_message" : "Payment channel is malformed."
-
-
-
-
2048 {"channel_authorize: negative amount.",
-
-
2050 {
"channel_authorize",
-
2051 "secret_can_be_anything",
-
2052 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
-
-
-
-
2056 "method" : "channel_authorize",
-
-
-
2059 "error" : "channelAmtMalformed",
-
-
2061 "error_message" : "Payment channel amount is malformed."
-
-
-
-
2065 {"channel_authorize: amount > 64 bits.",
-
-
2067 {
"channel_authorize",
-
2068 "secret_can_be_anything",
-
2069 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
-
2070 "18446744073709551616"},
-
-
-
2073 "method" : "channel_authorize",
-
-
-
2076 "error" : "channelAmtMalformed",
-
-
2078 "error_message" : "Payment channel amount is malformed."
-
-
-
-
-
-
-
2085 {
"channel_verify: public key.",
-
-
-
2088 "aB4BXXLuPu8DpVuyq1DBiu3SrPdtK9AYZisKhu8mvkoiUD8J9Gov",
-
2089 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
-
-
-
-
-
2094 "method" : "channel_verify",
-
-
-
2097 "api_version" : %API_VER%,
-
-
2099 "channel_id" : "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
-
2100 "public_key" : "aB4BXXLuPu8DpVuyq1DBiu3SrPdtK9AYZisKhu8mvkoiUD8J9Gov",
-
2101 "signature" : "DEADBEEF"
-
-
-
-
2105 {"channel_verify: public key hex.",
-
-
-
2108 "021D93E21C44160A1B3B66DA1F37B86BE39FFEA3FC4B95FAA2063F82EE823599F6",
-
2109 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
-
2110 "18446744073709551615",
-
-
-
-
2114 "method" : "channel_verify",
-
-
-
2117 "api_version" : %API_VER%,
-
2118 "amount" : "18446744073709551615",
-
2119 "channel_id" : "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
-
2120 "public_key" : "021D93E21C44160A1B3B66DA1F37B86BE39FFEA3FC4B95FAA2063F82EE823599F6",
-
2121 "signature" : "DEADBEEF"
-
-
-
-
2125 {"channel_verify: too few arguments.",
-
-
-
2128 "aB4BXXLuPu8DpVuyq1DBiu3SrPdtK9AYZisKhu8mvkoiUD8J9Gov",
-
2129 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF"},
-
-
-
2132 "method" : "channel_verify",
-
-
-
2135 "error" : "badSyntax",
-
-
2137 "error_message" : "Syntax error."
-
-
-
-
2141 {"channel_verify: too many arguments.",
-
-
-
2144 "aB4BXXLuPu8DpVuyq1DBiu3SrPdtK9AYZisKhu8mvkoiUD8J9Gov",
-
2145 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
-
-
-
-
-
-
2151 "method" : "channel_verify",
-
-
-
2154 "error" : "badSyntax",
-
-
2156 "error_message" : "Syntax error."
-
-
-
-
2160 {"channel_verify: malformed public key.",
-
-
-
2163 "aB4BXXLuPu8DpVuyq1DBiu3SrPdtK9AYZisKhu8mvkoiUD8J9GoV",
-
2164 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
-
-
-
-
-
2169 "method" : "channel_verify",
-
-
-
2172 "error" : "publicMalformed",
-
-
2174 "error_message" : "Public key is malformed."
-
-
-
-
2178 {"channel_verify: malformed hex public key.",
-
-
-
2181 "021D93E21C44160A1B3B66DA1F37B86BE39FFEA3FC4B95FAA2063F82EE823599F",
-
2182 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
-
-
-
-
-
2187 "method" : "channel_verify",
-
-
-
2190 "error" : "publicMalformed",
-
-
2192 "error_message" : "Public key is malformed."
-
-
-
-
2196 {"channel_verify: invalid channel id.",
-
-
-
2199 "aB4BXXLuPu8DpVuyq1DBiu3SrPdtK9AYZisKhu8mvkoiUD8J9Gov",
-
2200 "10123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
-
-
-
-
-
2205 "method" : "channel_verify",
-
-
-
2208 "error" : "channelMalformed",
-
-
2210 "error_message" : "Payment channel is malformed."
-
-
-
-
2214 {"channel_verify: short channel id.",
-
-
-
2217 "aB4BXXLuPu8DpVuyq1DBiu3SrPdtK9AYZisKhu8mvkoiUD8J9Gov",
-
2218 "123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
-
-
-
-
-
2223 "method" : "channel_verify",
-
-
-
2226 "error" : "channelMalformed",
-
-
2228 "error_message" : "Payment channel is malformed."
-
-
-
-
2232 {"channel_verify: amount too small.",
-
-
-
2235 "021D93E21C44160A1B3B66DA1F37B86BE39FFEA3FC4B95FAA2063F82EE823599F6",
-
2236 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
-
-
-
-
-
2241 "method" : "channel_verify",
-
-
-
2244 "error" : "channelAmtMalformed",
-
-
2246 "error_message" : "Payment channel amount is malformed."
-
-
-
-
2250 {"channel_verify: amount too large.",
-
-
-
2253 "021D93E21C44160A1B3B66DA1F37B86BE39FFEA3FC4B95FAA2063F82EE823599F6",
-
2254 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
-
2255 "18446744073709551616",
-
-
-
-
2259 "method" : "channel_verify",
-
-
-
2262 "error" : "channelAmtMalformed",
-
-
2264 "error_message" : "Payment channel amount is malformed."
-
-
-
-
2268 {"channel_verify: non-hex signature.",
-
-
-
2271 "aB4BXXLuPu8DpVuyq1DBiu3SrPdtK9AYZisKhu8mvkoiUD8J9Gov",
-
2272 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
-
-
2274 "ThisIsNotHexadecimal"},
-
-
-
2277 "method" : "channel_verify",
-
-
-
2280 "api_version" : %API_VER%,
-
2281 "amount" : "40000000",
-
2282 "channel_id" : "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
-
2283 "public_key" : "aB4BXXLuPu8DpVuyq1DBiu3SrPdtK9AYZisKhu8mvkoiUD8J9Gov",
-
2284 "signature" : "ThisIsNotHexadecimal"
-
-
-
-
-
-
-
2291 {
"connect: minimal.",
-
-
-
-
2295 "ThereIsNoCheckingOnTheIPFormat",
-
-
-
-
2299 "method" : "connect",
-
-
-
2302 "api_version" : %API_VER%,
-
2303 "ip" : "ThereIsNoCheckingOnTheIPFormat"
-
-
-
-
2307 {"connect: ip and port.",
-
-
2309 {
"connect",
"ThereIsNoCheckingOnTheIPFormat",
"6561"},
-
-
-
2312 "method" : "connect",
-
-
-
2315 "api_version" : %API_VER%,
-
2316 "ip" : "ThereIsNoCheckingOnTheIPFormat",
-
-
-
-
-
2321 {"connect: too few arguments.",
-
-
-
-
-
-
-
2328 "method" : "connect",
-
-
-
2331 "error" : "badSyntax",
-
-
2333 "error_message" : "Syntax error."
-
-
-
-
2337 {"connect: too many arguments.",
-
-
2339 {
"connect",
"ThereIsNoCheckingOnTheIPFormat",
"6561",
"extra"},
-
-
-
2342 "method" : "connect",
-
-
-
2345 "error" : "badSyntax",
-
-
2347 "error_message" : "Syntax error."
-
-
-
-
-
2352 "connect: port too small.",
-
-
-
-
2356 "ThereIsNoCheckingOnTheIPFormat",
-
-
-
-
-
-
2362 "connect: port too large.",
-
-
-
-
2366 "ThereIsNoCheckingOnTheIPFormat",
-
-
-
-
-
-
-
-
2374 {
"consensus_info: minimal.",
-
-
-
-
-
-
-
2381 "method" : "consensus_info",
-
-
-
2384 "api_version" : %API_VER%
-
-
-
-
2388 {"consensus_info: too many arguments.",
-
-
2390 {
"consensus_info",
"whatever"},
-
-
-
2393 "method" : "consensus_info",
-
-
-
2396 "error" : "badSyntax",
-
-
2398 "error_message" : "Syntax error."
-
-
-
-
-
-
-
2405 {
"deposit_authorized: minimal.",
-
-
-
2408 "deposit_authorized",
-
2409 "source_account_NotValidated",
-
2410 "destination_account_NotValidated",
-
-
-
-
2414 "method" : "deposit_authorized",
-
-
-
2417 "api_version" : %API_VER%,
-
2418 "destination_account" : "destination_account_NotValidated",
-
2419 "source_account" : "source_account_NotValidated"
-
-
-
-
2423 {"deposit_authorized: with text ledger index.",
-
-
2425 {
"deposit_authorized",
-
2426 "source_account_NotValidated",
-
2427 "destination_account_NotValidated",
-
-
-
-
2431 "method" : "deposit_authorized",
-
-
-
2434 "api_version" : %API_VER%,
-
2435 "destination_account" : "destination_account_NotValidated",
-
2436 "ledger_index" : "validated",
-
2437 "source_account" : "source_account_NotValidated"
-
-
-
-
2441 {"deposit_authorized: with ledger index.",
-
-
2443 {
"deposit_authorized",
-
2444 "source_account_NotValidated",
-
2445 "destination_account_NotValidated",
-
-
-
-
-
-
-
-
-
-
-
-
2457 "method" : "deposit_authorized",
-
-
-
2460 "api_version" : %API_VER%,
-
2461 "destination_account" : "destination_account_NotValidated",
-
2462 "ledger_index" : 4294967295,
-
2463 "source_account" : "source_account_NotValidated",
-
2464 "credentials": ["cred1", "cred2", "cred3", "cred4", "cred5", "cred6", "cred7", "cred8"]
-
-
-
-
2468 {"deposit_authorized: with ledger hash.",
-
-
2470 {
"deposit_authorized",
-
2471 "source_account_NotValidated",
-
2472 "destination_account_NotValidated",
-
2473 "ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789"},
-
-
-
2476 "method" : "deposit_authorized",
-
-
-
2479 "api_version" : %API_VER%,
-
2480 "destination_account" : "destination_account_NotValidated",
-
2481 "ledger_hash" : "ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789",
-
2482 "source_account" : "source_account_NotValidated"
-
-
-
-
2486 {"deposit_authorized: too few arguments.",
-
-
-
2489 "deposit_authorized",
-
2490 "source_account_NotValidated",
-
-
-
-
2494 "method" : "deposit_authorized",
-
-
-
2497 "error" : "badSyntax",
-
-
2499 "error_message" : "Syntax error."
-
-
-
-
2503 {"deposit_authorized: too many arguments.",
-
-
2505 {
"deposit_authorized",
-
2506 "source_account_NotValidated",
-
2507 "destination_account_NotValidated",
-
2508 "ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789",
-
-
-
-
-
-
-
-
-
-
-
-
2520 "method" : "deposit_authorized",
-
-
-
2523 "error" : "badSyntax",
-
-
2525 "error_message" : "Syntax error."
-
-
-
-
2529 {"deposit_authorized: invalid ledger selection.",
-
-
-
2532 "deposit_authorized",
-
2533 "source_account_NotValidated",
-
2534 "destination_account_NotValidated",
-
-
-
-
-
2539 "method" : "deposit_authorized",
-
-
-
2542 "api_version" : %API_VER%,
-
2543 "destination_account" : "destination_account_NotValidated",
-
-
2545 "source_account" : "source_account_NotValidated"
-
-
-
-
-
-
-
2552 {
"feature: minimal.",
-
-
-
-
-
-
-
2559 "method" : "feature",
-
-
-
2562 "api_version" : %API_VER%,
-
-
-
-
2566 {"feature: with name.",
-
-
2568 {
"feature",
"featureNameOrHexIsNotValidated"},
-
-
-
2571 "method" : "feature",
-
-
-
2574 "api_version" : %API_VER%,
-
2575 "feature" : "featureNameOrHexIsNotValidated"
-
-
-
-
2579 {"feature: accept.",
-
-
-
2582 "FEDCBA9876543210FEDCBA9876543210FEDCBA9876543210FEDCBA9876543210FEDCBA98"
-
-
-
-
-
2587 "method" : "feature",
-
-
-
2590 "api_version" : %API_VER%,
-
2591 "feature" : "FEDCBA9876543210FEDCBA9876543210FEDCBA9876543210FEDCBA9876543210FEDCBA9876543210",
-
-
-
-
-
2596 {"feature: reject.",
-
-
2598 {
"feature",
"0",
"reject"},
-
-
-
2601 "method" : "feature",
-
-
-
2604 "api_version" : %API_VER%,
-
-
-
-
-
-
2610 {"feature: too many arguments.",
-
-
2612 {
"feature",
"featureNameOrHexIsNotValidated",
"accept",
"anotherArg"},
-
-
-
2615 "method" : "feature",
-
-
-
2618 "error" : "badSyntax",
-
-
2620 "error_message" : "Syntax error."
-
-
-
-
2624 {"feature: neither accept nor reject.",
-
-
-
-
2628 "featureNameOrHexIsNotValidated",
-
-
-
-
-
2633 "method" : "feature",
-
-
-
2636 "error" : "invalidParams",
-
-
2638 "error_message" : "Invalid parameters."
-
-
-
-
-
-
-
2645 {
"fetch_info: minimal.",
-
-
-
-
-
-
-
2652 "method" : "fetch_info",
-
-
-
2655 "api_version" : %API_VER%,
-
-
-
-
2659 {"fetch_info: clear.",
-
-
2661 {
"fetch_info",
"clear"},
-
-
-
2664 "method" : "fetch_info",
-
-
-
2667 "api_version" : %API_VER%,
-
-
-
-
-
2672 {"fetch_info: too many arguments.",
-
-
2674 {
"fetch_info",
"clear",
"other"},
-
-
-
2677 "method" : "fetch_info",
-
-
-
2680 "error" : "badSyntax",
-
-
2682 "error_message" : "Syntax error."
-
-
-
-
2686 {"fetch_info: other trailing argument.",
-
-
2688 {
"fetch_info",
"too"},
-
-
-
2691 "method" : "fetch_info",
-
-
-
2694 "api_version" : %API_VER%,
-
-
-
-
-
-
-
-
2702 {
"gateway_balances: minimal.",
-
-
2704 {
"gateway_balances",
"rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh"},
-
-
-
2707 "method" : "gateway_balances",
-
-
-
2710 "api_version" : %API_VER%,
-
2711 "account" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
-
-
-
-
2715 {"gateway_balances: with ledger index.",
-
-
2717 {
"gateway_balances",
"890765",
"rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh"},
-
-
-
2720 "method" : "gateway_balances",
-
-
-
2723 "api_version" : %API_VER%,
-
2724 "account" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
-
2725 "ledger_index" : "890765"
-
-
-
-
2729 {"gateway_balances: with text ledger index.",
-
-
2731 {
"gateway_balances",
"current",
"rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh"},
-
-
-
2734 "method" : "gateway_balances",
-
-
-
2737 "api_version" : %API_VER%,
-
2738 "account" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
-
2739 "ledger_index" : "current"
-
-
-
-
2743 {"gateway_balances: with 64 character ledger hash.",
-
-
2745 {
"gateway_balances",
-
2746 "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV",
-
2747 "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh"},
-
-
-
2750 "method" : "gateway_balances",
-
-
-
2753 "api_version" : %API_VER%,
-
2754 "account" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
-
2755 "ledger_hash" : "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV"
-
-
-
-
2759 {"gateway_balances: 1 hotwallet.",
-
-
2761 {
"gateway_balances",
-
2762 "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
-
2763 "hotwallet_is_not_validated"},
-
-
-
2766 "method" : "gateway_balances",
-
-
-
2769 "api_version" : %API_VER%,
-
2770 "account" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
-
2771 "hotwallet" : [ "hotwallet_is_not_validated" ]
-
-
-
-
2775 {"gateway_balances: 3 hotwallets.",
-
-
-
-
2779 "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV",
-
2780 "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
-
2781 "hotwallet_is_not_validated_1",
-
2782 "hotwallet_is_not_validated_2",
-
2783 "hotwallet_is_not_validated_3",
-
-
-
-
2787 "method" : "gateway_balances",
-
-
-
2790 "api_version" : %API_VER%,
-
2791 "account" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
-
-
2793 "hotwallet_is_not_validated_1",
-
2794 "hotwallet_is_not_validated_2",
-
2795 "hotwallet_is_not_validated_3"
-
-
2797 "ledger_hash" : "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV"
-
-
-
-
2801 {"gateway_balances: too few arguments.",
-
-
-
-
-
-
-
2808 "method" : "gateway_balances",
-
-
-
2811 "error" : "badSyntax",
-
-
2813 "error_message" : "Syntax error."
-
-
-
-
2817 {"gateway_balances: empty first argument.",
-
-
2819 {
"gateway_balances",
""},
-
-
-
2822 "method" : "gateway_balances",
-
-
-
2825 "error" : "invalidParams",
-
-
2827 "error_message" : "Invalid first parameter"
-
-
-
-
2831 {"gateway_balances: with ledger index but no gateway.",
-
-
-
-
-
-
-
-
2839 "method" : "gateway_balances",
-
-
-
2842 "error" : "invalidParams",
-
-
2844 "error_message" : "Invalid hotwallet"
-
-
-
-
2848 {"gateway_balances: with text ledger index but no gateway.",
-
-
-
-
-
-
-
-
2856 "method" : "gateway_balances",
-
-
-
2859 "error" : "invalidParams",
-
-
2861 "error_message" : "Invalid hotwallet"
-
-
-
-
2865 {"gateway_balances: with 64 character ledger hash but no gateway.",
-
-
-
-
2869 "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV",
-
-
-
-
2873 "method" : "gateway_balances",
-
-
-
2876 "error" : "invalidParams",
-
-
2878 "error_message" : "Invalid hotwallet"
-
-
-
-
-
-
-
2885 {
"get_counts: minimal.",
-
-
-
-
-
-
-
2892 "method" : "get_counts",
-
-
-
2895 "api_version" : %API_VER%,
-
-
-
-
2899 {"get_counts: with maximum count.",
-
-
2901 {
"get_counts",
"100"},
-
-
-
2904 "method" : "get_counts",
-
-
-
2907 "api_version" : %API_VER%,
-
-
-
-
-
2912 {"get_counts: too many arguments.",
-
-
2914 {
"get_counts",
"100",
"whatever"},
-
-
-
2917 "method" : "get_counts",
-
-
-
2920 "error" : "badSyntax",
-
-
2922 "error_message" : "Syntax error."
-
-
-
-
2926 {"get_counts: count too small.",
-
-
-
-
-
-
-
-
2934 {"get_counts: count too large.",
-
-
2936 {
"get_counts",
"4294967296"},
-
-
-
-
-
-
-
-
-
-
-
2947 R
"({"json_argument":true})",
-
-
-
-
2951 "method" : "command",
-
-
-
2954 "api_version" : %API_VER%,
-
2955 "json_argument" : true,
-
2956 "method" : "command"
-
-
-
-
2960 {"json: null object.",
-
-
-
-
-
-
-
-
-
2969 "method" : "command",
-
-
-
2972 "api_version" : %API_VER%,
-
2973 "method" : "command"
-
-
-
-
2977 {"json: too few arguments.",
-
-
2979 {
"json",
"command"},
-
-
-
-
-
-
2985 "error" : "badSyntax",
-
-
2987 "error_message" : "Syntax error."
-
-
-
-
2991 {"json: too many arguments.",
-
-
2993 {
"json",
"command", R
"({"json_argument":true})", "extra"},
-
-
-
-
-
-
2999 "error" : "badSyntax",
-
-
3001 "error_message" : "Syntax error."
-
-
-
-
3005 {"json: array, not object.",
-
-
-
-
-
3010 R
"(["arg1","arg2"])",
-
-
-
-
-
-
-
3017 "error" : "invalidParams",
-
-
3019 "error_message" : "Invalid parameters."
-
-
-
-
3023 {"json: invalid json (note closing comma).",
-
-
-
-
-
3028 R
"({"json_argument":true,})",
-
-
-
-
-
-
-
3035 "error" : "invalidParams",
-
-
3037 "error_message" : "Invalid parameters."
-
-
-
-
-
-
-
3044 {
"json2: minimal object.",
-
-
-
-
3048 R
"({"jsonrpc":"2.0","ripplerpc":"2.0","id":"A1","method":"call_1"})",
-
-
-
-
-
-
3054 "method" : "call_1",
-
-
-
3057 "api_version" : %API_VER%,
-
-
-
3060 "method" : "call_1",
-
-
-
-
-
-
3066 {"json2: object with nested params.",
-
-
-
-
-
-
3072 "ripplerpc" : "2.0",
-
-
3074 "method" : "call_1",
-
3075 "params" : [{"inner_arg" : "yup"}]
-
-
-
-
-
-
-
3082 "method" : "call_1",
-
-
-
3085 "api_version" : %API_VER%,
-
-
-
-
-
-
3091 "method" : "call_1",
-
-
-
-
-
-
3097 {"json2: minimal array.",
-
-
-
-
3101 R
"([{"jsonrpc":"2.0","ripplerpc":"2.0","id":"A1","method":"call_1"}])",
-
-
-
-
-
-
-
-
3109 "api_version" : %API_VER%,
-
-
-
3112 "method" : "call_1",
-
-
-
-
-
-
3118 {"json2: array with object with nested params.",
-
-
-
-
-
-
-
-
-
3127 "params" : [{"inner_arg" : "yup"}]}
-
-
-
-
-
-
-
-
-
3136 "api_version" : %API_VER%,
-
-
-
-
-
-
3142 "method" : "call_1",
-
-
-
-
-
3147 {"json2: too few arguments.",
-
-
-
-
-
-
-
-
-
-
3157 "error" : "badSyntax",
-
-
3159 "error_message" : "Syntax error."
-
-
-
-
3163 {"json2: too many arguments.",
-
-
-
3166 R
"({"jsonrpc":"2.0","ripplerpc":"2.0","id":"A1","method":"call_this"})",
-
-
-
-
-
-
-
3173 "error" : "badSyntax",
-
-
3175 "error_message" : "Syntax error."
-
-
-
-
3179 {"json2: malformed json (note extra comma).",
-
-
-
-
3183 R
"({"jsonrpc":"2.0","ripplerpc":"2.0","id":"A1","method":"call_1",})",
-
-
-
-
-
-
-
-
-
3192 "error" : "invalidParams",
-
-
3194 "error_message" : "Invalid parameters.",
-
-
-
-
-
-
-
-
3202 {"json2: omit jsonrpc.",
-
-
-
-
3206 R
"({"ripplerpc":"2.0","id":"A1","method":"call_1"})",
-
-
-
-
-
-
-
-
3214 "error" : "invalidParams",
-
-
3216 "error_message" : "Invalid parameters.",
-
-
-
-
-
-
-
3223 {"json2: wrong jsonrpc version.",
-
-
-
-
3227 R
"({"jsonrpc":"2.1","ripplerpc":"2.0","id":"A1","method":"call_1"})",
-
-
-
-
-
-
-
-
-
3236 "error" : "invalidParams",
-
-
3238 "error_message" : "Invalid parameters.",
-
-
-
-
-
-
-
-
3246 {"json2: omit ripplerpc.",
-
-
-
-
3250 R
"({"jsonrpc":"2.0","id":"A1","method":"call_1"})",
-
-
-
-
-
-
-
-
-
3259 "error" : "invalidParams",
-
-
3261 "error_message" : "Invalid parameters.",
-
-
-
-
-
-
3267 {"json2: wrong ripplerpc version.",
-
-
-
-
3271 R
"({"jsonrpc":"2.0","ripplerpc":"2.00","id":"A1","method":"call_1"})",
-
-
-
-
-
-
-
-
-
3280 "error" : "invalidParams",
-
-
3282 "error_message" : "Invalid parameters.",
-
-
-
3285 "ripplerpc" : "2.00"
-
-
-
3288 "ripplerpc" : "2.00"
-
-
-
-
-
-
3294 R
"({"jsonrpc":"2.0","ripplerpc":"2.0","method":"call_1"})",
-
-
-
-
-
-
-
-
3302 "error" : "invalidParams",
-
-
3304 "error_message" : "Invalid parameters.",
-
-
-
-
-
-
-
3311 {"json2: omit method.",
-
-
-
-
3315 R
"({"jsonrpc":"2.0","ripplerpc":"2.0","id":"A1"})",
-
-
-
-
-
-
-
-
-
3324 "error" : "invalidParams",
-
-
3326 "error_message" : "Invalid parameters.",
-
-
-
-
-
-
-
-
3334 {"json2: empty outer array.",
-
-
-
-
-
-
-
-
-
-
-
3345 "error" : "invalidParams",
-
-
3347 "error_message" : "Invalid parameters."
-
-
-
-
3351 {"json2: empty inner array.",
-
-
-
-
3355 R
"([{"jsonrpc":"2.0","ripplerpc":"2.0","id":"A1","method":"call_1",[]}])",
-
-
-
-
-
-
-
3362 "error" : "invalidParams",
-
-
3364 "error_message" : "Invalid parameters."
-
-
-
-
3368 {"json2: array with non-json2 object.",
-
-
-
-
-
-
3374 "ripplerpc" : "2.0",
-
-
-
-
-
-
-
-
-
-
-
3385 "error" : "invalidParams",
-
-
3387 "error_message" : "Invalid parameters."
-
-
-
-
3391 {"json2: non-object or -array inner params member.",
-
-
-
-
-
-
3397 "ripplerpc" : "2.0",
-
-
3399 "method" : "call_1",
-
-
-
-
-
-
-
-
-
-
-
3410 "error" : "invalidParams",
-
-
3412 "error_message" : "Invalid parameters.",
-
-
-
-
-
-
-
-
-
-
-
3423 {
"ledger: minimal.",
-
-
-
-
-
3428 "method" : "ledger",
-
-
-
3431 "api_version" : %API_VER%,
-
-
-
-
3435 {"ledger: ledger index.",
-
-
3437 {
"ledger",
"4294967295"},
-
-
-
3440 "method" : "ledger",
-
-
-
3443 "api_version" : %API_VER%,
-
3444 "ledger_index" : 4294967295
-
-
-
-
3448 {"ledger: text ledger index.",
-
-
3450 {
"ledger",
"validated"},
-
-
-
3453 "method" : "ledger",
-
-
-
3456 "api_version" : %API_VER%,
-
3457 "ledger_index" : "validated"
-
-
-
-
3461 {"ledger: ledger hash.",
-
-
-
3464 "ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789"},
-
-
-
3467 "method" : "ledger",
-
-
-
3470 "api_version" : %API_VER%,
-
3471 "ledger_hash" : "ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789"
-
-
-
-
-
-
3477 {
"ledger",
"current",
"full"},
-
-
-
3480 "method" : "ledger",
-
-
-
3483 "api_version" : %API_VER%,
-
-
3485 "ledger_index" : "current"
-
-
-
-
-
-
3491 {
"ledger",
"closed",
"tx"},
-
-
-
3494 "method" : "ledger",
-
-
-
3497 "api_version" : %API_VER%,
-
-
3499 "ledger_index" : "closed",
-
3500 "transactions" : true
-
-
-
-
3504 {"ledger: too many arguments.",
-
-
3506 {
"ledger",
"4294967295",
"spare"},
-
-
-
3509 "method" : "ledger",
-
-
-
3512 "api_version" : %API_VER%,
-
3513 "ledger_index" : 4294967295
-
-
-
-
3517 {"ledger: ledger index too small.",
-
-
-
-
-
3522 "method" : "ledger",
-
-
-
3525 "api_version" : %API_VER%,
-
-
-
-
-
3530 {"ledger: ledger index too big.",
-
-
3532 {
"ledger",
"4294967296"},
-
-
-
3535 "method" : "ledger",
-
-
-
3538 "api_version" : %API_VER%,
-
-
-
-
-
3543 {"ledger: invalid ledger text.",
-
-
3545 {
"ledger",
"latest"},
-
-
-
3548 "method" : "ledger",
-
-
-
3551 "api_version" : %API_VER%,
-
-
-
-
-
3556 {"ledger: unsupported final argument.",
-
-
3558 {
"ledger",
"current",
"expand"},
-
-
-
3561 "method" : "ledger",
-
-
-
3564 "api_version" : %API_VER%,
-
3565 "ledger_index" : "current"
-
-
-
-
-
-
-
3572 {
"ledger_closed: minimal.",
-
-
-
-
-
3577 "method" : "ledger_closed",
-
-
-
3580 "api_version" : %API_VER%,
-
-
-
-
3584 {"ledger_closed: too many arguments.",
-
-
3586 {
"ledger_closed",
"today"},
-
-
-
3589 "method" : "ledger_closed",
-
-
-
3592 "error" : "badSyntax",
-
-
3594 "error_message" : "Syntax error."
-
-
-
-
-
-
-
3601 {
"ledger_current: minimal.",
-
-
-
-
-
3606 "method" : "ledger_current",
-
-
-
3609 "api_version" : %API_VER%,
-
-
-
-
3613 {"ledger_current: too many arguments.",
-
-
3615 {
"ledger_current",
"today"},
-
-
-
3618 "method" : "ledger_current",
-
-
-
3621 "error" : "badSyntax",
-
-
3623 "error_message" : "Syntax error."
-
-
-
-
-
-
-
3630 {
"ledger_header: ledger index.",
-
-
3632 {
"ledger_header",
"4294967295"},
-
-
-
3635 "method" : "ledger_header",
-
-
-
3638 "api_version" : %API_VER%,
-
3639 "ledger_index" : 4294967295
-
-
-
-
3643 {"ledger_header: ledger hash.",
-
-
-
3646 "ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789"},
-
-
-
3649 "method" : "ledger_header",
-
-
-
3652 "api_version" : %API_VER%,
-
3653 "ledger_hash" : "ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789"
-
-
-
-
3657 {"ledger_header: too few arguments.",
-
-
-
-
-
-
-
3664 "method" : "ledger_header",
-
-
-
3667 "error" : "badSyntax",
-
-
3669 "error_message" : "Syntax error."
-
-
-
-
3673 {"ledger_header: too many arguments.",
-
-
3675 {
"ledger_header",
"4294967295",
"spare"},
-
-
-
3678 "method" : "ledger_header",
-
-
-
3681 "error" : "badSyntax",
-
-
3683 "error_message" : "Syntax error."
-
-
-
-
3687 {"ledger_header: text ledger index.",
-
-
3689 {
"ledger_header",
"current"},
-
-
-
3692 "method" : "ledger_header",
-
-
-
3695 "api_version" : %API_VER%,
-
-
-
-
-
3700 {"ledger_header: ledger index too small.",
-
-
3702 {
"ledger_header",
"-1"},
-
-
-
3705 "method" : "ledger_header",
-
-
-
3708 "api_version" : %API_VER%,
-
-
-
-
-
3713 {"ledger_header: ledger index too big.",
-
-
3715 {
"ledger_header",
"4294967296"},
-
-
-
3718 "method" : "ledger_header",
-
-
-
3721 "api_version" : %API_VER%,
-
-
-
-
-
-
-
-
3729 {
"ledger_request: ledger index.",
-
-
3731 {
"ledger_request",
"4294967295"},
-
-
-
3734 "method" : "ledger_request",
-
-
-
3737 "api_version" : %API_VER%,
-
3738 "ledger_index" : 4294967295
-
-
-
-
3742 {"ledger_request: ledger hash.",
-
-
-
3745 "ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789"},
-
-
-
3748 "method" : "ledger_request",
-
-
-
3751 "api_version" : %API_VER%,
-
3752 "ledger_hash" : "ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789"
-
-
-
-
3756 {"ledger_request: too few arguments.",
-
-
-
-
-
-
-
3763 "method" : "ledger_request",
-
-
-
3766 "error" : "badSyntax",
-
-
3768 "error_message" : "Syntax error."
-
-
-
-
3772 {"ledger_request: too many arguments.",
-
-
3774 {
"ledger_request",
"4294967295",
"spare"},
-
-
-
3777 "method" : "ledger_request",
-
-
-
3780 "error" : "badSyntax",
-
-
3782 "error_message" : "Syntax error."
-
-
-
-
3786 {"ledger_request: text ledger index.",
-
-
3788 {
"ledger_request",
"current"},
-
-
-
3791 "method" : "ledger_request",
-
-
-
3794 "api_version" : %API_VER%,
-
-
-
-
-
3799 {"ledger_request: ledger index too small.",
-
-
3801 {
"ledger_request",
"-1"},
-
-
-
3804 "method" : "ledger_request",
-
-
-
3807 "api_version" : %API_VER%,
-
-
-
-
-
3812 {"ledger_request: ledger index too big.",
-
-
3814 {
"ledger_request",
"4294967296"},
-
-
-
3817 "method" : "ledger_request",
-
-
-
3820 "api_version" : %API_VER%,
-
-
-
-
-
-
-
-
3828 {
"log_level: minimal.",
-
-
-
-
-
-
-
3835 "method" : "log_level",
-
-
-
3838 "api_version" : %API_VER%,
-
-
-
-
3842 {"log_level: fatal.",
-
-
3844 {
"log_level",
"fatal"},
-
-
-
3847 "method" : "log_level",
-
-
-
3850 "api_version" : %API_VER%,
-
3851 "severity" : "fatal"
-
-
-
-
3855 {"log_level: error.",
-
-
3857 {
"log_level",
"error"},
-
-
-
3860 "method" : "log_level",
-
-
-
3863 "api_version" : %API_VER%,
-
3864 "severity" : "error"
-
-
-
-
3868 {"log_level: warn.",
-
-
3870 {
"log_level",
"warn"},
-
-
-
3873 "method" : "log_level",
-
-
-
3876 "api_version" : %API_VER%,
-
-
-
-
-
3881 {"log_level: debug.",
-
-
3883 {
"log_level",
"debug"},
-
-
-
3886 "method" : "log_level",
-
-
-
3889 "api_version" : %API_VER%,
-
3890 "severity" : "debug"
-
-
-
-
3894 {"log_level: trace.",
-
-
3896 {
"log_level",
"trace"},
-
-
-
3899 "method" : "log_level",
-
-
-
3902 "api_version" : %API_VER%,
-
3903 "severity" : "trace"
-
-
-
-
3907 {"log_level: base partition.",
-
-
3909 {
"log_level",
"base",
"trace"},
-
-
-
3912 "method" : "log_level",
-
-
-
3915 "api_version" : %API_VER%,
-
3916 "partition" : "base",
-
3917 "severity" : "trace"
-
-
-
-
3921 {"log_level: partiton_name.",
-
-
3923 {
"log_level",
"partition_name",
"fatal"},
-
-
-
3926 "method" : "log_level",
-
-
-
3929 "api_version" : %API_VER%,
-
3930 "partition" : "partition_name",
-
3931 "severity" : "fatal"
-
-
-
-
3935 {"log_level: too many arguments.",
-
-
3937 {
"log_level",
"partition_name",
"fatal",
"extra"},
-
-
-
3940 "method" : "log_level",
-
-
-
3943 "error" : "badSyntax",
-
-
3945 "error_message" : "Syntax error."
-
-
-
-
3949 {"log_level: invalid severity.",
-
-
3951 {
"log_level",
"err"},
-
-
-
3954 "method" : "log_level",
-
-
-
3957 "api_version" : %API_VER%,
-
-
-
-
-
3962 {"log_level: swap partition name and severity.",
-
-
-
-
-
-
-
-
-
3971 "method" : "log_level",
-
-
-
3974 "api_version" : %API_VER%,
-
3975 "partition" : "fatal",
-
3976 "severity" : "partition_name"
-
-
-
-
-
-
-
3983 {
"logrotate: minimal.",
-
-
-
-
-
-
-
3990 "method" : "logrotate",
-
-
-
3993 "api_version" : %API_VER%,
-
-
-
-
3997 {"logrotate: too many arguments.",
-
-
3999 {
"logrotate",
"extra"},
-
-
-
4002 "method" : "logrotate",
-
-
-
4005 "error" : "badSyntax",
-
-
4007 "error_message" : "Syntax error."
-
-
-
-
-
-
-
4014 {
"owner_info: minimal.",
-
-
4016 {
"owner_info",
"rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh"},
-
-
-
4019 "method" : "owner_info",
-
-
-
4022 "api_version" : %API_VER%,
-
4023 "account" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh"
-
-
-
-
4027 {"owner_info: with numeric ledger index.",
-
-
4029 {
"owner_info",
"rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
"987654321"},
-
-
-
4032 "method" : "owner_info",
-
-
-
4035 "api_version" : %API_VER%,
-
4036 "account" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
-
4037 "ledger_index" : 987654321
-
-
-
-
4041 {"owner_info: with text ledger index.",
-
-
4043 {
"owner_info",
"rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
"validated"},
-
-
-
4046 "method" : "owner_info",
-
-
-
4049 "api_version" : %API_VER%,
-
4050 "account" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
-
4051 "ledger_index" : "validated"
-
-
-
-
4055 {"owner_info: with ledger hash.",
-
-
-
4058 "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
-
4059 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF"},
-
-
-
4062 "method" : "owner_info",
-
-
-
4065 "api_version" : %API_VER%,
-
4066 "account" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
-
4067 "ledger_hash" : "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF"
-
-
-
-
4071 {"owner_info: with ledger index.",
-
-
4073 {
"owner_info",
"rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
"validated"},
-
-
-
4076 "method" : "owner_info",
-
-
-
4079 "account" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
-
4080 "api_version" : %API_VER%,
-
4081 "ledger_index" : "validated"
-
-
-
-
4085 {"owner_info: too few arguments.",
-
-
-
-
-
-
-
4092 "method" : "owner_info",
-
-
-
4095 "error" : "badSyntax",
-
-
4097 "error_message" : "Syntax error."
-
-
-
-
4101 {"owner_info: too many arguments.",
-
-
-
-
4105 "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
-
-
-
-
-
-
-
4112 "method" : "owner_info",
-
-
-
4115 "error" : "badSyntax",
-
-
4117 "error_message" : "Syntax error."
-
-
-
-
-
4122 "owner_info: invalid accountID.",
-
-
-
-
-
-
-
-
4130 "method" : "owner_info",
-
-
-
4133 "error" : "actMalformed",
-
-
4135 "error_message" : "Account malformed."
-
-
-
-
-
-
-
-
4143 "owner_info: invalid ledger selection.",
-
-
4145 {
"owner_info",
"rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
"no_ledger"},
-
-
-
4148 "method" : "owner_info",
-
-
-
4151 "api_version" : %API_VER%,
-
4152 "account" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
-
-
-
-
-
-
-
-
-
4161 "owner_info: invalid ledger selection.",
-
-
4163 {
"owner_info",
"rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
"no_ledger"},
-
-
-
4166 "method" : "owner_info",
-
-
-
4169 "account" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
-
4170 "api_version" : %API_VER%,
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
4189 "api_version" : %API_VER%,
-
-
-
-
4193 {"peers: too many arguments.",
-
-
-
-
-
-
-
-
4201 "error" : "badSyntax",
-
-
4203 "error_message" : "Syntax error."
-
-
-
-
-
-
-
4210 {
"peer_reservations_add: minimal.",
-
-
4212 {
"peer_reservations_add",
"public_key_string"},
-
-
-
4215 "method" : "peer_reservations_add",
-
-
-
4218 "api_version" : %API_VER%,
-
4219 "public_key" : "public_key_string"
-
-
-
-
4223 {"peer_reservations_add: with description.",
-
-
4225 {
"peer_reservations_add",
"public_key_string",
"public_key_description"},
-
-
-
4228 "method" : "peer_reservations_add",
-
-
-
4231 "api_version" : %API_VER%,
-
4232 "description" : "public_key_description",
-
4233 "public_key" : "public_key_string"
-
-
-
-
4237 {"peer_reservations_add: too few arguments.",
-
-
4239 {
"peer_reservations_add"},
-
-
-
4242 "method" : "peer_reservations_add",
-
-
-
4245 "error" : "badSyntax",
-
-
4247 "error_message" : "Syntax error."
-
-
-
-
4251 {"peer_reservations_add: too many arguments.",
-
-
4253 {
"peer_reservations_add",
-
4254 "public_key_string",
-
4255 "public_key_description",
-
-
-
-
4259 "method" : "peer_reservations_add",
-
-
-
4262 "error" : "badSyntax",
-
-
4264 "error_message" : "Syntax error."
-
-
-
-
-
-
-
4271 {
"peer_reservations_del: minimal.",
-
-
4273 {
"peer_reservations_del",
"public_key_string"},
-
-
-
4276 "method" : "peer_reservations_del",
-
-
-
4279 "api_version" : %API_VER%,
-
4280 "public_key" : "public_key_string"
-
-
-
-
4284 {"peer_reservations_del: too few arguments.",
-
-
4286 {
"peer_reservations_del"},
-
-
-
4289 "method" : "peer_reservations_del",
-
-
-
4292 "error" : "badSyntax",
-
-
4294 "error_message" : "Syntax error."
-
-
-
-
4298 {"peer_reservations_del: too many arguments.",
-
-
4300 {
"peer_reservations_del",
-
4301 "public_key_string",
-
4302 "public_key_description",
-
-
-
-
4306 "method" : "peer_reservations_del",
-
-
-
4309 "error" : "badSyntax",
-
-
4311 "error_message" : "Syntax error."
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
4328 "api_version" : %API_VER%,
-
-
-
-
4332 {"ping: too many arguments.",
-
-
-
-
-
-
-
-
4340 "error" : "badSyntax",
-
-
4342 "error_message" : "Syntax error."
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
4359 "api_version" : %API_VER%,
-
-
-
-
-
4364 "print: extra argument.",
-
-
-
-
-
-
-
-
4372 "api_version" : %API_VER%,
-
4373 "params" : [ "extra" ]
-
-
-
-
4377 {"print: too many arguments.",
-
-
4379 {
"print",
"extra1",
"extra2"},
-
-
-
-
-
-
4385 "error" : "badSyntax",
-
-
4387 "error_message" : "Syntax error."
-
-
-
-
-
-
-
4394 {
"random: minimal.",
-
-
-
-
-
-
-
4401 "method" : "random",
-
-
-
4404 "api_version" : %API_VER%,
-
-
-
-
4408 {"random: too many arguments.",
-
-
4410 {
"random",
"extra"},
-
-
-
4413 "method" : "random",
-
-
-
4416 "error" : "badSyntax",
-
-
4418 "error_message" : "Syntax error."
-
-
-
-
-
-
-
4425 {
"ripple_path_find: minimal.",
-
-
-
-
4429 R
"({"json_argument":true})",
-
-
-
-
4433 "method" : "ripple_path_find",
-
-
-
4436 "api_version" : %API_VER%,
-
4437 "json_argument" : true
-
-
-
-
4441 {"ripple_path_find: ledger index.",
-
-
4443 {
"ripple_path_find", R
"({"json_argument":true})", "4294967295"},
-
-
-
4446 "method" : "ripple_path_find",
-
-
-
4449 "api_version" : %API_VER%,
-
4450 "json_argument" : true,
-
4451 "ledger_index" : 4294967295
-
-
-
-
4455 {"ripple_path_find: text ledger index.",
-
-
4457 {
"ripple_path_find", R
"({"json_argument":true})", "closed"},
-
-
-
4460 "method" : "ripple_path_find",
-
-
-
4463 "api_version" : %API_VER%,
-
4464 "json_argument" : true,
-
4465 "ledger_index" : "closed"
-
-
-
-
4469 {"ripple_path_find: ledger hash.",
-
-
4471 {
"ripple_path_find",
-
4472 R
"({"json_argument":true})",
-
4473 "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV"},
-
-
-
4476 "method" : "ripple_path_find",
-
-
-
4479 "api_version" : %API_VER%,
-
4480 "json_argument" : true,
-
4481 "ledger_hash" : "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV"
-
-
-
-
-
4486 {"ripple_path_find: too few arguments.",
-
-
-
-
-
-
-
4493 "method" : "ripple_path_find",
-
-
-
4496 "error" : "badSyntax",
-
-
4498 "error_message" : "Syntax error."
-
-
-
-
4502 {"ripple_path_find: too many arguments.",
-
-
4504 {
"ripple_path_find", R
"({"json_argument":true})", "current",
"extra"},
-
-
-
4507 "method" : "ripple_path_find",
-
-
-
4510 "error" : "badSyntax",
-
-
4512 "error_message" : "Syntax error."
-
-
-
-
4516 {"ripple_path_find: invalid json (note extra comma).",
-
-
-
-
4520 R
"({"json_argument":true,})",
-
-
-
-
4524 "method" : "ripple_path_find",
-
-
-
4527 "error" : "invalidParams",
-
-
4529 "error_message" : "Invalid parameters."
-
-
-
-
4533 {"ripple_path_find: ledger index too small.",
-
-
4535 {
"ripple_path_find", R
"({"json_argument":true})", "-1"},
-
-
-
4538 "method" : "ripple_path_find",
-
-
-
4541 "api_version" : %API_VER%,
-
4542 "json_argument" : true,
-
-
-
-
-
4547 {"ripple_path_find: ledger index too big.",
-
-
4549 {
"ripple_path_find", R
"({"json_argument":true})", "4294967296"},
-
-
-
4552 "method" : "ripple_path_find",
-
-
-
4555 "api_version" : %API_VER%,
-
4556 "json_argument" : true,
-
-
-
-
-
4561 {"ripple_path_find: invalid text ledger index.",
-
-
4563 {
"ripple_path_find", R
"({"json_argument":true})", "cur"},
-
-
-
4566 "method" : "ripple_path_find",
-
-
-
4569 "api_version" : %API_VER%,
-
4570 "json_argument" : true,
-
-
-
-
-
-
-
-
-
-
-
-
-
4583 R
"({"json_argument":true})",
-
-
-
-
-
-
-
4590 "api_version" : %API_VER%,
-
4591 "secret" : "my_secret",
-
-
4593 "json_argument" : true
-
-
-
-
-
-
-
4600 {
"sign",
"my_secret", R
"({"json_argument":true})", "offline"},
-
-
-
-
-
-
4606 "api_version" : %API_VER%,
-
-
4608 "secret" : "my_secret",
-
-
4610 "json_argument" : true
-
-
-
-
-
4615 {"sign: too few arguments.",
-
-
4617 {
"sign",
"contents_of_blob"},
-
-
-
-
-
-
4623 "error" : "badSyntax",
-
-
4625 "error_message" : "Syntax error."
-
-
-
-
4629 {"sign: offline flag with signature_target.",
-
-
4631 {
"sign",
"my_secret", R
"({"json_argument":true})", "offline",
"extra"},
-
-
-
-
-
-
4637 "api_version" : %API_VER%,
-
-
4639 "secret" : "my_secret",
-
4640 "signature_target" : "extra",
-
-
-
4643 "json_argument" : true
-
-
-
-
-
4648 {"sign: too many arguments.",
-
-
-
-
4652 R
"({"json_argument":true})",
-
-
4654 "CounterpartySignature",
-
-
-
-
-
-
-
4661 "error" : "badSyntax",
-
-
4663 "error_message" : "Syntax error."
-
-
-
-
4667 {"sign: invalid JSON (note extra comma).",
-
-
-
-
-
4672 R
"({"json_argument":true,})",
-
-
-
-
-
-
-
4679 "error" : "invalidParams",
-
-
4681 "error_message" : "Invalid parameters."
-
-
-
-
4685 {"sign: misspelled offline flag interpreted as signature_target.",
-
-
4687 {
"sign",
"my_secret", R
"({"json_argument":true})", "offlin"},
-
-
-
-
-
-
4693 "api_version" : %API_VER%,
-
4694 "secret" : "my_secret",
-
4695 "signature_target" : "offlin",
-
-
-
4698 "json_argument" : true
-
-
-
-
-
-
-
-
4706 {
"sign_for: minimal.",
-
-
-
-
4710 "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
-
-
4712 R
"({"json_argument":true})",
-
-
-
-
4716 "method" : "sign_for",
-
-
-
4719 "api_version" : %API_VER%,
-
4720 "account" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
-
4721 "secret" : "my_secret",
-
-
4723 "json_argument" : true
-
-
-
-
-
4728 {"sign_for: offline.",
-
-
-
4731 "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
-
-
4733 R
"({"json_argument":true})",
-
-
-
-
4737 "method" : "sign_for",
-
-
-
4740 "api_version" : %API_VER%,
-
4741 "account" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
-
-
4743 "secret" : "my_secret",
-
-
4745 "json_argument" : true
-
-
-
-
-
4750 {"sign_for: too few arguments.",
-
-
-
-
4754 "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
-
-
-
-
-
4759 "method" : "sign_for",
-
-
-
4762 "error" : "badSyntax",
-
-
4764 "error_message" : "Syntax error."
-
-
-
-
4768 {"sign_for: too many arguments.",
-
-
-
4771 "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
-
-
4773 R
"({"json_argument":true})",
-
-
-
-
-
4778 "method" : "sign_for",
-
-
-
4781 "error" : "badSyntax",
-
-
4783 "error_message" : "Syntax error."
-
-
-
-
4787 {"sign_for: invalid json (note extra comma).",
-
-
-
-
4791 "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
-
-
4793 R
"({"json_argument":true,})",
-
-
-
-
4797 "method" : "sign_for",
-
-
-
4800 "error" : "invalidParams",
-
-
4802 "error_message" : "Invalid parameters."
-
-
-
-
4806 {"sign_for: invalid final argument.",
-
-
-
4809 "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
-
-
4811 R
"({"json_argument":true})",
-
-
-
-
4815 "method" : "sign_for",
-
-
-
4818 "error" : "invalidParams",
-
-
4820 "error_message" : "Invalid parameters."
-
-
-
-
-
-
-
-
-
4829 {
"submit",
"the blob is unvalidated and may be any length..."},
-
-
-
4832 "method" : "submit",
-
-
-
4835 "api_version" : %API_VER%,
-
4836 "tx_blob" : "the blob is unvalidated and may be any length..."
-
-
-
-
-
-
-
-
-
4845 R
"({"json_argument":true})",
-
-
-
-
4849 "method" : "submit",
-
-
-
4852 "api_version" : %API_VER%,
-
4853 "secret" : "my_secret",
-
-
4855 "json_argument" : true
-
-
-
-
-
4860 {"submit: too few arguments.",
-
-
-
-
-
-
-
4867 "method" : "submit",
-
-
-
4870 "error" : "badSyntax",
-
-
4872 "error_message" : "Syntax error."
-
-
-
-
-
4877 "submit: four arguments.",
-
-
4879 {
"submit",
"my_secret", R
"({"json_argument":true})", "offline"},
-
-
-
4882 "method" : "submit",
-
-
-
4885 "api_version" : %API_VER%,
-
-
4887 "secret" : "my_secret",
-
-
4889 "json_argument" : true
-
-
-
-
-
4894 {"submit: offline flag with signature_target.",
-
-
4896 {
"submit",
"my_secret", R
"({"json_argument":true})", "offline",
"extra"},
-
-
-
4899 "method" : "submit",
-
-
-
4902 "api_version" : %API_VER%,
-
-
4904 "secret" : "my_secret",
-
4905 "signature_target" : "extra",
-
-
-
4908 "json_argument" : true
-
-
-
-
-
4913 {"submit: too many arguments.",
-
-
-
-
4917 R
"({"json_argument":true})",
-
-
4919 "CounterpartySignature",
-
-
-
-
4923 "method" : "submit",
-
-
-
4926 "error" : "badSyntax",
-
-
4928 "error_message" : "Syntax error."
-
-
-
-
4932 {"submit: invalid json (note extra comma).",
-
-
-
-
-
4937 R
"({"json_argument":true,})",
-
-
-
-
4941 "method" : "submit",
-
-
-
4944 "error" : "invalidParams",
-
-
4946 "error_message" : "Invalid parameters."
-
-
-
-
4950 {"submit: misspelled offline flag interpreted as signature_target.",
-
-
4952 {
"submit",
"my_secret", R
"({"json_argument":true})", "offlne"},
-
-
-
4955 "method" : "submit",
-
-
-
4958 "api_version" : %API_VER%,
-
4959 "secret" : "my_secret",
-
4960 "signature_target" : "offlne",
-
-
-
4963 "json_argument" : true
-
-
-
-
-
-
-
-
4971 {
"submit_multisigned: json.",
-
-
-
4974 "submit_multisigned",
-
4975 R
"({"json_argument":true})",
-
-
-
-
4979 "method" : "submit_multisigned",
-
-
-
4982 "api_version" : %API_VER%,
-
-
4984 "json_argument" : true
-
-
-
-
-
4989 {"submit_multisigned: too few arguments.",
-
-
-
4992 "submit_multisigned",
-
-
-
-
4996 "method" : "submit_multisigned",
-
-
-
4999 "error" : "badSyntax",
-
-
5001 "error_message" : "Syntax error."
-
-
-
-
5005 {"submit_multisigned: too many arguments.",
-
-
5007 {
"submit_multisigned", R
"({"json_argument":true})", "extra"},
-
-
-
5010 "method" : "submit_multisigned",
-
-
-
5013 "error" : "badSyntax",
-
-
5015 "error_message" : "Syntax error."
-
-
-
-
5019 {"submit_multisigned: invalid json (note extra comma).",
-
-
-
5022 "submit_multisigned",
-
5023 R
"({"json_argument":true,})",
-
-
-
-
5027 "method" : "submit_multisigned",
-
-
-
5030 "error" : "invalidParams",
-
-
5032 "error_message" : "Invalid parameters."
-
-
-
-
-
-
-
-
5040 {
"server_info: minimal.",
-
-
-
-
-
-
-
5047 "method" : "server_info",
-
-
-
5050 "api_version" : %API_VER%,
-
-
-
-
5054 {"server_info: counters.",
-
-
5056 {
"server_info",
"counters"},
-
-
-
5059 "method" : "server_info",
-
-
-
5062 "api_version" : %API_VER%,
-
-
-
-
-
5067 {"server_info: too many arguments.",
-
-
5069 {
"server_info",
"counters",
"extra"},
-
-
-
5072 "method" : "server_info",
-
-
-
5075 "error" : "badSyntax",
-
-
5077 "error_message" : "Syntax error."
-
-
-
-
5081 {"server_info: non-counters argument.",
-
-
5083 {
"server_info",
"counter"},
-
-
-
5086 "method" : "server_info",
-
-
-
5089 "api_version" : %API_VER%,
-
-
-
-
-
-
-
5096 {
"server_state: minimal.",
-
-
-
-
-
-
-
5103 "method" : "server_state",
-
-
-
5106 "api_version" : %API_VER%,
-
-
-
-
5110 {"server_state: counters.",
-
-
5112 {
"server_state",
"counters"},
-
-
-
5115 "method" : "server_state",
-
-
-
5118 "api_version" : %API_VER%,
-
-
-
-
-
5123 {"server_state: too many arguments.",
-
-
5125 {
"server_state",
"counters",
"extra"},
-
-
-
5128 "method" : "server_state",
-
-
-
5131 "error" : "badSyntax",
-
-
5133 "error_message" : "Syntax error."
-
-
-
-
5137 {"server_state: non-counters argument.",
-
-
5139 {
"server_state",
"counter"},
-
-
-
5142 "method" : "server_state",
-
-
-
5145 "api_version" : %API_VER%,
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
5162 "api_version" : %API_VER%,
-
-
-
-
5166 {"stop: too many arguments.",
-
-
-
-
-
-
-
-
5174 "error" : "badSyntax",
-
-
5176 "error_message" : "Syntax error."
-
-
-
-
-
-
-
5183 {
"transaction_entry: ledger index.",
-
-
5185 {
"transaction_entry",
-
5186 "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV",
-
-
-
-
5190 "method" : "transaction_entry",
-
-
-
5193 "api_version" : %API_VER%,
-
5194 "ledger_index" : 4294967295,
-
5195 "tx_hash" : "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV"
-
-
-
-
5199 {"transaction_entry: text ledger index.",
-
-
5201 {
"transaction_entry",
-
5202 "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV",
-
-
-
-
5206 "method" : "transaction_entry",
-
-
-
5209 "api_version" : %API_VER%,
-
5210 "ledger_index" : "current",
-
5211 "tx_hash" : "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV"
-
-
-
-
5215 {"transaction_entry: ledger hash.",
-
-
5217 {
"transaction_entry",
-
5218 "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV",
-
5219 "VUTSRQPONMLKJIHGFEDCBA9876543210VUTSRQPONMLKJIHGFEDCBA9876543210"},
-
-
-
5222 "method" : "transaction_entry",
-
-
-
5225 "api_version" : %API_VER%,
-
5226 "ledger_hash" : "VUTSRQPONMLKJIHGFEDCBA9876543210VUTSRQPONMLKJIHGFEDCBA9876543210",
-
5227 "tx_hash" : "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV"
-
-
-
-
5231 {"transaction_entry: too few arguments.",
-
-
-
5234 "transaction_entry",
-
5235 "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV",
-
-
-
-
5239 "method" : "transaction_entry",
-
-
-
5242 "error" : "badSyntax",
-
-
5244 "error_message" : "Syntax error."
-
-
-
-
5248 {"transaction_entry: too many arguments.",
-
-
5250 {
"transaction_entry",
-
5251 "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV",
-
-
-
-
-
5256 "method" : "transaction_entry",
-
-
-
5259 "error" : "badSyntax",
-
-
5261 "error_message" : "Syntax error."
-
-
-
-
5265 {"transaction_entry: short tx_hash.",
-
-
-
5268 "transaction_entry",
-
5269 "123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV",
-
-
-
-
-
5274 "method" : "transaction_entry",
-
-
-
5277 "error" : "invalidParams",
-
-
5279 "error_message" : "Invalid parameters."
-
-
-
-
5283 {"transaction_entry: long tx_hash.",
-
-
-
5286 "transaction_entry",
-
5287 "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUVW",
-
-
-
-
-
5292 "method" : "transaction_entry",
-
-
-
5295 "error" : "invalidParams",
-
-
5297 "error_message" : "Invalid parameters."
-
-
-
-
5301 {"transaction_entry: small ledger index.",
-
-
-
5304 "transaction_entry",
-
5305 "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV",
-
-
-
-
-
5310 "method" : "transaction_entry",
-
-
-
5313 "error" : "invalidParams",
-
-
5315 "error_message" : "Invalid parameters."
-
-
-
-
5319 {"transaction_entry: large ledger index.",
-
-
-
5322 "transaction_entry",
-
5323 "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV",
-
-
-
-
-
5328 "method" : "transaction_entry",
-
-
-
5331 "error" : "invalidParams",
-
-
5333 "error_message" : "Invalid parameters."
-
-
-
-
5337 {"transaction_entry: short ledger hash.",
-
-
-
5340 "transaction_entry",
-
5341 "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV",
-
5342 "VUTSRQPONMLKJIHGFEDCBA9876543210VUTSRQPONMLKJIHGFEDCBA987654321",
-
-
-
-
5346 "method" : "transaction_entry",
-
-
-
5349 "error" : "invalidParams",
-
-
5351 "error_message" : "Invalid parameters."
-
-
-
-
5355 {"transaction_entry: long ledger hash.",
-
-
-
5358 "transaction_entry",
-
5359 "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV",
-
5360 "VUTSRQPONMLKJIHGFEDCBA9876543210VUTSRQPONMLKJIHGFEDCBA9876543210Z",
-
-
-
-
5364 "method" : "transaction_entry",
-
-
-
5367 "error" : "invalidParams",
-
-
5369 "error_message" : "Invalid parameters."
-
-
-
-
-
-
-
5376 {
"tx: ctid. minimal",
-
-
5378 {
"tx",
"FFFFFFFFFFFFFFFF",
"1",
"2"},
-
-
-
-
-
-
5384 "api_version" : %API_VER%,
-
5385 "ctid" : "FFFFFFFFFFFFFFFF",
-
-
-
-
-
-
5391 {"tx: ctid. binary",
-
-
5393 {
"tx",
"FFFFFFFFFFFFFFFF",
"binary",
"1",
"2"},
-
-
-
-
-
-
5399 "api_version" : %API_VER%,
-
-
5401 "ctid" : "FFFFFFFFFFFFFFFF",
-
-
-
-
-
-
-
-
5409 {
"tx",
"transaction_hash_is_not_validated"},
-
-
-
-
-
-
5415 "api_version" : %API_VER%,
-
5416 "transaction" : "transaction_hash_is_not_validated"
-
-
-
-
-
-
5422 {
"tx",
"transaction_hash_is_not_validated",
"binary"},
-
-
-
-
-
-
5428 "api_version" : %API_VER%,
-
-
5430 "transaction" : "transaction_hash_is_not_validated"
-
-
-
-
5434 {"tx: too few arguments.",
-
-
-
-
-
-
-
-
-
-
5444 "error" : "badSyntax",
-
-
5446 "error_message" : "Syntax error."
-
-
-
-
5450 {"tx: too many arguments.",
-
-
5452 {
"tx",
"transaction_hash_is_not_validated",
"binary",
"1",
"2",
"extra"},
-
-
-
-
-
-
5458 "error" : "badSyntax",
-
-
5460 "error_message" : "Syntax error."
-
-
-
-
5464 {"tx: invalid final argument is apparently ignored.",
-
-
5466 {
"tx",
"transaction_hash_is_not_validated",
"bin"},
-
-
-
-
-
-
5472 "api_version" : %API_VER%,
-
5473 "transaction" : "transaction_hash_is_not_validated"
-
-
-
-
-
-
-
5480 {
"tx_history: minimal.",
-
-
5482 {
"tx_history",
"0"},
-
-
-
5485 "method" : "tx_history",
-
-
-
5488 "api_version" : %API_VER%,
-
-
-
-
-
5493 {"tx_history: too few arguments.",
-
-
-
-
-
-
-
5500 "method" : "tx_history",
-
-
-
5503 "error" : "badSyntax",
-
-
5505 "error_message" : "Syntax error."
-
-
-
-
5509 {"tx_history: too many arguments.",
-
-
5511 {
"tx_history",
"0",
"1"},
-
-
-
5514 "method" : "tx_history",
-
-
-
5517 "error" : "badSyntax",
-
-
5519 "error_message" : "Syntax error."
-
-
-
-
-
-
5525 "tx_history: start too small.",
-
-
5527 {
"tx_history",
"-1"},
-
-
-
-
-
-
5533 "tx_history: start too big.",
-
-
5535 {
"tx_history",
"4294967296"},
-
-
-
-
-
-
5541 "tx_history: start not integer.",
-
-
5543 {
"tx_history",
"beginning"},
-
-
-
-
-
-
-
5550 {
"unl_list: minimal.",
-
-
-
-
-
-
-
5557 "method" : "unl_list",
-
-
-
5560 "api_version" : %API_VER%,
-
-
-
-
5564 {"unl_list: too many arguments.",
-
-
5566 {
"unl_list",
"extra"},
-
-
-
5569 "method" : "unl_list",
-
-
-
5572 "error" : "badSyntax",
-
-
5574 "error_message" : "Syntax error."
-
-
-
-
-
-
-
5581 {
"validation_create: minimal.",
-
-
-
5584 "validation_create",
-
-
-
-
5588 "method" : "validation_create",
-
-
-
5591 "api_version" : %API_VER%,
-
-
-
-
5595 {"validation_create: with secret.",
-
-
5597 {
"validation_create",
"the form of the secret is not validated"},
-
-
-
5600 "method" : "validation_create",
-
-
-
5603 "api_version" : %API_VER%,
-
5604 "secret" : "the form of the secret is not validated"
-
-
-
-
5608 {"validation_create: too many arguments.",
-
-
5610 {
"validation_create",
"the form of the secret is not validated",
"extra"},
-
-
-
5613 "method" : "validation_create",
-
-
-
5616 "error" : "badSyntax",
-
-
5618 "error_message" : "Syntax error."
-
-
-
-
-
-
-
5625 {
"version: minimal.",
-
-
-
-
-
-
-
5632 "method" : "version",
-
-
-
5635 "api_version" : %API_VER%,
-
-
-
-
5639 {"version: too many arguments.",
-
-
5641 {
"version",
"extra"},
-
-
-
5644 "method" : "version",
-
-
-
5647 "error" : "badSyntax",
-
-
5649 "error_message" : "Syntax error."
-
-
-
-
-
-
-
5656 {
"wallet_propose: minimal.",
-
-
-
-
-
-
-
5663 "method" : "wallet_propose",
-
-
-
5666 "api_version" : %API_VER%,
-
-
-
-
5670 {"wallet_propose: with passphrase.",
-
-
5672 {
"wallet_propose",
"the form of the passphrase is not validated"},
-
-
-
5675 "method" : "wallet_propose",
-
-
-
5678 "api_version" : %API_VER%,
-
5679 "passphrase" : "the form of the passphrase is not validated"
-
-
-
-
5683 {"wallet_propose: too many arguments.",
-
-
5685 {
"wallet_propose",
"the form of the passphrase is not validated",
"extra"},
-
-
-
5688 "method" : "wallet_propose",
-
-
-
5691 "error" : "badSyntax",
-
-
5693 "error_message" : "Syntax error."
-
-
-
-
-
-
-
5700 {
"internal: minimal.",
-
-
5702 {
"internal",
"command_name"},
-
-
-
5705 "method" : "internal",
-
-
-
5708 "api_version" : %API_VER%,
-
5709 "internal_command" : "command_name",
-
-
-
-
-
5714 {"internal: with parameters.",
-
-
-
-
-
-
-
-
-
-
-
5725 "method" : "internal",
-
-
-
5728 "api_version" : %API_VER%,
-
5729 "internal_command" : "command_name",
-
5730 "params" : [ "string_arg", "1", "-1", "4294967296", "3.14159" ]
-
-
-
-
5734 {"internal: too few arguments.",
-
-
-
-
-
-
-
5741 "method" : "internal",
-
-
-
5744 "error" : "badSyntax",
-
-
5746 "error_message" : "Syntax error."
-
-
-
-
-
-
-
5753 {
"path_find: minimal.",
-
-
-
-
-
-
-
5760 "method" : "path_find",
-
-
-
5763 "error" : "noEvents",
-
-
5765 "error_message" : "Current transport does not support events."
-
-
-
-
5769 {"path_find: with arguments.",
-
-
5771 {
"path_find",
"string_arg",
"1",
"-1",
"4294967296",
"3.14159"},
-
-
-
5774 "method" : "path_find",
-
-
-
5777 "error" : "noEvents",
-
-
5779 "error_message" : "Current transport does not support events."
-
-
-
-
-
-
-
5786 {
"subscribe: minimal.",
-
-
-
-
-
-
-
5793 "method" : "subscribe",
-
-
-
5796 "error" : "noEvents",
-
-
5798 "error_message" : "Current transport does not support events."
-
-
-
-
5802 {"subscribe: with arguments.",
-
-
5804 {
"subscribe",
"string_arg",
"1",
"-1",
"4294967296",
"3.14159"},
-
-
-
5807 "method" : "subscribe",
-
-
-
5810 "error" : "noEvents",
-
-
5812 "error_message" : "Current transport does not support events."
-
-
-
-
-
-
-
5819 {
"unsubscribe: minimal.",
-
-
-
-
-
-
-
5826 "method" : "unsubscribe",
-
-
-
5829 "error" : "noEvents",
-
-
5831 "error_message" : "Current transport does not support events."
-
-
-
-
5835 {"unsubscribe: with arguments.",
-
-
5837 {
"unsubscribe",
"string_arg",
"1",
"-1",
"4294967296",
"3.14159"},
-
-
-
5840 "method" : "unsubscribe",
-
-
-
5843 "error" : "noEvents",
-
-
5845 "error_message" : "Current transport does not support events."
-
-
-
-
-
-
-
5852 {
"unknown_command: minimal.",
-
-
-
-
-
-
-
5859 "method" : "unknown_command",
-
-
-
5862 "api_version" : %API_VER%,
-
-
-
-
5866 {"unknown_command: with arguments.",
-
-
5868 {
"unknown_command",
"string_arg",
"1",
"-1",
"4294967296",
"3.14159"},
-
-
-
5871 "method" : "unknown_command",
-
-
-
5874 "api_version" : %API_VER%,
-
5875 "params" : [ "string_arg", "1", "-1", "4294967296", "3.14159" ]
-
-
-
-
+
+
+
+
+
1591 "method" : "book_offers",
+
+
+
1594 "api_version" : %API_VER%,
+
1595 "issuer" : "rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA",
+
1596 "ledger_hash" : "ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789",
+
+
+
+
1600 "issuer" : "rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA"
+
+
+
+
1604 "issuer" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh"
+
+
+
+
+
+
1610 "book_offers: issuer, ledger hash, limit, and marker.",
+
+
+
1613 "USD/rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
+
1614 "EUR/rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA",
+
1615 "rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA",
+
1616 "ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789",
+
+
+
+
+
+
1622 "method" : "book_offers",
+
+
+
1625 "api_version" : %API_VER%,
+
1626 "issuer" : "rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA",
+
1627 "ledger_hash" : "ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789",
+
+
1629 "marker" : "MyMarker",
+
+
+
1632 "issuer" : "rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA"
+
+
+
+
1636 "issuer" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh"
+
+
+
+
+
1641 {"book_offers: too few arguments.",
+
+
+
+
+
+
+
1648 "method" : "book_offers",
+
+
+
1651 "error" : "badSyntax",
+
+
1653 "error_message" : "Syntax error."
+
+
+
+
1657 {"book_offers: too many arguments.",
+
+
+
1660 "USD/rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
+
1661 "EUR/rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA",
+
1662 "rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA",
+
1663 "ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789",
+
+
+
+
+
+
+
1670 "method" : "book_offers",
+
+
+
1673 "error" : "badSyntax",
+
+
1675 "error_message" : "Syntax error."
+
+
+
+
+
1680 {"book_offers: taker pays no currency.",
+
+
+
+
1684 "/rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
+
1685 "EUR/rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA",
+
+
+
+
1689 "method" : "book_offers",
+
+
+
1692 "error" : "invalidParams",
+
+
1694 "error_message" : "Invalid currency/issuer '/rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh'"
+
+
+
+
1698 {"book_offers: taker gets no currency.",
+
+
+
+
1702 "USD/rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
+
1703 "/rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA",
+
+
+
+
1707 "method" : "book_offers",
+
+
+
1710 "error" : "invalidParams",
+
+
1712 "error_message" : "Invalid currency/issuer '/rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA'"
+
+
+
+
1716 {"book_offers: invalid issuer.",
+
+
1718 {
"book_offers",
"USD",
"EUR",
"not_a_valid_issuer"},
+
+
+
1721 "method" : "book_offers",
+
+
+
1724 "api_version" : %API_VER%,
+
1725 "issuer" : "not_a_valid_issuer",
+
+
+
+
+
+
+
+
+
+
1735 {"book_offers: invalid text ledger index.",
+
+
+
+
1739 "EUR/rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA",
+
1740 "rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA",
+
+
+
+
1744 "method" : "book_offers",
+
+
+
1747 "api_version" : %API_VER%,
+
1748 "issuer" : "rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA",
+
+
+
+
1752 "issuer" : "rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA"
+
+
+
+
+
+
+
+
+
1761 "book_offers: non-numeric limit.",
+
+
+
+
1765 "USD/rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
+
1766 "EUR/rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA",
+
1767 "rnUy2SHTrB9DubsPmkJZUXTf5FcNDGrYEA",
+
1768 "ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789",
+
+
+
+
+
1773 "method" : "book_offers",
+
+
+
1776 "error" : "invalidParams",
+
+
1778 "error_message" : "Invalid field 'limit'."
+
+
+
+
+
+
+
1785 {
"can_delete: minimal.",
+
+
+
+
+
+
+
1792 "method" : "can_delete",
+
+
+
1795 "api_version" : %API_VER%,
+
+
+
+
1799 {"can_delete: ledger index.",
+
+
+
+
+
+
+
+
1807 "method" : "can_delete",
+
+
+
1810 "api_version" : %API_VER%,
+
1811 "can_delete" : 4294967295
+
+
+
+
1815 {"can_delete: ledger hash.",
+
+
+
+
1819 "FEDCBA9876543210FEDCBA9876543210FEDCBA9876543210FEDCBA9876543210",
+
+
+
+
1823 "method" : "can_delete",
+
+
+
1826 "api_version" : %API_VER%,
+
1827 "can_delete" : "FEDCBA9876543210FEDCBA9876543210FEDCBA9876543210FEDCBA9876543210"
+
+
+
+
1831 {"can_delete: always.",
+
+
+
+
+
+
+
+
1839 "method" : "can_delete",
+
+
+
1842 "api_version" : %API_VER%,
+
1843 "can_delete" : "always"
+
+
+
+
1847 {"can_delete: never.",
+
+
+
+
+
+
+
+
1855 "method" : "can_delete",
+
+
+
1858 "api_version" : %API_VER%,
+
1859 "can_delete" : "never"
+
+
+
+
1863 {"can_delete: now.",
+
+
+
+
+
+
+
+
1871 "method" : "can_delete",
+
+
+
1874 "api_version" : %API_VER%,
+
1875 "can_delete" : "now"
+
+
+
+
1879 {"can_delete: too many arguments.",
+
+
1881 {
"can_delete",
"always",
"never"},
+
+
+
1884 "method" : "can_delete",
+
+
+
1887 "error" : "badSyntax",
+
+
1889 "error_message" : "Syntax error."
+
+
+
+
1893 {"can_delete: invalid argument.",
+
+
1895 {
"can_delete",
"invalid"},
+
+
+
1898 "method" : "can_delete",
+
+
+
1901 "api_version" : %API_VER%,
+
1902 "can_delete" : "invalid"
+
+
+
+
+
1907 "can_delete: ledger index > 32 bits.",
+
+
+
+
+
+
+
+
+
1916 "can_delete: ledger hash with no alphas.",
+
+
+
+
1920 "0123456701234567012345670123456701234567012345670123456701234567",
+
+
+
+
+
+
+
1927 {
"channel_authorize: minimal.",
+
+
1929 {
"channel_authorize",
+
1930 "secret_can_be_anything",
+
1931 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
+
1932 "18446744073709551615"},
+
+
+
1935 "method" : "channel_authorize",
+
+
+
1938 "api_version" : %API_VER%,
+
1939 "amount" : "18446744073709551615",
+
1940 "channel_id" : "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
+
1941 "secret" : "secret_can_be_anything"
+
+
+
+
1945 {"channel_authorize: too few arguments.",
+
+
+
1948 "channel_authorize",
+
1949 "secret_can_be_anything",
+
1950 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
+
+
+
+
1954 "method" : "channel_authorize",
+
+
+
1957 "error" : "badSyntax",
+
+
1959 "error_message" : "Syntax error."
+
+
+
+
1963 {"channel_authorize: too many arguments.",
+
+
1965 {
"channel_authorize",
+
+
1967 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
+
+
+
+
+
+
1973 "method" : "channel_authorize",
+
+
+
1976 "error" : "badSyntax",
+
+
1978 "error_message" : "Syntax error."
+
+
+
+
1982 {"channel_authorize: bad key type.",
+
+
1984 {
"channel_authorize",
+
+
1986 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
+
+
+
+
+
1991 "method" : "channel_authorize",
+
+
+
1994 "error" : "badKeyType",
+
+
1996 "error_message" : "Bad key type."
+
+
+
+
2000 {"channel_authorize: channel_id too short.",
+
+
2002 {
"channel_authorize",
+
2003 "secret_can_be_anything",
+
2004 "123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
+
+
+
+
2008 "method" : "channel_authorize",
+
+
+
2011 "error" : "channelMalformed",
+
+
2013 "error_message" : "Payment channel is malformed."
+
+
+
+
2017 {"channel_authorize: channel_id too long.",
+
+
2019 {
"channel_authorize",
+
2020 "secret_can_be_anything",
+
2021 "10123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
+
+
+
+
2025 "method" : "channel_authorize",
+
+
+
2028 "error" : "channelMalformed",
+
+
2030 "error_message" : "Payment channel is malformed."
+
+
+
+
2034 {"channel_authorize: channel_id not hex.",
+
+
2036 {
"channel_authorize",
+
2037 "secret_can_be_anything",
+
2038 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEZ",
+
+
+
+
2042 "method" : "channel_authorize",
+
+
+
2045 "error" : "channelMalformed",
+
+
2047 "error_message" : "Payment channel is malformed."
+
+
+
+
2051 {"channel_authorize: negative amount.",
+
+
2053 {
"channel_authorize",
+
2054 "secret_can_be_anything",
+
2055 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
+
+
+
+
2059 "method" : "channel_authorize",
+
+
+
2062 "error" : "channelAmtMalformed",
+
+
2064 "error_message" : "Payment channel amount is malformed."
+
+
+
+
2068 {"channel_authorize: amount > 64 bits.",
+
+
2070 {
"channel_authorize",
+
2071 "secret_can_be_anything",
+
2072 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
+
2073 "18446744073709551616"},
+
+
+
2076 "method" : "channel_authorize",
+
+
+
2079 "error" : "channelAmtMalformed",
+
+
2081 "error_message" : "Payment channel amount is malformed."
+
+
+
+
+
+
+
2088 {
"channel_verify: public key.",
+
+
+
2091 "aB4BXXLuPu8DpVuyq1DBiu3SrPdtK9AYZisKhu8mvkoiUD8J9Gov",
+
2092 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
+
+
+
+
+
2097 "method" : "channel_verify",
+
+
+
2100 "api_version" : %API_VER%,
+
+
2102 "channel_id" : "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
+
2103 "public_key" : "aB4BXXLuPu8DpVuyq1DBiu3SrPdtK9AYZisKhu8mvkoiUD8J9Gov",
+
2104 "signature" : "DEADBEEF"
+
+
+
+
2108 {"channel_verify: public key hex.",
+
+
+
2111 "021D93E21C44160A1B3B66DA1F37B86BE39FFEA3FC4B95FAA2063F82EE823599F6",
+
2112 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
+
2113 "18446744073709551615",
+
+
+
+
2117 "method" : "channel_verify",
+
+
+
2120 "api_version" : %API_VER%,
+
2121 "amount" : "18446744073709551615",
+
2122 "channel_id" : "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
+
2123 "public_key" : "021D93E21C44160A1B3B66DA1F37B86BE39FFEA3FC4B95FAA2063F82EE823599F6",
+
2124 "signature" : "DEADBEEF"
+
+
+
+
2128 {"channel_verify: too few arguments.",
+
+
+
2131 "aB4BXXLuPu8DpVuyq1DBiu3SrPdtK9AYZisKhu8mvkoiUD8J9Gov",
+
2132 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF"},
+
+
+
2135 "method" : "channel_verify",
+
+
+
2138 "error" : "badSyntax",
+
+
2140 "error_message" : "Syntax error."
+
+
+
+
2144 {"channel_verify: too many arguments.",
+
+
+
2147 "aB4BXXLuPu8DpVuyq1DBiu3SrPdtK9AYZisKhu8mvkoiUD8J9Gov",
+
2148 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
+
+
+
+
+
+
2154 "method" : "channel_verify",
+
+
+
2157 "error" : "badSyntax",
+
+
2159 "error_message" : "Syntax error."
+
+
+
+
2163 {"channel_verify: malformed public key.",
+
+
+
2166 "aB4BXXLuPu8DpVuyq1DBiu3SrPdtK9AYZisKhu8mvkoiUD8J9GoV",
+
2167 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
+
+
+
+
+
2172 "method" : "channel_verify",
+
+
+
2175 "error" : "publicMalformed",
+
+
2177 "error_message" : "Public key is malformed."
+
+
+
+
2181 {"channel_verify: malformed hex public key.",
+
+
+
2184 "021D93E21C44160A1B3B66DA1F37B86BE39FFEA3FC4B95FAA2063F82EE823599F",
+
2185 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
+
+
+
+
+
2190 "method" : "channel_verify",
+
+
+
2193 "error" : "publicMalformed",
+
+
2195 "error_message" : "Public key is malformed."
+
+
+
+
2199 {"channel_verify: invalid channel id.",
+
+
+
2202 "aB4BXXLuPu8DpVuyq1DBiu3SrPdtK9AYZisKhu8mvkoiUD8J9Gov",
+
2203 "10123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
+
+
+
+
+
2208 "method" : "channel_verify",
+
+
+
2211 "error" : "channelMalformed",
+
+
2213 "error_message" : "Payment channel is malformed."
+
+
+
+
2217 {"channel_verify: short channel id.",
+
+
+
2220 "aB4BXXLuPu8DpVuyq1DBiu3SrPdtK9AYZisKhu8mvkoiUD8J9Gov",
+
2221 "123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
+
+
+
+
+
2226 "method" : "channel_verify",
+
+
+
2229 "error" : "channelMalformed",
+
+
2231 "error_message" : "Payment channel is malformed."
+
+
+
+
2235 {"channel_verify: amount too small.",
+
+
+
2238 "021D93E21C44160A1B3B66DA1F37B86BE39FFEA3FC4B95FAA2063F82EE823599F6",
+
2239 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
+
+
+
+
+
2244 "method" : "channel_verify",
+
+
+
2247 "error" : "channelAmtMalformed",
+
+
2249 "error_message" : "Payment channel amount is malformed."
+
+
+
+
2253 {"channel_verify: amount too large.",
+
+
+
2256 "021D93E21C44160A1B3B66DA1F37B86BE39FFEA3FC4B95FAA2063F82EE823599F6",
+
2257 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
+
2258 "18446744073709551616",
+
+
+
+
2262 "method" : "channel_verify",
+
+
+
2265 "error" : "channelAmtMalformed",
+
+
2267 "error_message" : "Payment channel amount is malformed."
+
+
+
+
2271 {"channel_verify: non-hex signature.",
+
+
+
2274 "aB4BXXLuPu8DpVuyq1DBiu3SrPdtK9AYZisKhu8mvkoiUD8J9Gov",
+
2275 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
+
+
2277 "ThisIsNotHexadecimal"},
+
+
+
2280 "method" : "channel_verify",
+
+
+
2283 "api_version" : %API_VER%,
+
2284 "amount" : "40000000",
+
2285 "channel_id" : "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
+
2286 "public_key" : "aB4BXXLuPu8DpVuyq1DBiu3SrPdtK9AYZisKhu8mvkoiUD8J9Gov",
+
2287 "signature" : "ThisIsNotHexadecimal"
+
+
+
+
+
+
+
2294 {
"connect: minimal.",
+
+
+
+
2298 "ThereIsNoCheckingOnTheIPFormat",
+
+
+
+
2302 "method" : "connect",
+
+
+
2305 "api_version" : %API_VER%,
+
2306 "ip" : "ThereIsNoCheckingOnTheIPFormat"
+
+
+
+
2310 {"connect: ip and port.",
+
+
2312 {
"connect",
"ThereIsNoCheckingOnTheIPFormat",
"6561"},
+
+
+
2315 "method" : "connect",
+
+
+
2318 "api_version" : %API_VER%,
+
2319 "ip" : "ThereIsNoCheckingOnTheIPFormat",
+
+
+
+
+
2324 {"connect: too few arguments.",
+
+
+
+
+
+
+
2331 "method" : "connect",
+
+
+
2334 "error" : "badSyntax",
+
+
2336 "error_message" : "Syntax error."
+
+
+
+
2340 {"connect: too many arguments.",
+
+
2342 {
"connect",
"ThereIsNoCheckingOnTheIPFormat",
"6561",
"extra"},
+
+
+
2345 "method" : "connect",
+
+
+
2348 "error" : "badSyntax",
+
+
2350 "error_message" : "Syntax error."
+
+
+
+
+
2355 "connect: port too small.",
+
+
+
+
2359 "ThereIsNoCheckingOnTheIPFormat",
+
+
+
+
+
+
2365 "connect: port too large.",
+
+
+
+
2369 "ThereIsNoCheckingOnTheIPFormat",
+
+
+
+
+
+
+
+
2377 {
"consensus_info: minimal.",
+
+
+
+
+
+
+
2384 "method" : "consensus_info",
+
+
+
2387 "api_version" : %API_VER%
+
+
+
+
2391 {"consensus_info: too many arguments.",
+
+
2393 {
"consensus_info",
"whatever"},
+
+
+
2396 "method" : "consensus_info",
+
+
+
2399 "error" : "badSyntax",
+
+
2401 "error_message" : "Syntax error."
+
+
+
+
+
+
+
2408 {
"deposit_authorized: minimal.",
+
+
+
2411 "deposit_authorized",
+
2412 "source_account_NotValidated",
+
2413 "destination_account_NotValidated",
+
+
+
+
2417 "method" : "deposit_authorized",
+
+
+
2420 "api_version" : %API_VER%,
+
2421 "destination_account" : "destination_account_NotValidated",
+
2422 "source_account" : "source_account_NotValidated"
+
+
+
+
2426 {"deposit_authorized: with text ledger index.",
+
+
2428 {
"deposit_authorized",
+
2429 "source_account_NotValidated",
+
2430 "destination_account_NotValidated",
+
+
+
+
2434 "method" : "deposit_authorized",
+
+
+
2437 "api_version" : %API_VER%,
+
2438 "destination_account" : "destination_account_NotValidated",
+
2439 "ledger_index" : "validated",
+
2440 "source_account" : "source_account_NotValidated"
+
+
+
+
2444 {"deposit_authorized: with ledger index.",
+
+
2446 {
"deposit_authorized",
+
2447 "source_account_NotValidated",
+
2448 "destination_account_NotValidated",
+
+
+
+
+
+
+
+
+
+
+
+
2460 "method" : "deposit_authorized",
+
+
+
2463 "api_version" : %API_VER%,
+
2464 "destination_account" : "destination_account_NotValidated",
+
2465 "ledger_index" : 4294967295,
+
2466 "source_account" : "source_account_NotValidated",
+
2467 "credentials": ["cred1", "cred2", "cred3", "cred4", "cred5", "cred6", "cred7", "cred8"]
+
+
+
+
2471 {"deposit_authorized: with ledger hash.",
+
+
2473 {
"deposit_authorized",
+
2474 "source_account_NotValidated",
+
2475 "destination_account_NotValidated",
+
2476 "ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789"},
+
+
+
2479 "method" : "deposit_authorized",
+
+
+
2482 "api_version" : %API_VER%,
+
2483 "destination_account" : "destination_account_NotValidated",
+
2484 "ledger_hash" : "ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789",
+
2485 "source_account" : "source_account_NotValidated"
+
+
+
+
2489 {"deposit_authorized: too few arguments.",
+
+
+
2492 "deposit_authorized",
+
2493 "source_account_NotValidated",
+
+
+
+
2497 "method" : "deposit_authorized",
+
+
+
2500 "error" : "badSyntax",
+
+
2502 "error_message" : "Syntax error."
+
+
+
+
2506 {"deposit_authorized: too many arguments.",
+
+
2508 {
"deposit_authorized",
+
2509 "source_account_NotValidated",
+
2510 "destination_account_NotValidated",
+
2511 "ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789",
+
+
+
+
+
+
+
+
+
+
+
+
2523 "method" : "deposit_authorized",
+
+
+
2526 "error" : "badSyntax",
+
+
2528 "error_message" : "Syntax error."
+
+
+
+
2532 {"deposit_authorized: invalid ledger selection.",
+
+
+
2535 "deposit_authorized",
+
2536 "source_account_NotValidated",
+
2537 "destination_account_NotValidated",
+
+
+
+
+
2542 "method" : "deposit_authorized",
+
+
+
2545 "api_version" : %API_VER%,
+
2546 "destination_account" : "destination_account_NotValidated",
+
+
2548 "source_account" : "source_account_NotValidated"
+
+
+
+
+
+
+
2555 {
"feature: minimal.",
+
+
+
+
+
+
+
2562 "method" : "feature",
+
+
+
2565 "api_version" : %API_VER%,
+
+
+
+
2569 {"feature: with name.",
+
+
2571 {
"feature",
"featureNameOrHexIsNotValidated"},
+
+
+
2574 "method" : "feature",
+
+
+
2577 "api_version" : %API_VER%,
+
2578 "feature" : "featureNameOrHexIsNotValidated"
+
+
+
+
2582 {"feature: accept.",
+
+
+
2585 "FEDCBA9876543210FEDCBA9876543210FEDCBA9876543210FEDCBA9876543210FEDCBA98"
+
+
+
+
+
2590 "method" : "feature",
+
+
+
2593 "api_version" : %API_VER%,
+
2594 "feature" : "FEDCBA9876543210FEDCBA9876543210FEDCBA9876543210FEDCBA9876543210FEDCBA9876543210",
+
+
+
+
+
2599 {"feature: reject.",
+
+
2601 {
"feature",
"0",
"reject"},
+
+
+
2604 "method" : "feature",
+
+
+
2607 "api_version" : %API_VER%,
+
+
+
+
+
+
2613 {"feature: too many arguments.",
+
+
2615 {
"feature",
"featureNameOrHexIsNotValidated",
"accept",
"anotherArg"},
+
+
+
2618 "method" : "feature",
+
+
+
2621 "error" : "badSyntax",
+
+
2623 "error_message" : "Syntax error."
+
+
+
+
2627 {"feature: neither accept nor reject.",
+
+
+
+
2631 "featureNameOrHexIsNotValidated",
+
+
+
+
+
2636 "method" : "feature",
+
+
+
2639 "error" : "invalidParams",
+
+
2641 "error_message" : "Invalid parameters."
+
+
+
+
+
+
+
2648 {
"fetch_info: minimal.",
+
+
+
+
+
+
+
2655 "method" : "fetch_info",
+
+
+
2658 "api_version" : %API_VER%,
+
+
+
+
2662 {"fetch_info: clear.",
+
+
2664 {
"fetch_info",
"clear"},
+
+
+
2667 "method" : "fetch_info",
+
+
+
2670 "api_version" : %API_VER%,
+
+
+
+
+
2675 {"fetch_info: too many arguments.",
+
+
2677 {
"fetch_info",
"clear",
"other"},
+
+
+
2680 "method" : "fetch_info",
+
+
+
2683 "error" : "badSyntax",
+
+
2685 "error_message" : "Syntax error."
+
+
+
+
2689 {"fetch_info: other trailing argument.",
+
+
2691 {
"fetch_info",
"too"},
+
+
+
2694 "method" : "fetch_info",
+
+
+
2697 "api_version" : %API_VER%,
+
+
+
+
+
+
+
+
2705 {
"gateway_balances: minimal.",
+
+
2707 {
"gateway_balances",
"rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh"},
+
+
+
2710 "method" : "gateway_balances",
+
+
+
2713 "api_version" : %API_VER%,
+
2714 "account" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
+
+
+
+
2718 {"gateway_balances: with ledger index.",
+
+
2720 {
"gateway_balances",
"890765",
"rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh"},
+
+
+
2723 "method" : "gateway_balances",
+
+
+
2726 "api_version" : %API_VER%,
+
2727 "account" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
+
2728 "ledger_index" : "890765"
+
+
+
+
2732 {"gateway_balances: with text ledger index.",
+
+
2734 {
"gateway_balances",
"current",
"rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh"},
+
+
+
2737 "method" : "gateway_balances",
+
+
+
2740 "api_version" : %API_VER%,
+
2741 "account" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
+
2742 "ledger_index" : "current"
+
+
+
+
2746 {"gateway_balances: with 64 character ledger hash.",
+
+
2748 {
"gateway_balances",
+
2749 "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV",
+
2750 "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh"},
+
+
+
2753 "method" : "gateway_balances",
+
+
+
2756 "api_version" : %API_VER%,
+
2757 "account" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
+
2758 "ledger_hash" : "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV"
+
+
+
+
2762 {"gateway_balances: 1 hotwallet.",
+
+
2764 {
"gateway_balances",
+
2765 "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
+
2766 "hotwallet_is_not_validated"},
+
+
+
2769 "method" : "gateway_balances",
+
+
+
2772 "api_version" : %API_VER%,
+
2773 "account" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
+
2774 "hotwallet" : [ "hotwallet_is_not_validated" ]
+
+
+
+
2778 {"gateway_balances: 3 hotwallets.",
+
+
+
+
2782 "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV",
+
2783 "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
+
2784 "hotwallet_is_not_validated_1",
+
2785 "hotwallet_is_not_validated_2",
+
2786 "hotwallet_is_not_validated_3",
+
+
+
+
2790 "method" : "gateway_balances",
+
+
+
2793 "api_version" : %API_VER%,
+
2794 "account" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
+
+
2796 "hotwallet_is_not_validated_1",
+
2797 "hotwallet_is_not_validated_2",
+
2798 "hotwallet_is_not_validated_3"
+
+
2800 "ledger_hash" : "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV"
+
+
+
+
2804 {"gateway_balances: too few arguments.",
+
+
+
+
+
+
+
2811 "method" : "gateway_balances",
+
+
+
2814 "error" : "badSyntax",
+
+
2816 "error_message" : "Syntax error."
+
+
+
+
2820 {"gateway_balances: empty first argument.",
+
+
2822 {
"gateway_balances",
""},
+
+
+
2825 "method" : "gateway_balances",
+
+
+
2828 "error" : "invalidParams",
+
+
2830 "error_message" : "Invalid first parameter"
+
+
+
+
2834 {"gateway_balances: with ledger index but no gateway.",
+
+
+
+
+
+
+
+
2842 "method" : "gateway_balances",
+
+
+
2845 "error" : "invalidParams",
+
+
2847 "error_message" : "Invalid hotwallet"
+
+
+
+
2851 {"gateway_balances: with text ledger index but no gateway.",
+
+
+
+
+
+
+
+
2859 "method" : "gateway_balances",
+
+
+
2862 "error" : "invalidParams",
+
+
2864 "error_message" : "Invalid hotwallet"
+
+
+
+
2868 {"gateway_balances: with 64 character ledger hash but no gateway.",
+
+
+
+
2872 "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV",
+
+
+
+
2876 "method" : "gateway_balances",
+
+
+
2879 "error" : "invalidParams",
+
+
2881 "error_message" : "Invalid hotwallet"
+
+
+
+
+
+
+
2888 {
"get_counts: minimal.",
+
+
+
+
+
+
+
2895 "method" : "get_counts",
+
+
+
2898 "api_version" : %API_VER%,
+
+
+
+
2902 {"get_counts: with maximum count.",
+
+
2904 {
"get_counts",
"100"},
+
+
+
2907 "method" : "get_counts",
+
+
+
2910 "api_version" : %API_VER%,
+
+
+
+
+
2915 {"get_counts: too many arguments.",
+
+
2917 {
"get_counts",
"100",
"whatever"},
+
+
+
2920 "method" : "get_counts",
+
+
+
2923 "error" : "badSyntax",
+
+
2925 "error_message" : "Syntax error."
+
+
+
+
2929 {"get_counts: count too small.",
+
+
+
+
+
+
+
+
2937 {"get_counts: count too large.",
+
+
2939 {
"get_counts",
"4294967296"},
+
+
+
+
+
+
+
+
+
+
+
2950 R
"({"json_argument":true})",
+
+
+
+
2954 "method" : "command",
+
+
+
2957 "api_version" : %API_VER%,
+
2958 "json_argument" : true,
+
2959 "method" : "command"
+
+
+
+
2963 {"json: null object.",
+
+
+
+
+
+
+
+
+
2972 "method" : "command",
+
+
+
2975 "api_version" : %API_VER%,
+
2976 "method" : "command"
+
+
+
+
2980 {"json: too few arguments.",
+
+
2982 {
"json",
"command"},
+
+
+
+
+
+
2988 "error" : "badSyntax",
+
+
2990 "error_message" : "Syntax error."
+
+
+
+
2994 {"json: too many arguments.",
+
+
2996 {
"json",
"command", R
"({"json_argument":true})", "extra"},
+
+
+
+
+
+
3002 "error" : "badSyntax",
+
+
3004 "error_message" : "Syntax error."
+
+
+
+
3008 {"json: array, not object.",
+
+
+
+
+
3013 R
"(["arg1","arg2"])",
+
+
+
+
+
+
+
3020 "error" : "invalidParams",
+
+
3022 "error_message" : "Invalid parameters."
+
+
+
+
3026 {"json: invalid json (note closing comma).",
+
+
+
+
+
3031 R
"({"json_argument":true,})",
+
+
+
+
+
+
+
3038 "error" : "invalidParams",
+
+
3040 "error_message" : "Invalid parameters."
+
+
+
+
+
+
+
3047 {
"json2: minimal object.",
+
+
+
+
3051 R
"({"jsonrpc":"2.0","ripplerpc":"2.0","id":"A1","method":"call_1"})",
+
+
+
+
+
+
3057 "method" : "call_1",
+
+
+
3060 "api_version" : %API_VER%,
+
+
+
3063 "method" : "call_1",
+
+
+
+
+
+
3069 {"json2: object with nested params.",
+
+
+
+
+
+
3075 "ripplerpc" : "2.0",
+
+
3077 "method" : "call_1",
+
3078 "params" : [{"inner_arg" : "yup"}]
+
+
+
+
+
+
+
3085 "method" : "call_1",
+
+
+
3088 "api_version" : %API_VER%,
+
+
+
+
+
+
3094 "method" : "call_1",
+
+
+
+
+
+
3100 {"json2: minimal array.",
+
+
+
+
3104 R
"([{"jsonrpc":"2.0","ripplerpc":"2.0","id":"A1","method":"call_1"}])",
+
+
+
+
+
+
+
+
3112 "api_version" : %API_VER%,
+
+
+
3115 "method" : "call_1",
+
+
+
+
+
+
3121 {"json2: array with object with nested params.",
+
+
+
+
+
+
+
+
+
3130 "params" : [{"inner_arg" : "yup"}]}
+
+
+
+
+
+
+
+
+
3139 "api_version" : %API_VER%,
+
+
+
+
+
+
3145 "method" : "call_1",
+
+
+
+
+
3150 {"json2: too few arguments.",
+
+
+
+
+
+
+
+
+
+
3160 "error" : "badSyntax",
+
+
3162 "error_message" : "Syntax error."
+
+
+
+
3166 {"json2: too many arguments.",
+
+
+
3169 R
"({"jsonrpc":"2.0","ripplerpc":"2.0","id":"A1","method":"call_this"})",
+
+
+
+
+
+
+
3176 "error" : "badSyntax",
+
+
3178 "error_message" : "Syntax error."
+
+
+
+
3182 {"json2: malformed json (note extra comma).",
+
+
+
+
3186 R
"({"jsonrpc":"2.0","ripplerpc":"2.0","id":"A1","method":"call_1",})",
+
+
+
+
+
+
+
+
+
3195 "error" : "invalidParams",
+
+
3197 "error_message" : "Invalid parameters.",
+
+
+
+
+
+
+
+
3205 {"json2: omit jsonrpc.",
+
+
+
+
3209 R
"({"ripplerpc":"2.0","id":"A1","method":"call_1"})",
+
+
+
+
+
+
+
+
3217 "error" : "invalidParams",
+
+
3219 "error_message" : "Invalid parameters.",
+
+
+
+
+
+
+
3226 {"json2: wrong jsonrpc version.",
+
+
+
+
3230 R
"({"jsonrpc":"2.1","ripplerpc":"2.0","id":"A1","method":"call_1"})",
+
+
+
+
+
+
+
+
+
3239 "error" : "invalidParams",
+
+
3241 "error_message" : "Invalid parameters.",
+
+
+
+
+
+
+
+
3249 {"json2: omit ripplerpc.",
+
+
+
+
3253 R
"({"jsonrpc":"2.0","id":"A1","method":"call_1"})",
+
+
+
+
+
+
+
+
+
3262 "error" : "invalidParams",
+
+
3264 "error_message" : "Invalid parameters.",
+
+
+
+
+
+
3270 {"json2: wrong ripplerpc version.",
+
+
+
+
3274 R
"({"jsonrpc":"2.0","ripplerpc":"2.00","id":"A1","method":"call_1"})",
+
+
+
+
+
+
+
+
+
3283 "error" : "invalidParams",
+
+
3285 "error_message" : "Invalid parameters.",
+
+
+
3288 "ripplerpc" : "2.00"
+
+
+
3291 "ripplerpc" : "2.00"
+
+
+
+
+
+
3297 R
"({"jsonrpc":"2.0","ripplerpc":"2.0","method":"call_1"})",
+
+
+
+
+
+
+
+
3305 "error" : "invalidParams",
+
+
3307 "error_message" : "Invalid parameters.",
+
+
+
+
+
+
+
3314 {"json2: omit method.",
+
+
+
+
3318 R
"({"jsonrpc":"2.0","ripplerpc":"2.0","id":"A1"})",
+
+
+
+
+
+
+
+
+
3327 "error" : "invalidParams",
+
+
3329 "error_message" : "Invalid parameters.",
+
+
+
+
+
+
+
+
3337 {"json2: empty outer array.",
+
+
+
+
+
+
+
+
+
+
+
3348 "error" : "invalidParams",
+
+
3350 "error_message" : "Invalid parameters."
+
+
+
+
3354 {"json2: empty inner array.",
+
+
+
+
3358 R
"([{"jsonrpc":"2.0","ripplerpc":"2.0","id":"A1","method":"call_1",[]}])",
+
+
+
+
+
+
+
3365 "error" : "invalidParams",
+
+
3367 "error_message" : "Invalid parameters."
+
+
+
+
3371 {"json2: array with non-json2 object.",
+
+
+
+
+
+
3377 "ripplerpc" : "2.0",
+
+
+
+
+
+
+
+
+
+
+
3388 "error" : "invalidParams",
+
+
3390 "error_message" : "Invalid parameters."
+
+
+
+
3394 {"json2: non-object or -array inner params member.",
+
+
+
+
+
+
3400 "ripplerpc" : "2.0",
+
+
3402 "method" : "call_1",
+
+
+
+
+
+
+
+
+
+
+
3413 "error" : "invalidParams",
+
+
3415 "error_message" : "Invalid parameters.",
+
+
+
+
+
+
+
+
+
+
+
3426 {
"ledger: minimal.",
+
+
+
+
+
3431 "method" : "ledger",
+
+
+
3434 "api_version" : %API_VER%,
+
+
+
+
3438 {"ledger: ledger index.",
+
+
3440 {
"ledger",
"4294967295"},
+
+
+
3443 "method" : "ledger",
+
+
+
3446 "api_version" : %API_VER%,
+
3447 "ledger_index" : 4294967295
+
+
+
+
3451 {"ledger: text ledger index.",
+
+
3453 {
"ledger",
"validated"},
+
+
+
3456 "method" : "ledger",
+
+
+
3459 "api_version" : %API_VER%,
+
3460 "ledger_index" : "validated"
+
+
+
+
3464 {"ledger: ledger hash.",
+
+
+
3467 "ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789"},
+
+
+
3470 "method" : "ledger",
+
+
+
3473 "api_version" : %API_VER%,
+
3474 "ledger_hash" : "ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789"
+
+
+
+
+
+
3480 {
"ledger",
"current",
"full"},
+
+
+
3483 "method" : "ledger",
+
+
+
3486 "api_version" : %API_VER%,
+
+
3488 "ledger_index" : "current"
+
+
+
+
+
+
3494 {
"ledger",
"closed",
"tx"},
+
+
+
3497 "method" : "ledger",
+
+
+
3500 "api_version" : %API_VER%,
+
+
3502 "ledger_index" : "closed",
+
3503 "transactions" : true
+
+
+
+
3507 {"ledger: too many arguments.",
+
+
3509 {
"ledger",
"4294967295",
"spare"},
+
+
+
3512 "method" : "ledger",
+
+
+
3515 "api_version" : %API_VER%,
+
3516 "ledger_index" : 4294967295
+
+
+
+
3520 {"ledger: ledger index too small.",
+
+
+
+
+
3525 "method" : "ledger",
+
+
+
3528 "api_version" : %API_VER%,
+
+
+
+
+
3533 {"ledger: ledger index too big.",
+
+
3535 {
"ledger",
"4294967296"},
+
+
+
3538 "method" : "ledger",
+
+
+
3541 "api_version" : %API_VER%,
+
+
+
+
+
3546 {"ledger: invalid ledger text.",
+
+
3548 {
"ledger",
"latest"},
+
+
+
3551 "method" : "ledger",
+
+
+
3554 "api_version" : %API_VER%,
+
+
+
+
+
3559 {"ledger: unsupported final argument.",
+
+
3561 {
"ledger",
"current",
"expand"},
+
+
+
3564 "method" : "ledger",
+
+
+
3567 "api_version" : %API_VER%,
+
3568 "ledger_index" : "current"
+
+
+
+
+
+
+
3575 {
"ledger_closed: minimal.",
+
+
+
+
+
3580 "method" : "ledger_closed",
+
+
+
3583 "api_version" : %API_VER%,
+
+
+
+
3587 {"ledger_closed: too many arguments.",
+
+
3589 {
"ledger_closed",
"today"},
+
+
+
3592 "method" : "ledger_closed",
+
+
+
3595 "error" : "badSyntax",
+
+
3597 "error_message" : "Syntax error."
+
+
+
+
+
+
+
3604 {
"ledger_current: minimal.",
+
+
+
+
+
3609 "method" : "ledger_current",
+
+
+
3612 "api_version" : %API_VER%,
+
+
+
+
3616 {"ledger_current: too many arguments.",
+
+
3618 {
"ledger_current",
"today"},
+
+
+
3621 "method" : "ledger_current",
+
+
+
3624 "error" : "badSyntax",
+
+
3626 "error_message" : "Syntax error."
+
+
+
+
+
+
+
3633 {
"ledger_header: ledger index.",
+
+
3635 {
"ledger_header",
"4294967295"},
+
+
+
3638 "method" : "ledger_header",
+
+
+
3641 "api_version" : %API_VER%,
+
3642 "ledger_index" : 4294967295
+
+
+
+
3646 {"ledger_header: ledger hash.",
+
+
+
3649 "ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789"},
+
+
+
3652 "method" : "ledger_header",
+
+
+
3655 "api_version" : %API_VER%,
+
3656 "ledger_hash" : "ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789"
+
+
+
+
3660 {"ledger_header: too few arguments.",
+
+
+
+
+
+
+
3667 "method" : "ledger_header",
+
+
+
3670 "error" : "badSyntax",
+
+
3672 "error_message" : "Syntax error."
+
+
+
+
3676 {"ledger_header: too many arguments.",
+
+
3678 {
"ledger_header",
"4294967295",
"spare"},
+
+
+
3681 "method" : "ledger_header",
+
+
+
3684 "error" : "badSyntax",
+
+
3686 "error_message" : "Syntax error."
+
+
+
+
3690 {"ledger_header: text ledger index.",
+
+
3692 {
"ledger_header",
"current"},
+
+
+
3695 "method" : "ledger_header",
+
+
+
3698 "api_version" : %API_VER%,
+
+
+
+
+
3703 {"ledger_header: ledger index too small.",
+
+
3705 {
"ledger_header",
"-1"},
+
+
+
3708 "method" : "ledger_header",
+
+
+
3711 "api_version" : %API_VER%,
+
+
+
+
+
3716 {"ledger_header: ledger index too big.",
+
+
3718 {
"ledger_header",
"4294967296"},
+
+
+
3721 "method" : "ledger_header",
+
+
+
3724 "api_version" : %API_VER%,
+
+
+
+
+
+
+
+
3732 {
"ledger_request: ledger index.",
+
+
3734 {
"ledger_request",
"4294967295"},
+
+
+
3737 "method" : "ledger_request",
+
+
+
3740 "api_version" : %API_VER%,
+
3741 "ledger_index" : 4294967295
+
+
+
+
3745 {"ledger_request: ledger hash.",
+
+
+
3748 "ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789"},
+
+
+
3751 "method" : "ledger_request",
+
+
+
3754 "api_version" : %API_VER%,
+
3755 "ledger_hash" : "ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789"
+
+
+
+
3759 {"ledger_request: too few arguments.",
+
+
+
+
+
+
+
3766 "method" : "ledger_request",
+
+
+
3769 "error" : "badSyntax",
+
+
3771 "error_message" : "Syntax error."
+
+
+
+
3775 {"ledger_request: too many arguments.",
+
+
3777 {
"ledger_request",
"4294967295",
"spare"},
+
+
+
3780 "method" : "ledger_request",
+
+
+
3783 "error" : "badSyntax",
+
+
3785 "error_message" : "Syntax error."
+
+
+
+
3789 {"ledger_request: text ledger index.",
+
+
3791 {
"ledger_request",
"current"},
+
+
+
3794 "method" : "ledger_request",
+
+
+
3797 "api_version" : %API_VER%,
+
+
+
+
+
3802 {"ledger_request: ledger index too small.",
+
+
3804 {
"ledger_request",
"-1"},
+
+
+
3807 "method" : "ledger_request",
+
+
+
3810 "api_version" : %API_VER%,
+
+
+
+
+
3815 {"ledger_request: ledger index too big.",
+
+
3817 {
"ledger_request",
"4294967296"},
+
+
+
3820 "method" : "ledger_request",
+
+
+
3823 "api_version" : %API_VER%,
+
+
+
+
+
+
+
+
3831 {
"log_level: minimal.",
+
+
+
+
+
+
+
3838 "method" : "log_level",
+
+
+
3841 "api_version" : %API_VER%,
+
+
+
+
3845 {"log_level: fatal.",
+
+
3847 {
"log_level",
"fatal"},
+
+
+
3850 "method" : "log_level",
+
+
+
3853 "api_version" : %API_VER%,
+
3854 "severity" : "fatal"
+
+
+
+
3858 {"log_level: error.",
+
+
3860 {
"log_level",
"error"},
+
+
+
3863 "method" : "log_level",
+
+
+
3866 "api_version" : %API_VER%,
+
3867 "severity" : "error"
+
+
+
+
3871 {"log_level: warn.",
+
+
3873 {
"log_level",
"warn"},
+
+
+
3876 "method" : "log_level",
+
+
+
3879 "api_version" : %API_VER%,
+
+
+
+
+
3884 {"log_level: debug.",
+
+
3886 {
"log_level",
"debug"},
+
+
+
3889 "method" : "log_level",
+
+
+
3892 "api_version" : %API_VER%,
+
3893 "severity" : "debug"
+
+
+
+
3897 {"log_level: trace.",
+
+
3899 {
"log_level",
"trace"},
+
+
+
3902 "method" : "log_level",
+
+
+
3905 "api_version" : %API_VER%,
+
3906 "severity" : "trace"
+
+
+
+
3910 {"log_level: base partition.",
+
+
3912 {
"log_level",
"base",
"trace"},
+
+
+
3915 "method" : "log_level",
+
+
+
3918 "api_version" : %API_VER%,
+
3919 "partition" : "base",
+
3920 "severity" : "trace"
+
+
+
+
3924 {"log_level: partiton_name.",
+
+
3926 {
"log_level",
"partition_name",
"fatal"},
+
+
+
3929 "method" : "log_level",
+
+
+
3932 "api_version" : %API_VER%,
+
3933 "partition" : "partition_name",
+
3934 "severity" : "fatal"
+
+
+
+
3938 {"log_level: too many arguments.",
+
+
3940 {
"log_level",
"partition_name",
"fatal",
"extra"},
+
+
+
3943 "method" : "log_level",
+
+
+
3946 "error" : "badSyntax",
+
+
3948 "error_message" : "Syntax error."
+
+
+
+
3952 {"log_level: invalid severity.",
+
+
3954 {
"log_level",
"err"},
+
+
+
3957 "method" : "log_level",
+
+
+
3960 "api_version" : %API_VER%,
+
+
+
+
+
3965 {"log_level: swap partition name and severity.",
+
+
+
+
+
+
+
+
+
3974 "method" : "log_level",
+
+
+
3977 "api_version" : %API_VER%,
+
3978 "partition" : "fatal",
+
3979 "severity" : "partition_name"
+
+
+
+
+
+
+
3986 {
"logrotate: minimal.",
+
+
+
+
+
+
+
3993 "method" : "logrotate",
+
+
+
3996 "api_version" : %API_VER%,
+
+
+
+
4000 {"logrotate: too many arguments.",
+
+
4002 {
"logrotate",
"extra"},
+
+
+
4005 "method" : "logrotate",
+
+
+
4008 "error" : "badSyntax",
+
+
4010 "error_message" : "Syntax error."
+
+
+
+
+
+
+
4017 {
"owner_info: minimal.",
+
+
4019 {
"owner_info",
"rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh"},
+
+
+
4022 "method" : "owner_info",
+
+
+
4025 "api_version" : %API_VER%,
+
4026 "account" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh"
+
+
+
+
4030 {"owner_info: with numeric ledger index.",
+
+
4032 {
"owner_info",
"rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
"987654321"},
+
+
+
4035 "method" : "owner_info",
+
+
+
4038 "api_version" : %API_VER%,
+
4039 "account" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
+
4040 "ledger_index" : 987654321
+
+
+
+
4044 {"owner_info: with text ledger index.",
+
+
4046 {
"owner_info",
"rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
"validated"},
+
+
+
4049 "method" : "owner_info",
+
+
+
4052 "api_version" : %API_VER%,
+
4053 "account" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
+
4054 "ledger_index" : "validated"
+
+
+
+
4058 {"owner_info: with ledger hash.",
+
+
+
4061 "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
+
4062 "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF"},
+
+
+
4065 "method" : "owner_info",
+
+
+
4068 "api_version" : %API_VER%,
+
4069 "account" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
+
4070 "ledger_hash" : "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF"
+
+
+
+
4074 {"owner_info: with ledger index.",
+
+
4076 {
"owner_info",
"rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
"validated"},
+
+
+
4079 "method" : "owner_info",
+
+
+
4082 "account" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
+
4083 "api_version" : %API_VER%,
+
4084 "ledger_index" : "validated"
+
+
+
+
4088 {"owner_info: too few arguments.",
+
+
+
+
+
+
+
4095 "method" : "owner_info",
+
+
+
4098 "error" : "badSyntax",
+
+
4100 "error_message" : "Syntax error."
+
+
+
+
4104 {"owner_info: too many arguments.",
+
+
+
+
4108 "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
+
+
+
+
+
+
+
4115 "method" : "owner_info",
+
+
+
4118 "error" : "badSyntax",
+
+
4120 "error_message" : "Syntax error."
+
+
+
+
+
4125 "owner_info: invalid accountID.",
+
+
+
+
+
+
+
+
4133 "method" : "owner_info",
+
+
+
4136 "error" : "actMalformed",
+
+
4138 "error_message" : "Account malformed."
+
+
+
+
+
+
+
+
4146 "owner_info: invalid ledger selection.",
+
+
4148 {
"owner_info",
"rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
"no_ledger"},
+
+
+
4151 "method" : "owner_info",
+
+
+
4154 "api_version" : %API_VER%,
+
4155 "account" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
+
+
+
+
+
+
+
+
+
4164 "owner_info: invalid ledger selection.",
+
+
4166 {
"owner_info",
"rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
"no_ledger"},
+
+
+
4169 "method" : "owner_info",
+
+
+
4172 "account" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
+
4173 "api_version" : %API_VER%,
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
4192 "api_version" : %API_VER%,
+
+
+
+
4196 {"peers: too many arguments.",
+
+
+
+
+
+
+
+
4204 "error" : "badSyntax",
+
+
4206 "error_message" : "Syntax error."
+
+
+
+
+
+
+
4213 {
"peer_reservations_add: minimal.",
+
+
4215 {
"peer_reservations_add",
"public_key_string"},
+
+
+
4218 "method" : "peer_reservations_add",
+
+
+
4221 "api_version" : %API_VER%,
+
4222 "public_key" : "public_key_string"
+
+
+
+
4226 {"peer_reservations_add: with description.",
+
+
4228 {
"peer_reservations_add",
"public_key_string",
"public_key_description"},
+
+
+
4231 "method" : "peer_reservations_add",
+
+
+
4234 "api_version" : %API_VER%,
+
4235 "description" : "public_key_description",
+
4236 "public_key" : "public_key_string"
+
+
+
+
4240 {"peer_reservations_add: too few arguments.",
+
+
4242 {
"peer_reservations_add"},
+
+
+
4245 "method" : "peer_reservations_add",
+
+
+
4248 "error" : "badSyntax",
+
+
4250 "error_message" : "Syntax error."
+
+
+
+
4254 {"peer_reservations_add: too many arguments.",
+
+
4256 {
"peer_reservations_add",
+
4257 "public_key_string",
+
4258 "public_key_description",
+
+
+
+
4262 "method" : "peer_reservations_add",
+
+
+
4265 "error" : "badSyntax",
+
+
4267 "error_message" : "Syntax error."
+
+
+
+
+
+
+
4274 {
"peer_reservations_del: minimal.",
+
+
4276 {
"peer_reservations_del",
"public_key_string"},
+
+
+
4279 "method" : "peer_reservations_del",
+
+
+
4282 "api_version" : %API_VER%,
+
4283 "public_key" : "public_key_string"
+
+
+
+
4287 {"peer_reservations_del: too few arguments.",
+
+
4289 {
"peer_reservations_del"},
+
+
+
4292 "method" : "peer_reservations_del",
+
+
+
4295 "error" : "badSyntax",
+
+
4297 "error_message" : "Syntax error."
+
+
+
+
4301 {"peer_reservations_del: too many arguments.",
+
+
4303 {
"peer_reservations_del",
+
4304 "public_key_string",
+
4305 "public_key_description",
+
+
+
+
4309 "method" : "peer_reservations_del",
+
+
+
4312 "error" : "badSyntax",
+
+
4314 "error_message" : "Syntax error."
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
4331 "api_version" : %API_VER%,
+
+
+
+
4335 {"ping: too many arguments.",
+
+
+
+
+
+
+
+
4343 "error" : "badSyntax",
+
+
4345 "error_message" : "Syntax error."
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
4362 "api_version" : %API_VER%,
+
+
+
+
+
4367 "print: extra argument.",
+
+
+
+
+
+
+
+
4375 "api_version" : %API_VER%,
+
4376 "params" : [ "extra" ]
+
+
+
+
4380 {"print: too many arguments.",
+
+
4382 {
"print",
"extra1",
"extra2"},
+
+
+
+
+
+
4388 "error" : "badSyntax",
+
+
4390 "error_message" : "Syntax error."
+
+
+
+
+
+
+
4397 {
"random: minimal.",
+
+
+
+
+
+
+
4404 "method" : "random",
+
+
+
4407 "api_version" : %API_VER%,
+
+
+
+
4411 {"random: too many arguments.",
+
+
4413 {
"random",
"extra"},
+
+
+
4416 "method" : "random",
+
+
+
4419 "error" : "badSyntax",
+
+
4421 "error_message" : "Syntax error."
+
+
+
+
+
+
+
4428 {
"ripple_path_find: minimal.",
+
+
+
+
4432 R
"({"json_argument":true})",
+
+
+
+
4436 "method" : "ripple_path_find",
+
+
+
4439 "api_version" : %API_VER%,
+
4440 "json_argument" : true
+
+
+
+
4444 {"ripple_path_find: ledger index.",
+
+
4446 {
"ripple_path_find", R
"({"json_argument":true})", "4294967295"},
+
+
+
4449 "method" : "ripple_path_find",
+
+
+
4452 "api_version" : %API_VER%,
+
4453 "json_argument" : true,
+
4454 "ledger_index" : 4294967295
+
+
+
+
4458 {"ripple_path_find: text ledger index.",
+
+
4460 {
"ripple_path_find", R
"({"json_argument":true})", "closed"},
+
+
+
4463 "method" : "ripple_path_find",
+
+
+
4466 "api_version" : %API_VER%,
+
4467 "json_argument" : true,
+
4468 "ledger_index" : "closed"
+
+
+
+
4472 {"ripple_path_find: ledger hash.",
+
+
4474 {
"ripple_path_find",
+
4475 R
"({"json_argument":true})",
+
4476 "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV"},
+
+
+
4479 "method" : "ripple_path_find",
+
+
+
4482 "api_version" : %API_VER%,
+
4483 "json_argument" : true,
+
4484 "ledger_hash" : "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV"
+
+
+
+
+
4489 {"ripple_path_find: too few arguments.",
+
+
+
+
+
+
+
4496 "method" : "ripple_path_find",
+
+
+
4499 "error" : "badSyntax",
+
+
4501 "error_message" : "Syntax error."
+
+
+
+
4505 {"ripple_path_find: too many arguments.",
+
+
4507 {
"ripple_path_find", R
"({"json_argument":true})", "current",
"extra"},
+
+
+
4510 "method" : "ripple_path_find",
+
+
+
4513 "error" : "badSyntax",
+
+
4515 "error_message" : "Syntax error."
+
+
+
+
4519 {"ripple_path_find: invalid json (note extra comma).",
+
+
+
+
4523 R
"({"json_argument":true,})",
+
+
+
+
4527 "method" : "ripple_path_find",
+
+
+
4530 "error" : "invalidParams",
+
+
4532 "error_message" : "Invalid parameters."
+
+
+
+
4536 {"ripple_path_find: ledger index too small.",
+
+
4538 {
"ripple_path_find", R
"({"json_argument":true})", "-1"},
+
+
+
4541 "method" : "ripple_path_find",
+
+
+
4544 "api_version" : %API_VER%,
+
4545 "json_argument" : true,
+
+
+
+
+
4550 {"ripple_path_find: ledger index too big.",
+
+
4552 {
"ripple_path_find", R
"({"json_argument":true})", "4294967296"},
+
+
+
4555 "method" : "ripple_path_find",
+
+
+
4558 "api_version" : %API_VER%,
+
4559 "json_argument" : true,
+
+
+
+
+
4564 {"ripple_path_find: invalid text ledger index.",
+
+
4566 {
"ripple_path_find", R
"({"json_argument":true})", "cur"},
+
+
+
4569 "method" : "ripple_path_find",
+
+
+
4572 "api_version" : %API_VER%,
+
4573 "json_argument" : true,
+
+
+
+
+
+
+
+
+
+
+
+
+
4586 R
"({"json_argument":true})",
+
+
+
+
+
+
+
4593 "api_version" : %API_VER%,
+
4594 "secret" : "my_secret",
+
+
4596 "json_argument" : true
+
+
+
+
+
+
+
4603 {
"sign",
"my_secret", R
"({"json_argument":true})", "offline"},
+
+
+
+
+
+
4609 "api_version" : %API_VER%,
+
+
4611 "secret" : "my_secret",
+
+
4613 "json_argument" : true
+
+
+
+
+
4618 {"sign: too few arguments.",
+
+
4620 {
"sign",
"contents_of_blob"},
+
+
+
+
+
+
4626 "error" : "badSyntax",
+
+
4628 "error_message" : "Syntax error."
+
+
+
+
4632 {"sign: offline flag with signature_target.",
+
+
4634 {
"sign",
"my_secret", R
"({"json_argument":true})", "offline",
"extra"},
+
+
+
+
+
+
4640 "api_version" : %API_VER%,
+
+
4642 "secret" : "my_secret",
+
4643 "signature_target" : "extra",
+
+
+
4646 "json_argument" : true
+
+
+
+
+
4651 {"sign: too many arguments.",
+
+
+
+
4655 R
"({"json_argument":true})",
+
+
4657 "CounterpartySignature",
+
+
+
+
+
+
+
4664 "error" : "badSyntax",
+
+
4666 "error_message" : "Syntax error."
+
+
+
+
4670 {"sign: invalid JSON (note extra comma).",
+
+
+
+
+
4675 R
"({"json_argument":true,})",
+
+
+
+
+
+
+
4682 "error" : "invalidParams",
+
+
4684 "error_message" : "Invalid parameters."
+
+
+
+
4688 {"sign: misspelled offline flag interpreted as signature_target.",
+
+
4690 {
"sign",
"my_secret", R
"({"json_argument":true})", "offlin"},
+
+
+
+
+
+
4696 "api_version" : %API_VER%,
+
4697 "secret" : "my_secret",
+
4698 "signature_target" : "offlin",
+
+
+
4701 "json_argument" : true
+
+
+
+
+
+
+
+
4709 {
"sign_for: minimal.",
+
+
+
+
4713 "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
+
+
4715 R
"({"json_argument":true})",
+
+
+
+
4719 "method" : "sign_for",
+
+
+
4722 "api_version" : %API_VER%,
+
4723 "account" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
+
4724 "secret" : "my_secret",
+
+
4726 "json_argument" : true
+
+
+
+
+
4731 {"sign_for: offline.",
+
+
+
4734 "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
+
+
4736 R
"({"json_argument":true})",
+
+
+
+
4740 "method" : "sign_for",
+
+
+
4743 "api_version" : %API_VER%,
+
4744 "account" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
+
+
4746 "secret" : "my_secret",
+
+
4748 "json_argument" : true
+
+
+
+
+
4753 {"sign_for: too few arguments.",
+
+
+
+
4757 "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
+
+
+
+
+
4762 "method" : "sign_for",
+
+
+
4765 "error" : "badSyntax",
+
+
4767 "error_message" : "Syntax error."
+
+
+
+
4771 {"sign_for: too many arguments.",
+
+
+
4774 "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
+
+
4776 R
"({"json_argument":true})",
+
+
+
+
+
4781 "method" : "sign_for",
+
+
+
4784 "error" : "badSyntax",
+
+
4786 "error_message" : "Syntax error."
+
+
+
+
4790 {"sign_for: invalid json (note extra comma).",
+
+
+
+
4794 "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
+
+
4796 R
"({"json_argument":true,})",
+
+
+
+
4800 "method" : "sign_for",
+
+
+
4803 "error" : "invalidParams",
+
+
4805 "error_message" : "Invalid parameters."
+
+
+
+
4809 {"sign_for: invalid final argument.",
+
+
+
4812 "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
+
+
4814 R
"({"json_argument":true})",
+
+
+
+
4818 "method" : "sign_for",
+
+
+
4821 "error" : "invalidParams",
+
+
4823 "error_message" : "Invalid parameters."
+
+
+
+
+
+
+
+
+
4832 {
"submit",
"the blob is unvalidated and may be any length..."},
+
+
+
4835 "method" : "submit",
+
+
+
4838 "api_version" : %API_VER%,
+
4839 "tx_blob" : "the blob is unvalidated and may be any length..."
+
+
+
+
+
+
+
+
+
4848 R
"({"json_argument":true})",
+
+
+
+
4852 "method" : "submit",
+
+
+
4855 "api_version" : %API_VER%,
+
4856 "secret" : "my_secret",
+
+
4858 "json_argument" : true
+
+
+
+
+
4863 {"submit: too few arguments.",
+
+
+
+
+
+
+
4870 "method" : "submit",
+
+
+
4873 "error" : "badSyntax",
+
+
4875 "error_message" : "Syntax error."
+
+
+
+
+
4880 "submit: four arguments.",
+
+
4882 {
"submit",
"my_secret", R
"({"json_argument":true})", "offline"},
+
+
+
4885 "method" : "submit",
+
+
+
4888 "api_version" : %API_VER%,
+
+
4890 "secret" : "my_secret",
+
+
4892 "json_argument" : true
+
+
+
+
+
4897 {"submit: offline flag with signature_target.",
+
+
4899 {
"submit",
"my_secret", R
"({"json_argument":true})", "offline",
"extra"},
+
+
+
4902 "method" : "submit",
+
+
+
4905 "api_version" : %API_VER%,
+
+
4907 "secret" : "my_secret",
+
4908 "signature_target" : "extra",
+
+
+
4911 "json_argument" : true
+
+
+
+
+
4916 {"submit: too many arguments.",
+
+
+
+
4920 R
"({"json_argument":true})",
+
+
4922 "CounterpartySignature",
+
+
+
+
4926 "method" : "submit",
+
+
+
4929 "error" : "badSyntax",
+
+
4931 "error_message" : "Syntax error."
+
+
+
+
4935 {"submit: invalid json (note extra comma).",
+
+
+
+
+
4940 R
"({"json_argument":true,})",
+
+
+
+
4944 "method" : "submit",
+
+
+
4947 "error" : "invalidParams",
+
+
4949 "error_message" : "Invalid parameters."
+
+
+
+
4953 {"submit: misspelled offline flag interpreted as signature_target.",
+
+
4955 {
"submit",
"my_secret", R
"({"json_argument":true})", "offlne"},
+
+
+
4958 "method" : "submit",
+
+
+
4961 "api_version" : %API_VER%,
+
4962 "secret" : "my_secret",
+
4963 "signature_target" : "offlne",
+
+
+
4966 "json_argument" : true
+
+
+
+
+
+
+
+
4974 {
"submit_multisigned: json.",
+
+
+
4977 "submit_multisigned",
+
4978 R
"({"json_argument":true})",
+
+
+
+
4982 "method" : "submit_multisigned",
+
+
+
4985 "api_version" : %API_VER%,
+
+
4987 "json_argument" : true
+
+
+
+
+
4992 {"submit_multisigned: too few arguments.",
+
+
+
4995 "submit_multisigned",
+
+
+
+
4999 "method" : "submit_multisigned",
+
+
+
5002 "error" : "badSyntax",
+
+
5004 "error_message" : "Syntax error."
+
+
+
+
5008 {"submit_multisigned: too many arguments.",
+
+
5010 {
"submit_multisigned", R
"({"json_argument":true})", "extra"},
+
+
+
5013 "method" : "submit_multisigned",
+
+
+
5016 "error" : "badSyntax",
+
+
5018 "error_message" : "Syntax error."
+
+
+
+
5022 {"submit_multisigned: invalid json (note extra comma).",
+
+
+
5025 "submit_multisigned",
+
5026 R
"({"json_argument":true,})",
+
+
+
+
5030 "method" : "submit_multisigned",
+
+
+
5033 "error" : "invalidParams",
+
+
5035 "error_message" : "Invalid parameters."
+
+
+
+
+
+
+
+
5043 {
"server_info: minimal.",
+
+
+
+
+
+
+
5050 "method" : "server_info",
+
+
+
5053 "api_version" : %API_VER%,
+
+
+
+
5057 {"server_info: counters.",
+
+
5059 {
"server_info",
"counters"},
+
+
+
5062 "method" : "server_info",
+
+
+
5065 "api_version" : %API_VER%,
+
+
+
+
+
5070 {"server_info: too many arguments.",
+
+
5072 {
"server_info",
"counters",
"extra"},
+
+
+
5075 "method" : "server_info",
+
+
+
5078 "error" : "badSyntax",
+
+
5080 "error_message" : "Syntax error."
+
+
+
+
5084 {"server_info: non-counters argument.",
+
+
5086 {
"server_info",
"counter"},
+
+
+
5089 "method" : "server_info",
+
+
+
5092 "api_version" : %API_VER%,
+
+
+
+
+
+
+
5099 {
"server_state: minimal.",
+
+
+
+
+
+
+
5106 "method" : "server_state",
+
+
+
5109 "api_version" : %API_VER%,
+
+
+
+
5113 {"server_state: counters.",
+
+
5115 {
"server_state",
"counters"},
+
+
+
5118 "method" : "server_state",
+
+
+
5121 "api_version" : %API_VER%,
+
+
+
+
+
5126 {"server_state: too many arguments.",
+
+
5128 {
"server_state",
"counters",
"extra"},
+
+
+
5131 "method" : "server_state",
+
+
+
5134 "error" : "badSyntax",
+
+
5136 "error_message" : "Syntax error."
+
+
+
+
5140 {"server_state: non-counters argument.",
+
+
5142 {
"server_state",
"counter"},
+
+
+
5145 "method" : "server_state",
+
+
+
5148 "api_version" : %API_VER%,
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
5165 "api_version" : %API_VER%,
+
+
+
+
5169 {"stop: too many arguments.",
+
+
+
+
+
+
+
+
5177 "error" : "badSyntax",
+
+
5179 "error_message" : "Syntax error."
+
+
+
+
+
+
+
5186 {
"transaction_entry: ledger index.",
+
+
5188 {
"transaction_entry",
+
5189 "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV",
+
+
+
+
5193 "method" : "transaction_entry",
+
+
+
5196 "api_version" : %API_VER%,
+
5197 "ledger_index" : 4294967295,
+
5198 "tx_hash" : "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV"
+
+
+
+
5202 {"transaction_entry: text ledger index.",
+
+
5204 {
"transaction_entry",
+
5205 "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV",
+
+
+
+
5209 "method" : "transaction_entry",
+
+
+
5212 "api_version" : %API_VER%,
+
5213 "ledger_index" : "current",
+
5214 "tx_hash" : "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV"
+
+
+
+
5218 {"transaction_entry: ledger hash.",
+
+
5220 {
"transaction_entry",
+
5221 "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV",
+
5222 "VUTSRQPONMLKJIHGFEDCBA9876543210VUTSRQPONMLKJIHGFEDCBA9876543210"},
+
+
+
5225 "method" : "transaction_entry",
+
+
+
5228 "api_version" : %API_VER%,
+
5229 "ledger_hash" : "VUTSRQPONMLKJIHGFEDCBA9876543210VUTSRQPONMLKJIHGFEDCBA9876543210",
+
5230 "tx_hash" : "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV"
+
+
+
+
5234 {"transaction_entry: too few arguments.",
+
+
+
5237 "transaction_entry",
+
5238 "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV",
+
+
+
+
5242 "method" : "transaction_entry",
+
+
+
5245 "error" : "badSyntax",
+
+
5247 "error_message" : "Syntax error."
+
+
+
+
5251 {"transaction_entry: too many arguments.",
+
+
5253 {
"transaction_entry",
+
5254 "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV",
+
+
+
+
+
5259 "method" : "transaction_entry",
+
+
+
5262 "error" : "badSyntax",
+
+
5264 "error_message" : "Syntax error."
+
+
+
+
5268 {"transaction_entry: short tx_hash.",
+
+
+
5271 "transaction_entry",
+
5272 "123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV",
+
+
+
+
+
5277 "method" : "transaction_entry",
+
+
+
5280 "error" : "invalidParams",
+
+
5282 "error_message" : "Invalid parameters."
+
+
+
+
5286 {"transaction_entry: long tx_hash.",
+
+
+
5289 "transaction_entry",
+
5290 "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUVW",
+
+
+
+
+
5295 "method" : "transaction_entry",
+
+
+
5298 "error" : "invalidParams",
+
+
5300 "error_message" : "Invalid parameters."
+
+
+
+
5304 {"transaction_entry: small ledger index.",
+
+
+
5307 "transaction_entry",
+
5308 "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV",
+
+
+
+
+
5313 "method" : "transaction_entry",
+
+
+
5316 "error" : "invalidParams",
+
+
5318 "error_message" : "Invalid parameters."
+
+
+
+
5322 {"transaction_entry: large ledger index.",
+
+
+
5325 "transaction_entry",
+
5326 "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV",
+
+
+
+
+
5331 "method" : "transaction_entry",
+
+
+
5334 "error" : "invalidParams",
+
+
5336 "error_message" : "Invalid parameters."
+
+
+
+
5340 {"transaction_entry: short ledger hash.",
+
+
+
5343 "transaction_entry",
+
5344 "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV",
+
5345 "VUTSRQPONMLKJIHGFEDCBA9876543210VUTSRQPONMLKJIHGFEDCBA987654321",
+
+
+
+
5349 "method" : "transaction_entry",
+
+
+
5352 "error" : "invalidParams",
+
+
5354 "error_message" : "Invalid parameters."
+
+
+
+
5358 {"transaction_entry: long ledger hash.",
+
+
+
5361 "transaction_entry",
+
5362 "0123456789ABCDEFGHIJKLMNOPQRSTUV0123456789ABCDEFGHIJKLMNOPQRSTUV",
+
5363 "VUTSRQPONMLKJIHGFEDCBA9876543210VUTSRQPONMLKJIHGFEDCBA9876543210Z",
+
+
+
+
5367 "method" : "transaction_entry",
+
+
+
5370 "error" : "invalidParams",
+
+
5372 "error_message" : "Invalid parameters."
+
+
+
+
+
+
+
5379 {
"tx: ctid. minimal",
+
+
5381 {
"tx",
"FFFFFFFFFFFFFFFF",
"1",
"2"},
+
+
+
+
+
+
5387 "api_version" : %API_VER%,
+
5388 "ctid" : "FFFFFFFFFFFFFFFF",
+
+
+
+
+
+
5394 {"tx: ctid. binary",
+
+
5396 {
"tx",
"FFFFFFFFFFFFFFFF",
"binary",
"1",
"2"},
+
+
+
+
+
+
5402 "api_version" : %API_VER%,
+
+
5404 "ctid" : "FFFFFFFFFFFFFFFF",
+
+
+
+
+
+
+
+
5412 {
"tx",
"transaction_hash_is_not_validated"},
+
+
+
+
+
+
5418 "api_version" : %API_VER%,
+
5419 "transaction" : "transaction_hash_is_not_validated"
+
+
+
+
+
+
5425 {
"tx",
"transaction_hash_is_not_validated",
"binary"},
+
+
+
+
+
+
5431 "api_version" : %API_VER%,
+
+
5433 "transaction" : "transaction_hash_is_not_validated"
+
+
+
+
5437 {"tx: too few arguments.",
+
+
+
+
+
+
+
+
+
+
5447 "error" : "badSyntax",
+
+
5449 "error_message" : "Syntax error."
+
+
+
+
5453 {"tx: too many arguments.",
+
+
5455 {
"tx",
"transaction_hash_is_not_validated",
"binary",
"1",
"2",
"extra"},
+
+
+
+
+
+
5461 "error" : "badSyntax",
+
+
5463 "error_message" : "Syntax error."
+
+
+
+
5467 {"tx: invalid final argument is apparently ignored.",
+
+
5469 {
"tx",
"transaction_hash_is_not_validated",
"bin"},
+
+
+
+
+
+
5475 "api_version" : %API_VER%,
+
5476 "transaction" : "transaction_hash_is_not_validated"
+
+
+
+
+
+
+
5483 {
"tx_history: minimal.",
+
+
5485 {
"tx_history",
"0"},
+
+
+
5488 "method" : "tx_history",
+
+
+
5491 "api_version" : %API_VER%,
+
+
+
+
+
5496 {"tx_history: too few arguments.",
+
+
+
+
+
+
+
5503 "method" : "tx_history",
+
+
+
5506 "error" : "badSyntax",
+
+
5508 "error_message" : "Syntax error."
+
+
+
+
5512 {"tx_history: too many arguments.",
+
+
5514 {
"tx_history",
"0",
"1"},
+
+
+
5517 "method" : "tx_history",
+
+
+
5520 "error" : "badSyntax",
+
+
5522 "error_message" : "Syntax error."
+
+
+
+
+
+
5528 "tx_history: start too small.",
+
+
5530 {
"tx_history",
"-1"},
+
+
+
+
+
+
5536 "tx_history: start too big.",
+
+
5538 {
"tx_history",
"4294967296"},
+
+
+
+
+
+
5544 "tx_history: start not integer.",
+
+
5546 {
"tx_history",
"beginning"},
+
+
+
+
+
+
+
5553 {
"unl_list: minimal.",
+
+
+
+
+
+
+
5560 "method" : "unl_list",
+
+
+
5563 "api_version" : %API_VER%,
+
+
+
+
5567 {"unl_list: too many arguments.",
+
+
5569 {
"unl_list",
"extra"},
+
+
+
5572 "method" : "unl_list",
+
+
+
5575 "error" : "badSyntax",
+
+
5577 "error_message" : "Syntax error."
+
+
+
+
+
+
+
5584 {
"validation_create: minimal.",
+
+
+
5587 "validation_create",
+
+
+
+
5591 "method" : "validation_create",
+
+
+
5594 "api_version" : %API_VER%,
+
+
+
+
5598 {"validation_create: with secret.",
+
+
5600 {
"validation_create",
"the form of the secret is not validated"},
+
+
+
5603 "method" : "validation_create",
+
+
+
5606 "api_version" : %API_VER%,
+
5607 "secret" : "the form of the secret is not validated"
+
+
+
+
5611 {"validation_create: too many arguments.",
+
+
5613 {
"validation_create",
"the form of the secret is not validated",
"extra"},
+
+
+
5616 "method" : "validation_create",
+
+
+
5619 "error" : "badSyntax",
+
+
5621 "error_message" : "Syntax error."
+
+
+
+
+
+
+
5628 {
"version: minimal.",
+
+
+
+
+
+
+
5635 "method" : "version",
+
+
+
5638 "api_version" : %API_VER%,
+
+
+
+
5642 {"version: too many arguments.",
+
+
5644 {
"version",
"extra"},
+
+
+
5647 "method" : "version",
+
+
+
5650 "error" : "badSyntax",
+
+
5652 "error_message" : "Syntax error."
+
+
+
+
+
+
+
5659 {
"wallet_propose: minimal.",
+
+
+
+
+
+
+
5666 "method" : "wallet_propose",
+
+
+
5669 "api_version" : %API_VER%,
+
+
+
+
5673 {"wallet_propose: with passphrase.",
+
+
5675 {
"wallet_propose",
"the form of the passphrase is not validated"},
+
+
+
5678 "method" : "wallet_propose",
+
+
+
5681 "api_version" : %API_VER%,
+
5682 "passphrase" : "the form of the passphrase is not validated"
+
+
+
+
5686 {"wallet_propose: too many arguments.",
+
+
5688 {
"wallet_propose",
"the form of the passphrase is not validated",
"extra"},
+
+
+
5691 "method" : "wallet_propose",
+
+
+
5694 "error" : "badSyntax",
+
+
5696 "error_message" : "Syntax error."
+
+
+
+
+
+
+
5703 {
"internal: minimal.",
+
+
5705 {
"internal",
"command_name"},
+
+
+
5708 "method" : "internal",
+
+
+
5711 "api_version" : %API_VER%,
+
5712 "internal_command" : "command_name",
+
+
+
+
+
5717 {"internal: with parameters.",
+
+
+
+
+
+
+
+
+
+
+
5728 "method" : "internal",
+
+
+
5731 "api_version" : %API_VER%,
+
5732 "internal_command" : "command_name",
+
5733 "params" : [ "string_arg", "1", "-1", "4294967296", "3.14159" ]
+
+
+
+
5737 {"internal: too few arguments.",
+
+
+
+
+
+
+
5744 "method" : "internal",
+
+
+
5747 "error" : "badSyntax",
+
+
5749 "error_message" : "Syntax error."
+
+
+
+
+
+
+
5756 {
"path_find: minimal.",
+
+
+
+
+
+
+
5763 "method" : "path_find",
+
+
+
5766 "error" : "noEvents",
+
+
5768 "error_message" : "Current transport does not support events."
+
+
+
+
5772 {"path_find: with arguments.",
+
+
5774 {
"path_find",
"string_arg",
"1",
"-1",
"4294967296",
"3.14159"},
+
+
+
5777 "method" : "path_find",
+
+
+
5780 "error" : "noEvents",
+
+
5782 "error_message" : "Current transport does not support events."
+
+
+
+
+
+
+
5789 {
"subscribe: minimal.",
+
+
+
+
+
+
+
5796 "method" : "subscribe",
+
+
+
5799 "error" : "noEvents",
+
+
5801 "error_message" : "Current transport does not support events."
+
+
+
+
5805 {"subscribe: with arguments.",
+
+
5807 {
"subscribe",
"string_arg",
"1",
"-1",
"4294967296",
"3.14159"},
+
+
+
5810 "method" : "subscribe",
+
+
+
5813 "error" : "noEvents",
+
+
5815 "error_message" : "Current transport does not support events."
+
+
+
+
+
+
+
5822 {
"unsubscribe: minimal.",
+
+
+
+
+
+
+
5829 "method" : "unsubscribe",
+
+
+
5832 "error" : "noEvents",
+
+
5834 "error_message" : "Current transport does not support events."
+
+
+
+
5838 {"unsubscribe: with arguments.",
+
+
5840 {
"unsubscribe",
"string_arg",
"1",
"-1",
"4294967296",
"3.14159"},
+
+
+
5843 "method" : "unsubscribe",
+
+
+
5846 "error" : "noEvents",
+
+
5848 "error_message" : "Current transport does not support events."
+
+
+
+
+
+
+
5855 {
"unknown_command: minimal.",
+
+
+
+
+
+
+
5862 "method" : "unknown_command",
+
+
+
5865 "api_version" : %API_VER%,
+
+
+
+
5869 {"unknown_command: with arguments.",
+
+
5871 {
"unknown_command",
"string_arg",
"1",
"-1",
"4294967296",
"3.14159"},
+
+
+
5874 "method" : "unknown_command",
+
+
+
5877 "api_version" : %API_VER%,
+
5878 "params" : [ "string_arg", "1", "-1", "4294967296", "3.14159" ]
+
+
+
+