xrpld
Loading...
Searching...
No Matches
jss.h
1#pragma once
2
3#include <xrpl/json/json_value.h>
4
5namespace xrpl::jss {
6
7// NOLINTBEGIN(readability-identifier-naming)
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
24JSS(AL_size); // out: GetCounts
25JSS(AL_hit_rate); // out: GetCounts
26JSS(AcceptedCredentials); // out: AccountObjects
27JSS(ACCOUNT_SET_FLAGS); // out: RPC server_definitions
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.
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
107JSS(account_history_tx_first); // out: Account txn history subscribe
108JSS(account_history_boundary); // out: Account txn history subscribe
109JSS(accounts); // in: LedgerEntry, Subscribe, handlers/Ledger, Unsubscribe
110JSS(accounts_proposed); // in: Subscribe, Unsubscribe
111JSS(action); //
112JSS(active); // out: OverlayImpl
113JSS(actor); // in/out: AccountTx
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
133JSS(attestation_reward_account); //
134JSS(auction_slot); // out: amm_info
135JSS(authorized); // out: AccountLines
136JSS(authorize); // out: delegate
137JSS(authorizer); // in/out: AccountTx
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(auditor_encrypted_balance); // out: mpt_holders (confidential MPT)
143JSS(available); // out: ValidatorList
144JSS(avg_bps_recv); // out: Peers
145JSS(avg_bps_sent); // out: Peers
146JSS(balance); // out: AccountLines
147JSS(balances); // out: GatewayBalances
148JSS(base); // out: LogLevel
149JSS(base_asset); // in: get_aggregate_price
150JSS(base_fee); // out: NetworkOPs
151JSS(base_fee_xrp); // out: NetworkOPs
152JSS(bids); // out: Subscribe
153JSS(binary); // in: AccountTX, LedgerEntry, 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(changes); // out: BookChanges
168JSS(channel_id); // out: AccountChannels
169JSS(channels); // out: AccountChannels
170JSS(check_nodes); // in: LedgerCleaner
171JSS(clear); // in/out: FetchInfo
172JSS(close); // out: BookChanges
173JSS(close_flags); // out: LedgerToJson
174JSS(close_time); // in: Application, out: NetworkOPs, RCLCxPeerPos, LedgerToJson
175JSS(close_time_iso); // out: Tx, NetworkOPs, TransactionEntry AccountTx, LedgerToJson
176JSS(close_time_estimated); // in: Application, out: LedgerToJson
177JSS(close_time_human); // out: LedgerToJson
178JSS(close_time_offset); // out: NetworkOPs
179JSS(close_time_resolution); // in: Application; out: LedgerToJson
180JSS(closed); // out: NetworkOPs, LedgerToJson, handlers/Ledger
181JSS(closed_ledger); // out: NetworkOPs
182JSS(cluster); // out: PeerImp
183JSS(code); // out: errors
184JSS(command); // in: RPCHandler
185JSS(common); // out: RPC server_definitions
186JSS(complete); // out: NetworkOPs, InboundLedger
187JSS(complete_ledgers); // out: NetworkOPs, PeerImp
188JSS(confidential_balance_inbox); // out: mpt_holders (confidential MPT)
189JSS(confidential_balance_spending); // out: mpt_holders (confidential MPT)
190JSS(confidential_balance_version); // out: mpt_holders (confidential MPT)
191JSS(consensus); // out: NetworkOPs, LedgerConsensus
192JSS(converge_time); // out: NetworkOPs
193JSS(converge_time_s); // out: NetworkOPs
194JSS(cookie); // out: NetworkOPs
195JSS(count); // in: AccountTx*, ValidatorList
196JSS(counter_party); // in/out: AccountTx
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, AccountLines
205JSS(current); // out: OwnerInfo
206JSS(current_activities); //
207JSS(current_ledger_size); // out: TxQ
208JSS(current_queue_size); // out: TxQ
209JSS(data); // out: LedgerData
210JSS(date); // out: tx/Transaction, NetworkOPs
211JSS(dbKBLedger); // out: getCounts
212JSS(dbKBTotal); // out: getCounts
213JSS(dbKBTransaction); // out: getCounts
214JSS(debug_signing); // in: TransactionSign
215JSS(deletion_blockers_only); // in: AccountObjects
216JSS(delivered_amount); // out: insertDeliveredAmount
217JSS(deposit_authorized); // out: deposit_authorized
218JSS(deprecated); //
219JSS(descending); // in: AccountTx*
220JSS(description); // in/out: Reservations
221JSS(destination); // in: nft_buy_offers, nft_sell_offers
222JSS(destination_account); // in: PathRequest, RipplePathFind, account_lines
223 // out: AccountChannels
224JSS(destination_amount); // in: PathRequest, RipplePathFind
225JSS(destination_currencies); // in: PathRequest, RipplePathFind
226JSS(destination_tag); // in: PathRequest
227 // out: AccountChannels
228JSS(details); // out: Manifest, server_info
229JSS(dir_entry); // out: DirectoryEntryIterator
230JSS(dir_index); // out: DirectoryEntryIterator
231JSS(dir_root); // out: DirectoryEntryIterator
232JSS(discounted_fee); // out: amm_info
233JSS(domain); // out: ValidatorInfo, Manifest
234JSS(drops); // out: TxQ
235JSS(duration_us); // out: NetworkOPs
236JSS(effective); // out: ValidatorList
237 // in: UNL
238JSS(enabled); // out: AmendmentTable
239JSS(engine_result); // out: NetworkOPs, TransactionSign, Submit
240JSS(engine_result_code); // out: NetworkOPs, TransactionSign, Submit
241JSS(engine_result_message); // out: NetworkOPs, TransactionSign, Submit
242JSS(entire_set); // out: get_aggregate_price
243JSS(ephemeral_key); // out: ValidatorInfo
244 // in/out: Manifest
245JSS(error); // out: error
246JSS(errored); //
247JSS(error_code); // out: error
248JSS(error_exception); // out: Submit
249JSS(error_message); // out: error
250JSS(expand); // in: handler/Ledger
251JSS(expected_date); // out: any (warnings)
252JSS(expected_date_UTC); // out: any (warnings)
253JSS(expected_ledger_size); // out: TxQ
254JSS(expiration); // out: AccountOffers, AccountChannels, ValidatorList, amm_info
255JSS(fail_hard); // in: Sign, Submit
256JSS(failed); // out: InboundLedger
257JSS(feature); // in: Feature
258JSS(features); // out: Feature
259JSS(fee_base); // out: NetworkOPs
260JSS(fee_div_max); // in: TransactionSign
261JSS(fee_level); // out: AccountInfo
262JSS(fee_mult_max); // in: TransactionSign
263JSS(fee_ref); // out: NetworkOPs, DEPRECATED
264JSS(fetch_pack); // out: NetworkOPs
265JSS(FIELDS); // out: RPC server_definitions
266 // matches definitions.json format
267JSS(first); // out: rpc/Version
268JSS(finished); //
269JSS(fix_txns); // in: LedgerCleaner
270JSS(flags); // out: AccountOffers, NetworkOPs
271JSS(forward); // in: AccountTx
272JSS(freeze); // out: AccountLines
273JSS(freeze_peer); // out: AccountLines
274JSS(deep_freeze); // out: AccountLines
275JSS(deep_freeze_peer); // out: AccountLines
276JSS(delegate_filter); // in/out: AccountTx
277JSS(frozen_balances); // out: GatewayBalances
278JSS(full); // in: LedgerClearer, handlers/Ledger
279JSS(full_reply); // out: PathFind
280JSS(fullbelow_size); // out: GetCounts
281JSS(gateway); // in: noripple_check
282JSS(git); // out: server_info
283JSS(good); // out: RPCVersion
284JSS(hash); // out: NetworkOPs, InboundLedger, LedgerToJson, STTx; field
285JSS(have_header); // out: InboundLedger
286JSS(have_state); // out: InboundLedger
287JSS(have_transactions); // out: InboundLedger
288JSS(high); // out: BookChanges
289JSS(highest_sequence); // out: AccountInfo
290JSS(highest_ticket); // out: AccountInfo
291JSS(historical_perminute); // historical_perminute.
292JSS(holders); // out: MPTHolders
293JSS(holder_encryption_key); // out: mpt_holders (confidential MPT)
294JSS(hostid); // out: NetworkOPs
295JSS(hotwallet); // in: GatewayBalances
296JSS(id); // websocket.
297JSS(ident); // in: AccountCurrencies, AccountInfo, OwnerInfo
298JSS(ignore_default); // in: AccountLines
299JSS(in); // out: OverlayImpl
300JSS(inLedger); // out: tx/Transaction
301JSS(inbound); // out: PeerImp
302JSS(index); // in: LedgerEntry
303 // out: STLedgerEntry, LedgerEntry, TxHistory, LedgerData
304JSS(info); // out: ServerInfo, ConsensusInfo, FetchInfo
305JSS(initial_sync_duration_us); //
306JSS(internal_command); // in: Internal
307JSS(invalid_API_version); // out: Many, when a request has an invalid version
308JSS(io_latency_ms); // out: NetworkOPs
309JSS(ip); // in: Connect, out: OverlayImpl
310JSS(is_burned); // out: nft_info (clio)
311JSS(isSerialized); // out: RPC server_definitions
312 // matches definitions.json format
313JSS(isSigningField); // out: RPC server_definitions
314 // matches definitions.json format
315JSS(isVLEncoded); // out: RPC server_definitions
316 // matches definitions.json format
317JSS(issuer); // in: RipplePathFind, Subscribe, Unsubscribe, BookOffers
318 // out: STPathSet, STAmount
319JSS(issuer_encrypted_balance); // out: mpt_holders (confidential MPT)
320JSS(job); //
321JSS(job_queue); //
322JSS(jobs); //
323JSS(jsonrpc); // json version
324JSS(jq_trans_overflow); // JobQueue transaction limit overflow.
325JSS(kept); // out: SubmitTransaction
326JSS(key); // out
327JSS(key_type); // in/out: WalletPropose, TransactionSign
328JSS(latency); // out: PeerImp
329JSS(last); // out: RPCVersion
330JSS(last_close); // out: NetworkOPs
331JSS(last_refresh_time); // out: ValidatorSite
332JSS(last_refresh_status); // out: ValidatorSite
333JSS(last_refresh_message); // out: ValidatorSite
334JSS(ledger); // in: NetworkOPs, LedgerCleaner, RPCHelpers
335 // out: NetworkOPs, PeerImp
336JSS(ledger_current_index); // out: NetworkOPs, RPCHelpers, LedgerCurrent, LedgerAccept,
337 // AccountLines
338JSS(ledger_data); // out: LedgerHeader
339JSS(ledger_hash); // in: RPCHelpers, LedgerRequest, RipplePathFind,
340 // TransactionEntry, handlers/Ledger
341 // out: NetworkOPs, RPCHelpers, LedgerClosed, LedgerData,
342 // AccountLines
343JSS(ledger_hit_rate); // out: GetCounts
344JSS(ledger_index); // in/out: many
345JSS(ledger_index_max); // in, out: AccountTx*
346JSS(ledger_index_min); // in, out: AccountTx*
347JSS(ledger_max); // in, out: AccountTx*
348JSS(ledger_min); // in, out: AccountTx*
349JSS(ledger_time); // out: NetworkOPs
350JSS(LEDGER_ENTRY_TYPES); // out: RPC server_definitions
351 // matches definitions.json format
352JSS(LEDGER_ENTRY_FLAGS); // out: RPC server_definitions
353JSS(LEDGER_ENTRY_FORMATS); // out: RPC server_definitions
354JSS(levels); // LogLevels
355JSS(limit); // in/out: AccountTx*, AccountOffers, AccountLines, AccountObjects
356 // in: LedgerData, BookOffers
357JSS(limit_peer); // out: AccountLines
358JSS(lines); // out: AccountLines
359JSS(list); // out: ValidatorList
360JSS(load); // out: NetworkOPs, PeerImp
361JSS(load_base); // out: NetworkOPs
362JSS(load_factor); // out: NetworkOPs
363JSS(load_factor_cluster); // out: NetworkOPs
364JSS(load_factor_fee_escalation); // out: NetworkOPs
365JSS(load_factor_fee_queue); // out: NetworkOPs
366JSS(load_factor_fee_reference); // out: NetworkOPs
367JSS(load_factor_local); // out: NetworkOPs
368JSS(load_factor_net); // out: NetworkOPs
369JSS(load_factor_server); // out: NetworkOPs
370JSS(load_fee); // out: LoadFeeTrackImp, NetworkOPs
371JSS(loan_broker_id); // in: LedgerEntry
372JSS(loan_seq); // in: LedgerEntry
373JSS(local); // out: resource/Logic.h
374JSS(local_txs); // out: GetCounts
375JSS(local_static_keys); // out: ValidatorList
376JSS(locked); // out: GatewayBalances
377JSS(low); // out: BookChanges
378JSS(lowest_sequence); // out: AccountInfo
379JSS(lowest_ticket); // out: AccountInfo
380JSS(lp_token); // out: amm_info
381JSS(majority); // out: RPC feature
382JSS(manifest); // out: ValidatorInfo, Manifest
383JSS(marker); // in/out: AccountTx, AccountOffers, AccountLines, AccountObjects,
384 // LedgerData
385 // in: BookOffers
386JSS(master_key); // out: WalletPropose, NetworkOPs, ValidatorInfo
387 // in/out: Manifest
388JSS(master_seed); // out: WalletPropose
389JSS(master_seed_hex); // out: WalletPropose
390JSS(master_signature); // out: pubManifest
391JSS(max_ledger); // in/out: LedgerCleaner
392JSS(max_queue_size); // out: TxQ
393JSS(max_spend_drops); // out: AccountInfo
394JSS(max_spend_drops_total); // out: AccountInfo
395JSS(mean); // out: get_aggregate_price
396JSS(median); // out: get_aggregate_price
397JSS(median_fee); // out: TxQ
398JSS(median_level); // out: TxQ
399JSS(message); // error.
400JSS(meta); // out: NetworkOPs, AccountTx*, Tx
401JSS(meta_blob); // out: NetworkOPs, AccountTx*, Tx
402JSS(metaData); //
403JSS(metadata); // out: TransactionEntry
404JSS(method); // RPC
405JSS(methods); //
406JSS(metrics); // out: Peers
407JSS(min_count); // in: GetCounts
408JSS(min_ledger); // in: LedgerCleaner
409JSS(minimum_fee); // out: TxQ
410JSS(minimum_level); // out: TxQ
411JSS(missingCommand); // error
412JSS(mpt_amount); // out: mpt_holders
413JSS(mpt_issuance_id); // in: Payment, mpt_holders
414JSS(mpt_issuances); // in: Subscribe, Unsubscribe
415JSS(mptoken_index); // out: mpt_holders
416JSS(mpt_issuance_id_a); // out: BookChanges
417JSS(mpt_issuance_id_b); // out: BookChanges
418JSS(name); // out: AmendmentTableImpl, PeerImp
419JSS(needed_state_hashes); // out: InboundLedger
420JSS(needed_transaction_hashes); // out: InboundLedger
421JSS(network_id); // out: NetworkOPs
422JSS(network_ledger); // out: NetworkOPs
423JSS(next_refresh_time); // out: ValidatorSite
424JSS(nft_id); // in: nft_sell_offers, nft_buy_offers
425JSS(nft_offer_index); // out nft_buy_offers, nft_sell_offers
426JSS(nft_serial); // out: account_nfts
427JSS(nft_taxon); // out: nft_info (clio)
428JSS(nftoken_id); // out: insertNFTokenID
429JSS(nftoken_ids); // out: insertNFTokenID
430JSS(no_ripple); // out: AccountLines
431JSS(no_ripple_peer); // out: AccountLines
432JSS(node); // out: LedgerEntry
433JSS(node_binary); // out: LedgerEntry
434JSS(node_read_bytes); // out: GetCounts
435JSS(node_read_errors); // out: GetCounts
436JSS(node_read_retries); // out: GetCounts
437JSS(node_reads_hit); // out: GetCounts
438JSS(node_reads_total); // out: GetCounts
439JSS(node_reads_duration_us); // out: GetCounts
440JSS(node_size); // out: server_info
441JSS(nodes); // out: VaultInfo
442JSS(nodestore); // out: GetCounts
443JSS(node_writes); // out: GetCounts
444JSS(node_written_bytes); // out: GetCounts
445JSS(node_writes_duration_us); // out: GetCounts
446JSS(node_write_retries); // out: GetCounts
447JSS(node_writes_delayed); // out::GetCounts
448JSS(nth); // out: RPC server_definitions
449JSS(obligations); // out: GatewayBalances
450JSS(offers); // out: NetworkOPs, AccountOffers, Subscribe
451JSS(offer_id); // out: insertNFTokenOfferID
452JSS(offline); // in: TransactionSign
453JSS(offset); // in/out: AccountTxOld
454JSS(open); // out: handlers/Ledger
455JSS(open_ledger_cost); // out: SubmitTransaction
456JSS(open_ledger_fee); // out: TxQ
457JSS(open_ledger_level); // out: TxQ
458JSS(optionality); // out: server_definitions
459JSS(oracles); // in: get_aggregate_price
460JSS(oracle_document_id); // in: get_aggregate_price
461JSS(out); // out: OverlayImpl
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(problems); // out: noripple_check
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, 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); // XRPL RPC version
530JSS(role); // out: Ping.cpp
532JSS(rt_accounts); // in: Subscribe, Unsubscribe
533JSS(running_duration_us); //
534JSS(search_depth); // in: RipplePathFind
535JSS(searched_all); // out: Tx
536JSS(secret); // in: TransactionSign, ValidationCreate, ValidationSeed,
537 // channel_authorize
538JSS(seed); //
539JSS(seed_hex); // in: WalletPropose, TransactionSign
540JSS(send_currencies); // out: AccountCurrencies
541JSS(send_max); // in: PathRequest, RipplePathFind
542JSS(seq); // in: LedgerEntry
543 // out: NetworkOPs, RPCSub, AccountOffers, ValidatorList,
544 // ValidatorInfo, Manifest
545JSS(sequence); // in: UNL
546JSS(sequence_count); // out: AccountInfo
547JSS(server_domain); // out: NetworkOPs
548JSS(server_state); // out: NetworkOPs
549JSS(server_state_duration_us); // out: NetworkOPs
550JSS(server_status); // out: NetworkOPs
551JSS(server_version); // out: NetworkOPs
552JSS(settle_delay); // out: AccountChannels
553JSS(severity); // in: LogLevel
554JSS(shares); // out: VaultInfo
555JSS(signature); // out: NetworkOPs, ChannelAuthorize
556JSS(signature_target); // in: TransactionSign
557JSS(signature_verified); // out: ChannelVerify
558JSS(signing_key); // out: NetworkOPs
559JSS(signing_keys); // out: ValidatorList
560JSS(signing_time); // out: NetworkOPs
561JSS(signer_lists); // in/out: AccountInfo
562JSS(size); // out: get_aggregate_price
563JSS(snapshot); // in: Subscribe
564JSS(source_account); // in: PathRequest, RipplePathFind
565JSS(source_amount); // in: PathRequest, RipplePathFind
566JSS(source_currencies); // in: PathRequest, RipplePathFind
567JSS(source_tag); // out: AccountChannels
568JSS(sponsee); // in: LedgerEntry
569JSS(sponsor); // in: LedgerEntry
570JSS(sponsored); // in: AccountObjects
571JSS(stand_alone); // out: NetworkOPs
572JSS(standard_deviation); // out: get_aggregate_price
573JSS(start); // in: TxHistory
574JSS(started); //
575JSS(state_accounting); // out: NetworkOPs
576JSS(state_now); // in: Subscribe
577JSS(status); // error
578JSS(stop); // in: LedgerCleaner
579JSS(stop_history_tx_only); // in: Unsubscribe, stop history tx stream
580JSS(streams); // in: Subscribe, Unsubscribe
581JSS(strict); // in: AccountCurrencies, AccountInfo
582JSS(sub_index); // in: LedgerEntry
583JSS(subcommand); // in: PathFind
584JSS(subject); // in: LedgerEntry Credential
585JSS(success); // rpc
586JSS(supported); // out: AmendmentTableImpl
587JSS(sync_mode); // in: Submit
588JSS(system_time_offset); // out: NetworkOPs
589JSS(tag); // out: Peers
590JSS(taker); // in: Subscribe, BookOffers
591JSS(taker_gets); // in: Subscribe, Unsubscribe, BookOffers
592JSS(taker_gets_funded); // out: NetworkOPs
593JSS(taker_pays); // in: Subscribe, Unsubscribe, BookOffers
594JSS(taker_pays_funded); // out: NetworkOPs
595JSS(threshold); // in: Blacklist
596JSS(ticket_count); // out: AccountInfo
597JSS(ticket_seq); // in: LedgerEntry
598JSS(time); //
599JSS(timeouts); // out: InboundLedger
600JSS(time_threshold); // in/out: Oracle aggregate
601JSS(time_interval); // out: AMM Auction Slot
602JSS(track); // out: PeerImp
603JSS(traffic); // out: Overlay
604JSS(trim); // in: get_aggregate_price
605JSS(trimmed_set); // out: get_aggregate_price
606JSS(total); // out: counters
607JSS(total_bytes_recv); // out: Peers
608JSS(total_bytes_sent); // out: Peers
609JSS(total_coins); // out: LedgerToJson
610JSS(trading_fee); // out: amm_info
611JSS(transTreeHash); // out: ledger/Ledger.cpp
612JSS(transaction); // in: Tx
613 // out: NetworkOPs, AcceptedLedgerTx,
614JSS(transaction_hash); // out: RCLCxPeerPos, LedgerToJson
615JSS(transactions); // out: LedgerToJson,
616 // in: AccountTx*, Unsubscribe
617JSS(TRANSACTION_RESULTS); // out: RPC server_definitions
618 // matches definitions.json format
619JSS(TRANSACTION_TYPES); // out: RPC server_definitions
620 // matches definitions.json format
621JSS(TRANSACTION_FLAGS); // out: RPC server_definitions
622JSS(TRANSACTION_FORMATS); // out: RPC server_definitions
623JSS(TYPES); // out: RPC server_definitions
624 // matches definitions.json format
625JSS(transfer_rate); // out: nft_info (clio)
626JSS(transitions); // out: NetworkOPs
627JSS(treenode_cache_size); // out: GetCounts
628JSS(treenode_track_size); // out: GetCounts
629JSS(trusted); // out: UnlList
630JSS(trusted_validator_keys); // out: ValidatorList
631JSS(tx); // out: STTx, AccountTx*
632JSS(tx_blob); // in/out: Submit,
633 // in: TransactionSign, AccountTx*
634JSS(tx_hash); // in: TransactionEntry
635JSS(tx_json); // in/out: TransactionSign
636 // out: TransactionEntry
637JSS(tx_signing_hash); // out: TransactionSign
638JSS(tx_unsigned); // out: TransactionSign
639JSS(txn_count); // out: NetworkOPs
640JSS(txr_tx_cnt); // out: protocol message tx's count
641JSS(txr_tx_sz); // out: protocol message tx's size
642JSS(txr_have_txs_cnt); // out: protocol message have tx count
643JSS(txr_have_txs_sz); // out: protocol message have tx size
644JSS(txr_get_ledger_cnt); // out: protocol message get ledger count
645JSS(txr_get_ledger_sz); // out: protocol message get ledger size
646JSS(txr_ledger_data_cnt); // out: protocol message ledger data count
647JSS(txr_ledger_data_sz); // out: protocol message ledger data size
648JSS(txr_transactions_cnt); // out: protocol message get object count
649JSS(txr_transactions_sz); // out: protocol message get object size
650JSS(txr_selected_cnt); // out: selected peers count
651JSS(txr_suppressed_cnt); // out: suppressed peers count
652JSS(txr_not_enabled_cnt); // out: peers with tx reduce-relay disabled count
653JSS(txr_missing_tx_freq); // out: missing tx frequency average
654JSS(txs); // out: TxHistory
655JSS(type); // in: AccountObjects
656 // out: NetworkOPs, RPC server_definitions OverlayImpl, Logic
657JSS(type_hex); // out: STPathSet
658JSS(unl); // out: UnlList
659JSS(unlimited); // out: Connection.h
660JSS(uptime); // out: GetCounts
661JSS(uri); // out: ValidatorSites
662JSS(url); // in/out: Subscribe, Unsubscribe
663JSS(url_password); // in: Subscribe
664JSS(url_username); // in: Subscribe
665JSS(urlgravatar); //
666JSS(user); // in: noripple_check
667JSS(username); // in: Subscribe
668JSS(validated); // out: NetworkOPs, RPCHelpers, AccountTx*, Tx
669JSS(validator_list_expires); // out: NetworkOps, ValidatorList
670JSS(validator_list); // out: NetworkOps, ValidatorList
671JSS(validators); //
672JSS(validated_hash); // out: NetworkOPs
673JSS(validated_ledger); // out: NetworkOPs
674JSS(validated_ledger_index); // out: SubmitTransaction
675JSS(validated_ledgers); // out: NetworkOPs
676JSS(validation_key); // out: ValidationCreate, ValidationSeed
677JSS(validation_private_key); // out: ValidationCreate
678JSS(validation_public_key); // out: ValidationCreate, ValidationSeed
679JSS(validation_quorum); // out: NetworkOPs
680JSS(validation_seed); // out: ValidationCreate, ValidationSeed
681JSS(validations); // out: AmendmentTableImpl
682JSS(validator_list_threshold); // out: ValidatorList
683JSS(validator_sites); // out: ValidatorSites
684JSS(value); // out: STAmount
685JSS(vault_id); // in: VaultInfo
686JSS(version); // out: RPCVersion
687JSS(vetoed); // out: AmendmentTableImpl
688JSS(volume_a); // out: BookChanges
689JSS(volume_b); // out: BookChanges
690JSS(vote); // in: Feature
691JSS(vote_slots); // out: amm_info
692JSS(vote_weight); // out: amm_info
693JSS(warning); // rpc:
694JSS(warnings); // out: server_info, server_state
695JSS(workers); //
696JSS(write_load); // out: GetCounts
697
698#pragma push_macro("TRANSACTION")
699#undef TRANSACTION
700
701#define TRANSACTION(tag, value, name, ...) JSS(name);
702
703#include <xrpl/protocol/detail/transactions.macro>
704
705#undef TRANSACTION
706#pragma pop_macro("TRANSACTION")
707
708#pragma push_macro("LEDGER_ENTRY")
709#undef LEDGER_ENTRY
710#pragma push_macro("LEDGER_ENTRY_DUPLICATE")
711#undef LEDGER_ENTRY_DUPLICATE
712
713#define LEDGER_ENTRY(tag, value, name, rpcName, ...) \
714 JSS(name); \
715 JSS(rpcName);
716
717#define LEDGER_ENTRY_DUPLICATE(tag, value, name, rpcName, ...) JSS(rpcName);
718
719#include <xrpl/protocol/detail/ledger_entries.macro>
720
721#undef LEDGER_ENTRY
722#pragma pop_macro("LEDGER_ENTRY")
723#undef LEDGER_ENTRY_DUPLICATE
724#pragma pop_macro("LEDGER_ENTRY_DUPLICATE")
725
726#undef JSS
727
728// NOLINTEND(readability-identifier-naming)
729
730} // namespace xrpl::jss
Definition Git.h:5
Definition jss.h:5
JSS(AL_size)
API version numbers used in later API versions.
Definition ApiVersion.h:36
static bool authorized(Port const &port, std::map< std::string, std::string > const &h)
void open(soci::session &s, BasicConfig const &config, std::string const &dbName)
Open a soci session.
Definition SociDB.cpp:91
@ Counterparty
The counterparty's signature, in sfCounterpartySignature.
Definition Sign.h:31
@ Invalid
Timely, but invalid signature.
Definition Manifest.h:329