rippled
Loading...
Searching...
No Matches
jss.h
1#pragma once
2
3#include <xrpl/json/json_value.h>
4
5namespace xrpl {
6namespace jss {
7
8// JSON static strings
9
10#define JSS(x) constexpr ::Json::StaticString x(#x)
11
12/* These "StaticString" field names are used instead of string literals to
13 optimize the performance of accessing properties of Json::Value objects.
14
15 Most strings have a trailing comment. Here is the legend:
16
17 in: Read by the given RPC handler from its `Json::Value` parameter.
18 out: Assigned by the given RPC handler in the `Json::Value` it returns.
19 field: A field of at least one type of transaction.
20 RPC: Common properties of RPC requests and responses.
21 error: Common properties of RPC error responses.
22*/
23
24// clang-format off
25JSS(AL_size); // out: GetCounts
26JSS(AL_hit_rate); // out: GetCounts
27JSS(AcceptedCredentials); // out: AccountObjects
28JSS(Account); // in: TransactionSign; field.
29JSS(AMMID); // field
30JSS(Amount); // in: TransactionSign; field.
31JSS(Amount2); // in/out: AMM IOU/XRP pool, deposit, withdraw amount
32JSS(Asset); // in: AMM Asset1
33JSS(Asset2); // in: AMM Asset2
34JSS(AssetClass); // in: Oracle
35JSS(AssetPrice); // in: Oracle
36JSS(AuthAccount); // in: AMM Auction Slot
37JSS(AuthAccounts); // in: AMM Auction Slot
38JSS(BaseAsset); // in: Oracle
39JSS(BidMax); // in: AMM Bid
40JSS(BidMin); // in: AMM Bid
41JSS(ClearFlag); // field.
42JSS(Counterparty); // field.
43JSS(CounterpartySignature);// field.
44JSS(DeliverMax); // out: alias to Amount
45JSS(DeliverMin); // in: TransactionSign
46JSS(Destination); // in: TransactionSign; field.
47JSS(EPrice); // in: AMM Deposit option
48JSS(Fee); // in/out: TransactionSign; field.
49JSS(Flags); // in/out: TransactionSign; field.
50JSS(Holder); // field.
51JSS(Invalid); //
52JSS(Issuer); // in: Credential transactions
53JSS(IssuingChainDoor); // field.
54JSS(IssuingChainIssue); // field.
55JSS(LastLedgerSequence); // in: TransactionSign; field
56JSS(LastUpdateTime); // field.
57JSS(LimitAmount); // field.
58JSS(LockingChainDoor); // field.
59JSS(LockingChainIssue); // field.
60JSS(NetworkID); // field.
61JSS(LPTokenOut); // in: AMM Liquidity Provider deposit tokens
62JSS(LPTokenIn); // in: AMM Liquidity Provider withdraw tokens
63JSS(LPToken); // out: AMM Liquidity Provider tokens info
64JSS(OfferSequence); // field.
65JSS(OracleDocumentID); // field
66JSS(Owner); // field
67JSS(Paths); // in/out: TransactionSign
68JSS(PriceDataSeries); // field.
69JSS(PriceData); // field.
70JSS(Provider); // field.
71JSS(QuoteAsset); // in: Oracle.
72JSS(RawTransaction); // in: Batch
73JSS(RawTransactions); // in: Batch
74JSS(SLE_hit_rate); // out: GetCounts.
75JSS(Scale); // field.
76JSS(SettleDelay); // in: TransactionSign
77JSS(SendMax); // in: TransactionSign
78JSS(Sequence); // in/out: TransactionSign; field.
79JSS(SetFlag); // field.
80JSS(Signer); // field.
81JSS(Signers); // field.
82JSS(SigningPubKey); // field.
83JSS(Subject); // in: Credential transactions
84JSS(TakerGets); // field.
85JSS(TakerPays); // field.
86JSS(TradingFee); // in/out: AMM trading fee
87JSS(TransactionType); // in: TransactionSign.
88JSS(TransferRate); // in: TransferRate.
89JSS(TxnSignature); // field.
90JSS(URI); // field.
91JSS(VoteSlots); // out: AMM Vote
92JSS(aborted); // out: InboundLedger
93JSS(accepted); // out: LedgerToJson, OwnerInfo, SubmitTransaction
94JSS(accountState); // out: LedgerToJson
95JSS(accountTreeHash); // out: ledger/Ledger.cpp
96JSS(account_data); // out: AccountInfo
97JSS(account_flags); // out: AccountInfo
98JSS(account_hash); // out: LedgerToJson
99JSS(account_id); // out: WalletPropose
100JSS(account_nfts); // out: AccountNFTs
101JSS(account_objects); // out: AccountObjects
102JSS(account_root); // in: LedgerEntry
103JSS(account_sequence_next); // out: SubmitTransaction
104JSS(account_sequence_available); // out: SubmitTransaction
105JSS(account_history_tx_stream); // in: Subscribe, Unsubscribe
106JSS(account_history_tx_index); // out: Account txn history subscribe
107
108JSS(account_history_tx_first); // out: Account txn history subscribe
109JSS(account_history_boundary); // out: Account txn history subscribe
110JSS(accounts); // in: LedgerEntry, Subscribe,
111 // handlers/Ledger, Unsubscribe
112JSS(accounts_proposed); // in: Subscribe, Unsubscribe
113JSS(action);
114JSS(acquiring); // out: LedgerRequest
115JSS(address); // out: PeerImp
116JSS(affected); // out: AcceptedLedgerTx
117JSS(age); // out: NetworkOPs, Peers
118JSS(alternatives); // out: PathRequest, RipplePathFind
119JSS(amendment_blocked); // out: NetworkOPs
120JSS(amm_account); // in: amm_info
121JSS(amount); // out: AccountChannels, amm_info
122JSS(amount2); // out: amm_info
123JSS(api_version); // in: many, out: Version
124JSS(api_version_low); // out: Version
125JSS(applied); // out: SubmitTransaction
126JSS(asks); // out: Subscribe
127JSS(asset); // in: amm_info
128JSS(asset2); // in: amm_info
129JSS(assets); // out: GatewayBalances
130JSS(asset_frozen); // out: amm_info
131JSS(asset2_frozen); // out: amm_info
132JSS(attestations);
133JSS(attestation_reward_account);
134JSS(auction_slot); // out: amm_info
135JSS(authorized); // out: AccountLines
136JSS(authorize); // out: delegate
137JSS(authorized_credentials); // in: ledger_entry DepositPreauth
138JSS(auth_accounts); // out: amm_info
139JSS(auth_change); // out: AccountInfo
140JSS(auth_change_queued); // out: AccountInfo
141JSS(available); // out: ValidatorList
142JSS(avg_bps_recv); // out: Peers
143JSS(avg_bps_sent); // out: Peers
144JSS(balance); // out: AccountLines
145JSS(balances); // out: GatewayBalances
146JSS(base); // out: LogLevel
147JSS(base_asset); // in: get_aggregate_price
148JSS(base_fee); // out: NetworkOPs
149JSS(base_fee_xrp); // out: NetworkOPs
150JSS(bids); // out: Subscribe
151JSS(binary); // in: AccountTX, LedgerEntry,
152 // AccountTxOld, Tx LedgerData
153JSS(blob); // out: ValidatorList
154JSS(blobs_v2); // out: ValidatorList
155 // in: UNL
156JSS(books); // in: Subscribe, Unsubscribe
157JSS(both); // in: Subscribe, Unsubscribe
158JSS(both_sides); // in: Subscribe, Unsubscribe
159JSS(branch); // out: server_info
160JSS(broadcast); // out: SubmitTransaction
161JSS(bridge_account); // in: LedgerEntry
162JSS(build_path); // in: TransactionSign
163JSS(build_version); // out: NetworkOPs
164JSS(cancel_after); // out: AccountChannels
165JSS(can_delete); // out: CanDelete
166JSS(mpt_amount); // out: mpt_holders
167JSS(mpt_issuance_id); // in: Payment, mpt_holders
168JSS(mptoken_index); // out: mpt_holders
169JSS(changes); // out: BookChanges
170JSS(channel_id); // out: AccountChannels
171JSS(channels); // out: AccountChannels
172JSS(check_nodes); // in: LedgerCleaner
173JSS(clear); // in/out: FetchInfo
174JSS(close); // out: BookChanges
175JSS(close_flags); // out: LedgerToJson
176JSS(close_time); // in: Application, out: NetworkOPs,
177 // RCLCxPeerPos, LedgerToJson
178JSS(close_time_iso); // out: Tx, NetworkOPs, TransactionEntry
179 // AccountTx, LedgerToJson
180JSS(close_time_estimated); // in: Application, out: LedgerToJson
181JSS(close_time_human); // out: LedgerToJson
182JSS(close_time_offset); // out: NetworkOPs
183JSS(close_time_resolution); // in: Application; out: LedgerToJson
184JSS(closed); // out: NetworkOPs, LedgerToJson,
185 // handlers/Ledger
186JSS(closed_ledger); // out: NetworkOPs
187JSS(cluster); // out: PeerImp
188JSS(code); // out: errors
189JSS(command); // in: RPCHandler
190JSS(complete); // out: NetworkOPs, InboundLedger
191JSS(complete_ledgers); // out: NetworkOPs, PeerImp
192JSS(consensus); // out: NetworkOPs, LedgerConsensus
193JSS(converge_time); // out: NetworkOPs
194JSS(converge_time_s); // out: NetworkOPs
195JSS(cookie); // out: NetworkOPs
196JSS(count); // in: AccountTx*, ValidatorList
197JSS(counters); // in/out: retrieve counters
198JSS(credentials); // in: deposit_authorized
199JSS(credential_type); // in: LedgerEntry DepositPreauth
200JSS(ctid); // in/out: Tx RPC
201JSS(currency_a); // out: BookChanges
202JSS(currency_b); // out: BookChanges
203JSS(currency); // in: paths/PathRequest, STAmount
204 // out: STPathSet, STAmount,
205 // AccountLines
206JSS(current); // out: OwnerInfo
207JSS(current_activities);
208JSS(current_ledger_size); // out: TxQ
209JSS(current_queue_size); // out: TxQ
210JSS(data); // out: LedgerData
211JSS(date); // out: tx/Transaction, NetworkOPs
212JSS(dbKBLedger); // out: getCounts
213JSS(dbKBTotal); // out: getCounts
214JSS(dbKBTransaction); // out: getCounts
215JSS(debug_signing); // in: TransactionSign
216JSS(deletion_blockers_only); // in: AccountObjects
217JSS(delivered_amount); // out: insertDeliveredAmount
218JSS(deposit_authorized); // out: deposit_authorized
219JSS(deprecated); // out
220JSS(descending); // in: AccountTx*
221JSS(description); // in/out: Reservations
222JSS(destination); // in: nft_buy_offers, nft_sell_offers
223JSS(destination_account); // in: PathRequest, RipplePathFind, account_lines
224 // out: AccountChannels
225JSS(destination_amount); // in: PathRequest, RipplePathFind
226JSS(destination_currencies); // in: PathRequest, RipplePathFind
227JSS(destination_tag); // in: PathRequest
228 // out: AccountChannels
229JSS(details); // out: Manifest, server_info
230JSS(dir_entry); // out: DirectoryEntryIterator
231JSS(dir_index); // out: DirectoryEntryIterator
232JSS(dir_root); // out: DirectoryEntryIterator
233JSS(discounted_fee); // out: amm_info
234JSS(domain); // out: ValidatorInfo, Manifest
235JSS(drops); // out: TxQ
236JSS(duration_us); // out: NetworkOPs
237JSS(effective); // out: ValidatorList
238 // in: UNL
239JSS(enabled); // out: AmendmentTable
240JSS(engine_result); // out: NetworkOPs, TransactionSign, Submit
241JSS(engine_result_code); // out: NetworkOPs, TransactionSign, Submit
242JSS(engine_result_message); // out: NetworkOPs, TransactionSign, Submit
243JSS(entire_set); // out: get_aggregate_price
244JSS(ephemeral_key); // out: ValidatorInfo
245 // in/out: Manifest
246JSS(error); // out: error
247JSS(errored);
248JSS(error_code); // out: error
249JSS(error_exception); // out: Submit
250JSS(error_message); // out: error
251JSS(expand); // in: handler/Ledger
252JSS(expected_date); // out: any (warnings)
253JSS(expected_date_UTC); // out: any (warnings)
254JSS(expected_ledger_size); // out: TxQ
255JSS(expiration); // out: AccountOffers, AccountChannels,
256 // ValidatorList, amm_info
257JSS(fail_hard); // in: Sign, Submit
258JSS(failed); // out: InboundLedger
259JSS(feature); // in: Feature
260JSS(features); // out: Feature
261JSS(fee_base); // out: NetworkOPs
262JSS(fee_div_max); // in: TransactionSign
263JSS(fee_level); // out: AccountInfo
264JSS(fee_mult_max); // in: TransactionSign
265JSS(fee_ref); // out: NetworkOPs, DEPRECATED
266JSS(fetch_pack); // out: NetworkOPs
267JSS(FIELDS); // out: RPC server_definitions
268 // matches definitions.json format
269JSS(first); // out: rpc/Version
270JSS(finished);
271JSS(fix_txns); // in: LedgerCleaner
272JSS(flags); // out: AccountOffers,
273 // NetworkOPs
274JSS(forward); // in: AccountTx
275JSS(freeze); // out: AccountLines
276JSS(freeze_peer); // out: AccountLines
277JSS(deep_freeze); // out: AccountLines
278JSS(deep_freeze_peer); // out: AccountLines
279JSS(frozen_balances); // out: GatewayBalances
280JSS(full); // in: LedgerClearer, handlers/Ledger
281JSS(full_reply); // out: PathFind
282JSS(fullbelow_size); // out: GetCounts
283JSS(git); // out: server_info
284JSS(good); // out: RPCVersion
285JSS(hash); // out: NetworkOPs, InboundLedger,
286 // LedgerToJson, STTx; field
287JSS(have_header); // out: InboundLedger
288JSS(have_state); // out: InboundLedger
289JSS(have_transactions); // out: InboundLedger
290JSS(high); // out: BookChanges
291JSS(highest_sequence); // out: AccountInfo
292JSS(highest_ticket); // out: AccountInfo
293JSS(historical_perminute); // historical_perminute.
294JSS(holders); // out: MPTHolders
295JSS(hostid); // out: NetworkOPs
296JSS(hotwallet); // in: GatewayBalances
297JSS(id); // websocket.
298JSS(ident); // in: AccountCurrencies, AccountInfo,
299 // OwnerInfo
300JSS(ignore_default); // in: AccountLines
301JSS(inLedger); // out: tx/Transaction
302JSS(inbound); // out: PeerImp
303JSS(index); // in: LedgerEntry
304 // out: STLedgerEntry,
305 // LedgerEntry, TxHistory, LedgerData
306JSS(info); // out: ServerInfo, ConsensusInfo, FetchInfo
307JSS(initial_sync_duration_us);
308JSS(internal_command); // in: Internal
309JSS(invalid_API_version); // out: Many, when a request has an invalid
310 // version
311JSS(io_latency_ms); // out: NetworkOPs
312JSS(ip); // in: Connect, out: OverlayImpl
313JSS(is_burned); // out: nft_info (clio)
314JSS(isSerialized); // out: RPC server_definitions
315 // matches definitions.json format
316JSS(isSigningField); // out: RPC server_definitions
317 // matches definitions.json format
318JSS(isVLEncoded); // out: RPC server_definitions
319 // matches definitions.json format
320JSS(issuer); // in: RipplePathFind, Subscribe,
321 // Unsubscribe, BookOffers
322 // out: STPathSet, STAmount
323JSS(job);
324JSS(job_queue);
325JSS(jobs);
326JSS(jsonrpc); // json version
327JSS(jq_trans_overflow); // JobQueue transaction limit overflow.
328JSS(kept); // out: SubmitTransaction
329JSS(key); // out
330JSS(key_type); // in/out: WalletPropose, TransactionSign
331JSS(latency); // out: PeerImp
332JSS(last); // out: RPCVersion
333JSS(last_close); // out: NetworkOPs
334JSS(last_refresh_time); // out: ValidatorSite
335JSS(last_refresh_status); // out: ValidatorSite
336JSS(last_refresh_message); // out: ValidatorSite
337JSS(ledger); // in: NetworkOPs, LedgerCleaner,
338 // RPCHelpers
339 // out: NetworkOPs, PeerImp
340JSS(ledger_current_index); // out: NetworkOPs, RPCHelpers,
341 // LedgerCurrent, LedgerAccept,
342 // AccountLines
343JSS(ledger_data); // out: LedgerHeader
344JSS(ledger_hash); // in: RPCHelpers, LedgerRequest,
345 // RipplePathFind, TransactionEntry,
346 // handlers/Ledger
347 // out: NetworkOPs, RPCHelpers,
348 // LedgerClosed, LedgerData,
349 // AccountLines
350JSS(ledger_hit_rate); // out: GetCounts
351JSS(ledger_index); // in/out: many
352JSS(ledger_index_max); // in, out: AccountTx*
353JSS(ledger_index_min); // in, out: AccountTx*
354JSS(ledger_max); // in, out: AccountTx*
355JSS(ledger_min); // in, out: AccountTx*
356JSS(ledger_time); // out: NetworkOPs
357JSS(LEDGER_ENTRY_TYPES); // out: RPC server_definitions
358 // matches definitions.json format
359JSS(levels); // LogLevels
360JSS(limit); // in/out: AccountTx*, AccountOffers,
361 // AccountLines, AccountObjects
362 // in: LedgerData, BookOffers
363JSS(limit_peer); // out: AccountLines
364JSS(lines); // out: AccountLines
365JSS(list); // out: ValidatorList
366JSS(load); // out: NetworkOPs, PeerImp
367JSS(load_base); // out: NetworkOPs
368JSS(load_factor); // out: NetworkOPs
369JSS(load_factor_cluster); // out: NetworkOPs
370JSS(load_factor_fee_escalation); // out: NetworkOPs
371JSS(load_factor_fee_queue); // out: NetworkOPs
372JSS(load_factor_fee_reference); // out: NetworkOPs
373JSS(load_factor_local); // out: NetworkOPs
374JSS(load_factor_net); // out: NetworkOPs
375JSS(load_factor_server); // out: NetworkOPs
376JSS(load_fee); // out: LoadFeeTrackImp, NetworkOPs
377JSS(loan_broker_id); // in: LedgerEntry
378JSS(loan_seq); // in: LedgerEntry
379JSS(local); // out: resource/Logic.h
380JSS(local_txs); // out: GetCounts
381JSS(local_static_keys); // out: ValidatorList
382JSS(locked); // out: GatewayBalances
383JSS(low); // out: BookChanges
384JSS(lowest_sequence); // out: AccountInfo
385JSS(lowest_ticket); // out: AccountInfo
386JSS(lp_token); // out: amm_info
387JSS(majority); // out: RPC feature
388JSS(manifest); // out: ValidatorInfo, Manifest
389JSS(marker); // in/out: AccountTx, AccountOffers,
390 // AccountLines, AccountObjects,
391 // LedgerData
392 // in: BookOffers
393JSS(master_key); // out: WalletPropose, NetworkOPs,
394 // ValidatorInfo
395 // in/out: Manifest
396JSS(master_seed); // out: WalletPropose
397JSS(master_seed_hex); // out: WalletPropose
398JSS(master_signature); // out: pubManifest
399JSS(max_ledger); // in/out: LedgerCleaner
400JSS(max_queue_size); // out: TxQ
401JSS(max_spend_drops); // out: AccountInfo
402JSS(max_spend_drops_total); // out: AccountInfo
403JSS(mean); // out: get_aggregate_price
404JSS(median); // out: get_aggregate_price
405JSS(median_fee); // out: TxQ
406JSS(median_level); // out: TxQ
407JSS(message); // error.
408JSS(meta); // out: NetworkOPs, AccountTx*, Tx
409JSS(meta_blob); // out: NetworkOPs, AccountTx*, Tx
410JSS(metaData);
411JSS(metadata); // out: TransactionEntry
412JSS(method); // RPC
413JSS(methods);
414JSS(metrics); // out: Peers
415JSS(min_count); // in: GetCounts
416JSS(min_ledger); // in: LedgerCleaner
417JSS(minimum_fee); // out: TxQ
418JSS(minimum_level); // out: TxQ
419JSS(missingCommand); // error
420JSS(name); // out: AmendmentTableImpl, PeerImp
421JSS(needed_state_hashes); // out: InboundLedger
422JSS(needed_transaction_hashes); // out: InboundLedger
423JSS(network_id); // out: NetworkOPs
424JSS(network_ledger); // out: NetworkOPs
425JSS(next_refresh_time); // out: ValidatorSite
426JSS(nft_id); // in: nft_sell_offers, nft_buy_offers
427JSS(nft_offer_index); // out nft_buy_offers, nft_sell_offers
428JSS(nft_serial); // out: account_nfts
429JSS(nft_taxon); // out: nft_info (clio)
430JSS(nftoken_id); // out: insertNFTokenID
431JSS(nftoken_ids); // out: insertNFTokenID
432JSS(no_ripple); // out: AccountLines
433JSS(no_ripple_peer); // out: AccountLines
434JSS(node); // out: LedgerEntry
435JSS(node_binary); // out: LedgerEntry
436JSS(node_read_bytes); // out: GetCounts
437JSS(node_read_errors); // out: GetCounts
438JSS(node_read_retries); // out: GetCounts
439JSS(node_reads_hit); // out: GetCounts
440JSS(node_reads_total); // out: GetCounts
441JSS(node_reads_duration_us); // out: GetCounts
442JSS(node_size); // out: server_info
443JSS(nodes); // out: VaultInfo
444JSS(nodestore); // out: GetCounts
445JSS(node_writes); // out: GetCounts
446JSS(node_written_bytes); // out: GetCounts
447JSS(node_writes_duration_us); // out: GetCounts
448JSS(node_write_retries); // out: GetCounts
449JSS(node_writes_delayed); // out::GetCounts
450JSS(nth); // out: RPC server_definitions
451JSS(obligations); // out: GatewayBalances
452JSS(offers); // out: NetworkOPs, AccountOffers, Subscribe
453JSS(offer_id); // out: insertNFTokenOfferID
454JSS(offline); // in: TransactionSign
455JSS(offset); // in/out: AccountTxOld
456JSS(open); // out: handlers/Ledger
457JSS(open_ledger_cost); // out: SubmitTransaction
458JSS(open_ledger_fee); // out: TxQ
459JSS(open_ledger_level); // out: TxQ
460JSS(oracles); // in: get_aggregate_price
461JSS(oracle_document_id); // in: get_aggregate_price
462JSS(owner); // in: LedgerEntry, out: NetworkOPs
463JSS(owner_funds); // in/out: Ledger, NetworkOPs, AcceptedLedgerTx
464JSS(page_index);
465JSS(params); // RPC
466JSS(parent_close_time); // out: LedgerToJson
467JSS(parent_hash); // out: LedgerToJson
468JSS(partition); // in: LogLevel
469JSS(passphrase); // in: WalletPropose
470JSS(password); // in: Subscribe
471JSS(paths); // in: RipplePathFind
472JSS(paths_canonical); // out: RipplePathFind
473JSS(paths_computed); // out: PathRequest, RipplePathFind
474JSS(peer); // in: AccountLines
475JSS(peer_authorized); // out: AccountLines
476JSS(peer_id); // out: RCLCxPeerPos
477JSS(peers); // out: InboundLedger, handlers/Peers, Overlay
478JSS(peer_disconnects); // Severed peer connection counter.
479JSS(peer_disconnects_resources); // Severed peer connections because of
480 // excess resource consumption.
481JSS(port); // in: Connect, out: NetworkOPs
482JSS(ports); // out: NetworkOPs
483JSS(previous); // out: Reservations
484JSS(previous_ledger); // out: LedgerPropose
485JSS(price); // out: amm_info, AuctionSlot
486JSS(proof); // in: BookOffers
487JSS(propose_seq); // out: LedgerPropose
488JSS(proposers); // out: NetworkOPs, LedgerConsensus
489JSS(protocol); // out: NetworkOPs, PeerImp
490JSS(proxied); // out: RPC ping
491JSS(pseudo_account); // out: AccountInfo
492JSS(pubkey_node); // out: NetworkOPs
493JSS(pubkey_publisher); // out: ValidatorList
494JSS(pubkey_validator); // out: NetworkOPs, ValidatorList
495JSS(public_key); // out: OverlayImpl, PeerImp, WalletPropose,
496 // ValidatorInfo
497 // in/out: Manifest
498JSS(public_key_hex); // out: WalletPropose
499JSS(published_ledger); // out: NetworkOPs
500JSS(publisher_lists); // out: ValidatorList
501JSS(quality); // out: NetworkOPs
502JSS(quality_in); // out: AccountLines
503JSS(quality_out); // out: AccountLines
504JSS(queue); // in: AccountInfo
505JSS(queue_data); // out: AccountInfo
506JSS(queued); // out: SubmitTransaction
507JSS(queued_duration_us);
508JSS(quote_asset); // in: get_aggregate_price
509JSS(random); // out: Random
510JSS(raw_meta); // out: AcceptedLedgerTx
511JSS(receive_currencies); // out: AccountCurrencies
512JSS(reference_level); // out: TxQ
513JSS(refresh_interval); // in: UNL
514JSS(refresh_interval_min); // out: ValidatorSites
515JSS(regular_seed); // in/out: LedgerEntry
516JSS(remaining); // out: ValidatorList
517JSS(remote); // out: Logic.h
518JSS(request); // RPC
519JSS(requested); // out: Manifest
520JSS(reservations); // out: Reservations
521JSS(reserve_base); // out: NetworkOPs
522JSS(reserve_base_xrp); // out: NetworkOPs
523JSS(reserve_inc); // out: NetworkOPs
524JSS(reserve_inc_xrp); // out: NetworkOPs
525JSS(response); // websocket
526JSS(result); // RPC
527JSS(ripple_lines); // out: NetworkOPs
528JSS(ripple_state); // in: LedgerEntr
529JSS(ripplerpc); // ripple RPC version
530JSS(role); // out: Ping.cpp
531JSS(rpc);
532JSS(rt_accounts); // in: Subscribe, Unsubscribe
533JSS(running_duration_us);
534JSS(search_depth); // in: RipplePathFind
535JSS(searched_all); // out: Tx
536JSS(secret); // in: TransactionSign,
537 // ValidationCreate, ValidationSeed,
538 // channel_authorize
539JSS(seed); //
540JSS(seed_hex); // in: WalletPropose, TransactionSign
541JSS(send_currencies); // out: AccountCurrencies
542JSS(send_max); // in: PathRequest, RipplePathFind
543JSS(seq); // in: LedgerEntry;
544 // out: NetworkOPs, RPCSub, AccountOffers,
545 // ValidatorList, ValidatorInfo, Manifest
546JSS(sequence); // in: UNL
547JSS(sequence_count); // out: AccountInfo
548JSS(server_domain); // out: NetworkOPs
549JSS(server_state); // out: NetworkOPs
550JSS(server_state_duration_us);// out: NetworkOPs
551JSS(server_status); // out: NetworkOPs
552JSS(server_version); // out: NetworkOPs
553JSS(settle_delay); // out: AccountChannels
554JSS(severity); // in: LogLevel
555JSS(shares); // out: VaultInfo
556JSS(signature); // out: NetworkOPs, ChannelAuthorize
557JSS(signature_target); // in: TransactionSign
558JSS(signature_verified); // out: ChannelVerify
559JSS(signing_key); // out: NetworkOPs
560JSS(signing_keys); // out: ValidatorList
561JSS(signing_time); // out: NetworkOPs
562JSS(signer_lists); // in/out: AccountInfo
563JSS(size); // out: get_aggregate_price
564JSS(snapshot); // in: Subscribe
565JSS(source_account); // in: PathRequest, RipplePathFind
566JSS(source_amount); // in: PathRequest, RipplePathFind
567JSS(source_currencies); // in: PathRequest, RipplePathFind
568JSS(source_tag); // out: AccountChannels
569JSS(stand_alone); // out: NetworkOPs
570JSS(standard_deviation); // out: get_aggregate_price
571JSS(start); // in: TxHistory
572JSS(started);
573JSS(state_accounting); // out: NetworkOPs
574JSS(state_now); // in: Subscribe
575JSS(status); // error
576JSS(stop); // in: LedgerCleaner
577JSS(stop_history_tx_only); // in: Unsubscribe, stop history tx stream
578JSS(streams); // in: Subscribe, Unsubscribe
579JSS(strict); // in: AccountCurrencies, AccountInfo
580JSS(sub_index); // in: LedgerEntry
581JSS(subcommand); // in: PathFind
582JSS(subject); // in: LedgerEntry Credential
583JSS(success); // rpc
584JSS(supported); // out: AmendmentTableImpl
585JSS(sync_mode); // in: Submit
586JSS(system_time_offset); // out: NetworkOPs
587JSS(tag); // out: Peers
588JSS(taker); // in: Subscribe, BookOffers
589JSS(taker_gets); // in: Subscribe, Unsubscribe, BookOffers
590JSS(taker_gets_funded); // out: NetworkOPs
591JSS(taker_pays); // in: Subscribe, Unsubscribe, BookOffers
592JSS(taker_pays_funded); // out: NetworkOPs
593JSS(threshold); // in: Blacklist
594JSS(ticket_count); // out: AccountInfo
595JSS(ticket_seq); // in: LedgerEntry
596JSS(time);
597JSS(timeouts); // out: InboundLedger
598JSS(time_threshold); // in/out: Oracle aggregate
599JSS(time_interval); // out: AMM Auction Slot
600JSS(track); // out: PeerImp
601JSS(traffic); // out: Overlay
602JSS(trim); // in: get_aggregate_price
603JSS(trimmed_set); // out: get_aggregate_price
604JSS(total); // out: counters
605JSS(total_bytes_recv); // out: Peers
606JSS(total_bytes_sent); // out: Peers
607JSS(total_coins); // out: LedgerToJson
608JSS(trading_fee); // out: amm_info
609JSS(transTreeHash); // out: ledger/Ledger.cpp
610JSS(transaction); // in: Tx
611 // out: NetworkOPs, AcceptedLedgerTx,
612JSS(transaction_hash); // out: RCLCxPeerPos, LedgerToJson
613JSS(transactions); // out: LedgerToJson,
614 // in: AccountTx*, Unsubscribe
615JSS(TRANSACTION_RESULTS); // out: RPC server_definitions
616 // matches definitions.json format
617JSS(TRANSACTION_TYPES); // out: RPC server_definitions
618 // matches definitions.json format
619JSS(TYPES); // out: RPC server_definitions
620 // matches definitions.json format
621JSS(transfer_rate); // out: nft_info (clio)
622JSS(transitions); // out: NetworkOPs
623JSS(treenode_cache_size); // out: GetCounts
624JSS(treenode_track_size); // out: GetCounts
625JSS(trusted); // out: UnlList
626JSS(trusted_validator_keys); // out: ValidatorList
627JSS(tx); // out: STTx, AccountTx*
628JSS(tx_blob); // in/out: Submit,
629 // in: TransactionSign, AccountTx*
630JSS(tx_hash); // in: TransactionEntry
631JSS(tx_json); // in/out: TransactionSign
632 // out: TransactionEntry
633JSS(tx_signing_hash); // out: TransactionSign
634JSS(tx_unsigned); // out: TransactionSign
635JSS(txn_count); // out: NetworkOPs
636JSS(txr_tx_cnt); // out: protocol message tx's count
637JSS(txr_tx_sz); // out: protocol message tx's size
638JSS(txr_have_txs_cnt); // out: protocol message have tx count
639JSS(txr_have_txs_sz); // out: protocol message have tx size
640JSS(txr_get_ledger_cnt); // out: protocol message get ledger count
641JSS(txr_get_ledger_sz); // out: protocol message get ledger size
642JSS(txr_ledger_data_cnt); // out: protocol message ledger data count
643JSS(txr_ledger_data_sz); // out: protocol message ledger data size
644JSS(txr_transactions_cnt); // out: protocol message get object count
645JSS(txr_transactions_sz); // out: protocol message get object size
646JSS(txr_selected_cnt); // out: selected peers count
647JSS(txr_suppressed_cnt); // out: suppressed peers count
648JSS(txr_not_enabled_cnt); // out: peers with tx reduce-relay disabled count
649JSS(txr_missing_tx_freq); // out: missing tx frequency average
650JSS(txs); // out: TxHistory
651JSS(type); // in: AccountObjects
652 // out: NetworkOPs, RPC server_definitions
653 // OverlayImpl, Logic
654JSS(type_hex); // out: STPathSet
655JSS(unl); // out: UnlList
656JSS(unlimited); // out: Connection.h
657JSS(uptime); // out: GetCounts
658JSS(uri); // out: ValidatorSites
659JSS(url); // in/out: Subscribe, Unsubscribe
660JSS(url_password); // in: Subscribe
661JSS(url_username); // in: Subscribe
662JSS(urlgravatar); //
663JSS(username); // in: Subscribe
664JSS(validated); // out: NetworkOPs, RPCHelpers, AccountTx*
665 // Tx
666JSS(validator_list_expires); // out: NetworkOps, ValidatorList
667JSS(validator_list); // out: NetworkOps, ValidatorList
668JSS(validators);
669JSS(validated_hash); // out: NetworkOPs
670JSS(validated_ledger); // out: NetworkOPs
671JSS(validated_ledger_index); // out: SubmitTransaction
672JSS(validated_ledgers); // out: NetworkOPs
673JSS(validation_key); // out: ValidationCreate, ValidationSeed
674JSS(validation_private_key); // out: ValidationCreate
675JSS(validation_public_key); // out: ValidationCreate, ValidationSeed
676JSS(validation_quorum); // out: NetworkOPs
677JSS(validation_seed); // out: ValidationCreate, ValidationSeed
678JSS(validations); // out: AmendmentTableImpl
679JSS(validator_list_threshold); // out: ValidatorList
680JSS(validator_sites); // out: ValidatorSites
681JSS(value); // out: STAmount
682JSS(vault_id); // in: VaultInfo
683JSS(version); // out: RPCVersion
684JSS(vetoed); // out: AmendmentTableImpl
685JSS(volume_a); // out: BookChanges
686JSS(volume_b); // out: BookChanges
687JSS(vote); // in: Feature
688JSS(vote_slots); // out: amm_info
689JSS(vote_weight); // out: amm_info
690JSS(warning); // rpc:
691JSS(warnings); // out: server_info, server_state
692JSS(workers);
693JSS(write_load); // out: GetCounts
694// clang-format on
695
696#pragma push_macro("TRANSACTION")
697#undef TRANSACTION
698
699#define TRANSACTION(tag, value, name, ...) JSS(name);
700
701#include <xrpl/protocol/detail/transactions.macro>
702
703#undef TRANSACTION
704#pragma pop_macro("TRANSACTION")
705
706#pragma push_macro("LEDGER_ENTRY")
707#undef LEDGER_ENTRY
708#pragma push_macro("LEDGER_ENTRY_DUPLICATE")
709#undef LEDGER_ENTRY_DUPLICATE
710
711#define LEDGER_ENTRY(tag, value, name, rpcName, ...) \
712 JSS(name); \
713 JSS(rpcName);
714
715#define LEDGER_ENTRY_DUPLICATE(tag, value, name, rpcName, ...) JSS(rpcName);
716
717#include <xrpl/protocol/detail/ledger_entries.macro>
718
719#undef LEDGER_ENTRY
720#pragma pop_macro("LEDGER_ENTRY")
721#undef LEDGER_ENTRY_DUPLICATE
722#pragma pop_macro("LEDGER_ENTRY_DUPLICATE")
723
724#undef JSS
725
726} // namespace jss
727} // namespace xrpl
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5
static bool authorized(Port const &port, std::map< std::string, std::string > const &h)
@ current
This was a new validation and was added.
@ open
We haven't closed our ledger yet, but others might have.
@ manifest
Manifest.
@ Invalid
The map is known to not be valid.
@ accepted
Manifest is valid.