+
+

RPC Tool

+
+

+ {translate( + "This is a debug tool for printing raw information about an account (by classic address), a transaction (by hash) or a ledger (by sequence number)." + )} +

+ setInputText(event.target.value)} + value={inputText} + id="target" + className="form-control" + required + type="text" + placeholder={translate( + "XRP Ledger address, transaction ID, or ledger index" + )} + /> + + + {translate("Try an account like ")} + rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn. + +   + + {showResult && ( +
+

{translate("Result")}

+
+
+
+ + {errorText && ( +
+ {translate(errorText)} +
+ )} + {errorText === "" && ( + + )} + {txResponse && ( + tx} + customExpanded={3} + customExpandedText={translate("expand tx")} + /> + )} +
+ {accountInfoResponse && ( + <> +

+ account_info +

+ + + )} + {accountLinesResponse && ( + account_lines} + />) + } + {accountTxResponse && ( + account_tx{" "} {translate("(last 20)")}} + customExpanded={3} + customExpandedText={translate("expand tx")} + />) + } + {accountObjectsResponse && ( + account_objects} + />) + } +
+ {ledgerResponse && ( + ledger} + />) + } +
+ )} +
+
+