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