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