20 #include <ripple/protocol/TxFormats.h>
22 #include <ripple/protocol/SField.h>
23 #include <ripple/protocol/SOTemplate.h>
24 #include <ripple/protocol/jss.h>
30 #pragma push_macro("PSEUDO_TXN_COMMON_FIELDS")
34 #define PSEUDO_TXN_COMMON_FIELDS \
35 {sfTransactionType, soeREQUIRED}, \
36 {sfFlags, soeOPTIONAL}, \
37 {sfSourceTag, soeOPTIONAL}, \
38 {sfAccount, soeREQUIRED}, \
39 {sfSequence, soeREQUIRED}, \
40 {sfPreviousTxnID, soeOPTIONAL}, \
41 {sfLastLedgerSequence, soeOPTIONAL}, \
42 {sfAccountTxnID, soeOPTIONAL}, \
43 {sfFee, soeREQUIRED}, \
44 {sfOperationLimit, soeOPTIONAL}, \
45 {sfMemos, soeOPTIONAL}, \
46 {sfSigningPubKey, soeREQUIRED}, \
47 {sfTxnSignature, soeOPTIONAL}, \
48 {sfSigners, soeOPTIONAL}, \
49 {sfNetworkID, soeOPTIONAL}
55 PSEUDO_TXN_COMMON_FIELDS,
60 PSEUDO_TXN_COMMON_FIELDS,
64 #pragma pop_macro("PSEUDO_TXN_COMMON_FIELDS")
123 add(jss::AMMWithdraw,
163 add(jss::OfferCancel,
170 add(jss::SetRegularKey,
190 add(jss::EscrowCreate,
202 add(jss::EscrowFinish,
212 add(jss::EscrowCancel,
220 add(jss::EnableAmendment,
253 add(jss::TicketCreate,
262 add(jss::SignerListSet,
270 add(jss::PaymentChannelCreate,
282 add(jss::PaymentChannelFund,
291 add(jss::PaymentChannelClaim,
302 add(jss::CheckCreate,
322 add(jss::CheckCancel,
329 add(jss::AccountDelete,
337 add(jss::DepositPreauth,
345 add(jss::NFTokenMint,
355 add(jss::NFTokenBurn,
363 add(jss::NFTokenCreateOffer,
374 add(jss::NFTokenCancelOffer,
381 add(jss::NFTokenAcceptOffer,
397 add(jss::XChainCreateBridge,
406 add(jss::XChainModifyBridge,
415 add(jss::XChainCreateClaimID,
424 add(jss::XChainCommit,
434 add(jss::XChainClaim,
445 add(jss::XChainAddClaimAttestation,
463 add(jss::XChainAddAccountCreateAttestation,
482 add(jss::XChainAccountCreateCommit,
@ ttNFTOKEN_CREATE_OFFER
This transaction creates a new offer to buy or sell an NFT.
const SF_UINT32 sfOfferSequence
@ ttACCOUNT_DELETE
This transaction type deletes an existing account.
const SF_VL sfUNLModifyValidator
const SF_AMOUNT sfBaseFeeDrops
const SF_UINT32 sfReserveBase
@ ttAMM_DELETE
This transaction type deletes AMM in the empty state.
const SF_AMOUNT sfSendMax
const SF_UINT32 sfLedgerSequence
const SF_VECTOR256 sfNFTokenOffers
const SF_ACCOUNT sfDestination
@ ttREGULAR_KEY_SET
This transaction type sets or clears an account's "regular key".
const SF_AMOUNT sfAmount2
@ ttCLAWBACK
This transaction claws back issued tokens.
const SF_UINT256 sfNFTokenID
const SF_UINT32 sfWalletSize
const SF_UINT256 sfCheckID
@ ttSIGNER_LIST_SET
This transaction type modifies the signer list associated with an account.
@ ttXCHAIN_CLAIM
This transaction completes a crosschain transaction.
const SF_UINT32 sfQualityOut
const SF_ACCOUNT sfRegularKey
@ ttESCROW_CANCEL
This transaction type cancels an existing escrow.
@ ttXCHAIN_CREATE_BRIDGE
This transactions creates a sidechain.
@ ttFEE
This system-generated transaction type is used to update the network's fee settings.
@ ttAMM_DEPOSIT
This transaction type deposits into an AMM instance.
@ ttOFFER_CANCEL
This transaction type cancels existing offers to trade one asset for another.
@ ttPAYCHAN_CREATE
This transaction type creates a new unidirectional XRP payment channel.
const SF_ACCOUNT sfOtherChainSource
const SF_UINT32 sfQualityIn
const SF_UINT32 sfSetFlag
const SF_UINT32 sfTicketSequence
const SF_UINT8 sfWasLockingChainSend
@ ttXCHAIN_CREATE_CLAIM_ID
This transactions creates a crosschain sequence number.
@ ttNFTOKEN_ACCEPT_OFFER
This transaction accepts an existing offer to buy or sell an existing NFT.
const SF_AMOUNT sfLPTokenOut
@ ttAMENDMENT
This system-generated transaction type is used to update the status of the various amendments.
const SF_UINT16 sfTradingFee
const SF_UINT64 sfXChainClaimID
const SF_UINT16 sfTransferFee
@ ttCHECK_CANCEL
This transaction type cancels an existing check.
const SF_UINT32 sfExpiration
const SF_UINT32 sfSignerQuorum
@ ttPAYMENT
This transaction type executes a payment.
const SF_AMOUNT sfTakerPays
const SF_AMOUNT sfDeliverMin
const SF_AMOUNT sfLimitAmount
@ ttUNL_MODIFY
This system-generated transaction type is used to update the network's negative UNL.
const SF_UINT32 sfSettleDelay
const SF_AMOUNT sfSignatureReward
const SF_ACCOUNT sfUnauthorize
@ ttCHECK_CREATE
This transaction type creates a new check.
@ ttXCHAIN_COMMIT
This transactions initiates a crosschain transaction.
const SF_ACCOUNT sfNFTokenMinter
@ ttAMM_CREATE
This transaction type creates an AMM instance.
@ ttTRUST_SET
This transaction type modifies a trustline between two accounts.
const SF_UINT32 sfReserveIncrement
const SField sfAuthAccounts
@ ttNFTOKEN_MINT
This transaction mints a new NFT.
@ ttESCROW_CREATE
This transaction type creates an escrow object.
@ ttXCHAIN_MODIFY_BRIDGE
This transaction modifies a sidechain.
const SF_UINT32 sfTicketCount
@ ttAMM_WITHDRAW
This transaction type withdraws from an AMM instance.
@ ttESCROW_FINISH
This transaction type completes an existing escrow.
const SF_AMOUNT sfTakerGets
const SF_UINT32 sfTransferRate
const SF_UINT8 sfTickSize
const SF_ACCOUNT sfAttestationSignerAccount
const SF_ACCOUNT sfAuthorize
@ ttXCHAIN_ACCOUNT_CREATE_COMMIT
This transaction initiates a crosschain account create transaction.
const SF_AMOUNT sfReserveIncrementDrops
const SF_UINT32 sfClearFlag
const SF_AMOUNT sfReserveBaseDrops
@ ttNFTOKEN_CANCEL_OFFER
This transaction cancels an existing offer to buy or sell an existing NFT.
@ ttOFFER_CREATE
This transaction type creates an offer to trade one asset for another.
const SF_UINT8 sfUNLModifyDisabling
const SF_UINT128 sfEmailHash
@ ttACCOUNT_SET
This transaction type adjusts various account settings.
const SField sfSignerEntries
const SF_UINT64 sfBaseFee
const SF_UINT256 sfNFTokenBuyOffer
const SF_AMOUNT sfMinAccountCreateAmount
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
const SF_UINT256 sfWalletLocator
const SF_ACCOUNT sfIssuer
@ ttDEPOSIT_PREAUTH
This transaction type grants or revokes authorization to transfer funds.
const SF_UINT256 sfInvoiceID
const SF_UINT32 sfDestinationTag
const SF_ACCOUNT sfOtherChainDestination
@ ttCHECK_CASH
This transaction type cashes an existing check.
const SF_UINT64 sfXChainAccountCreateCount
@ ttPAYCHAN_FUND
This transaction type funds an existing unidirectional XRP payment channel.
const SF_AMOUNT sfBalance
const SF_UINT32 sfReferenceFeeUnits
@ ttAMM_VOTE
This transaction type votes for the trading fee.
@ ttPAYCHAN_CLAIM
This transaction type submits a claim against an existing unidirectional payment channel.
const SF_UINT32 sfCancelAfter
@ ttNFTOKEN_BURN
This transaction burns (i.e.
const SF_UINT32 sfFinishAfter
const SF_UINT256 sfChannel
const SF_UINT32 sfNFTokenTaxon
const SF_ACCOUNT sfAttestationRewardAccount
const SF_AMOUNT sfLPTokenIn
const SF_UINT256 sfAmendment
const SF_XCHAIN_BRIDGE sfXChainBridge
const SF_VL sfFulfillment
@ ttXCHAIN_ADD_ACCOUNT_CREATE_ATTESTATION
This transaction adds an attestation to a claimid.
const SF_UINT256 sfNFTokenSellOffer
@ ttTICKET_CREATE
This transaction type creates a new set of tickets.
const SF_AMOUNT sfNFTokenBrokerFee
@ ttAMM_BID
This transaction type bids for the auction slot.
@ ttXCHAIN_ADD_CLAIM_ATTESTATION
This transaction adds an attestation to a claimid.