Class Validation
Validation for CredentialAccept transactions.
Inheritance
object
Validation
Assembly: Xrpl.dll
Syntax
public static class Validation
Fields
|
Edit this page
View Source
AMM_MAX_TRADING_FEE
Declaration
public const uint AMM_MAX_TRADING_FEE = 1000
Field Value
|
Edit this page
View Source
MPT_MAX_ASSET_SCALE
Maximum asset scale for MPT.
Declaration
public const byte MPT_MAX_ASSET_SCALE = 10
Field Value
|
Edit this page
View Source
Maximum metadata length in bytes.
Declaration
public const int MPT_MAX_METADATA_LENGTH = 1024
Field Value
|
Edit this page
View Source
MPT_MAX_TRANSFER_FEE
Maximum transfer fee for MPT (50.00% = 50000).
Declaration
public const ushort MPT_MAX_TRANSFER_FEE = 50000
Field Value
|
Edit this page
View Source
ORACLE_PRICE_DATA_SERIES_MAX_LENGTH
Maximum number of PriceData objects in PriceDataSeries.
Declaration
public const int ORACLE_PRICE_DATA_SERIES_MAX_LENGTH = 10
Field Value
|
Edit this page
View Source
ORACLE_SCALE_MAX
Maximum scale value for PriceData.
Declaration
public const int ORACLE_SCALE_MAX = 10
Field Value
Methods
|
Edit this page
View Source
CheckPartialPayment(Dictionary<string, object>)
Declaration
public static Task CheckPartialPayment(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
|
Returns
|
Edit this page
View Source
IsPathStep(Dictionary<string, object>)
Declaration
public static bool IsPathStep(Dictionary<string, object> pathStep)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
pathStep |
|
Returns
|
Edit this page
View Source
IsPaths(List<Dictionary<string, object>>)
Declaration
public static bool IsPaths(List<Dictionary<string, object>> paths)
Parameters
| Type |
Name |
Description |
| List<Dictionary<string, object>> |
paths |
|
Returns
|
Edit this page
View Source
IsPaths(List<List<Dictionary<string, object>>>)
Declaration
public static bool IsPaths(List<List<Dictionary<string, object>>> paths)
Parameters
| Type |
Name |
Description |
| List<List<Dictionary<string, object>>> |
paths |
|
Returns
|
Edit this page
View Source
Validate(Dictionary<string, object>)
Verify the form and type of a TrustSet at runtime.
Declaration
public static Task Validate(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
A TrustSet Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateAMMBid(Dictionary<string, object>)
Verify the form and type of an AMMBid at runtime.
Declaration
public static Task ValidateAMMBid(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
An AMMBid Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateAMMClawBack(Dictionary<string, object>)
Verify the form and type of an AMMClawBack transaction at runtime.
Declaration
public static Task ValidateAMMClawBack(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
An AMMClawBack Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateAMMCreate(Dictionary<string, object>)
Verify the form and type of an AMMCreate at runtime.
Declaration
public static Task ValidateAMMCreate(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
An AMMCreate Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateAMMDelete(Dictionary<string, object>)
Verify the form and type of an AMMDelete at runtime.
Declaration
public static Task ValidateAMMDelete(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
An AMMDelete Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateAMMDeposit(Dictionary<string, object>)
Verify the form and type of an AMMDeposit at runtime.
Declaration
public static Task ValidateAMMDeposit(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
An AMMDeposit Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateAMMVote(Dictionary<string, object>)
Verify the form and type of an AMMVote at runtime.
Declaration
public static Task ValidateAMMVote(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
An AMMVote Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateAMMWithdraw(Dictionary<string, object>)
Verify the form and type of an AMMWithdraw at runtime.
Declaration
public static Task ValidateAMMWithdraw(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
An AMMWithdraw Transaction.
|
Returns
|
Edit this page
View Source
ValidateAccountDelete(Dictionary<string, object>)
Verify the form and type of a AccountDelete at runtime.
Declaration
public static Task ValidateAccountDelete(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
A AccountDelete Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateAccountSet(Dictionary<string, object>)
Verify the form and type of a AccountSet at runtime.
Declaration
public static Task ValidateAccountSet(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
A AccountSet Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateAuthAccounts(string, List<Dictionary<string, object>>)
Declaration
public static bool ValidateAuthAccounts(string senderAddress, List<Dictionary<string, object>> authAccounts)
Parameters
| Type |
Name |
Description |
| string |
senderAddress |
|
| List<Dictionary<string, object>> |
authAccounts |
|
Returns
|
Edit this page
View Source
ValidateBatch(Dictionary<string, object>)
Declaration
public static Task ValidateBatch(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
|
Returns
|
Edit this page
View Source
ValidateCheckCancel(Dictionary<string, object>)
Verify the form and type of a CheckCancel at runtime.
Declaration
public static Task ValidateCheckCancel(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
A CheckCancel Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateCheckCash(Dictionary<string, object>)
Verify the form and type of a CheckCash at runtime.
Declaration
public static Task ValidateCheckCash(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
A CheckCash Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateCheckCreate(Dictionary<string, object>)
Verify the form and type of a CheckCreate at runtime.
Declaration
public static Task ValidateCheckCreate(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
A CheckCreate Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateClawBack(Dictionary<string, object>)
Verify the form and type of an ClawBack at runtime.
Declaration
public static Task ValidateClawBack(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
An ClawBack Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateCredentialAccept(Dictionary<string, object>)
Validates a CredentialAccept transaction.
Declaration
public static Task ValidateCredentialAccept(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
A CredentialAccept transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateCredentialCreate(Dictionary<string, object>)
Validates a CredentialCreate transaction.
Declaration
public static Task ValidateCredentialCreate(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
A CredentialCreate transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateCredentialDelete(Dictionary<string, object>)
Validates a CredentialDelete transaction.
Declaration
public static Task ValidateCredentialDelete(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
A CredentialDelete transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateDIDDelete(Dictionary<string, object>)
Verify the form and type of a DIDDelete at runtime.
Declaration
public static Task ValidateDIDDelete(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
A DIDDelete Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateDIDSet(Dictionary<string, object>)
Declaration
public static Task ValidateDIDSet(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
|
Returns
|
Edit this page
View Source
ValidateDepositPreauth(Dictionary<string, object>)
Verify the form and type of a DepositPreauth at runtime.
Declaration
public static Task ValidateDepositPreauth(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
A DepositPreauth Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateEscrowCancel(Dictionary<string, object>)
Verify the form and type of a EscrowCancel at runtime.
Declaration
public static Task ValidateEscrowCancel(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
A EscrowCancel Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateEscrowCreate(Dictionary<string, object>)
Verify the form and type of a EscrowCreate at runtime.
Declaration
public static Task ValidateEscrowCreate(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
A EscrowCreate Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateEscrowFinish(Dictionary<string, object>)
Verify the form and type of a EscrowFinish at runtime.
Declaration
public static Task ValidateEscrowFinish(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
A EscrowFinish Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateMPTokenAuthorize(Dictionary<string, object>)
Verify the form and type of an MPTokenAuthorize at runtime.
Declaration
public static Task ValidateMPTokenAuthorize(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
An MPTokenAuthorize Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateMPTokenIssuanceCreate(Dictionary<string, object>)
Verify the form and type of an MPTokenIssuanceCreate at runtime.
Declaration
public static Task ValidateMPTokenIssuanceCreate(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
An MPTokenIssuanceCreate Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateMPTokenIssuanceDestroy(Dictionary<string, object>)
Verify the form and type of an MPTokenIssuanceDestroy at runtime.
Declaration
public static Task ValidateMPTokenIssuanceDestroy(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
An MPTokenIssuanceDestroy Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateMPTokenIssuanceSet(Dictionary<string, object>)
Verify the form and type of an MPTokenIssuanceSet at runtime.
Declaration
public static Task ValidateMPTokenIssuanceSet(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
An MPTokenIssuanceSet Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateNFTokenAcceptOffer(Dictionary<string, object>)
Verify the form and type of an NFTokenAcceptOffer at runtime.
Declaration
public static Task ValidateNFTokenAcceptOffer(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
An NFTokenAcceptOffer Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateNFTokenBrokerFee(Dictionary<string, object>)
Declaration
public static Task ValidateNFTokenBrokerFee(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
|
Returns
|
Edit this page
View Source
ValidateNFTokenBurn(Dictionary<string, object>)
Verify the form and type of an NFTokenBurn at runtime.
Declaration
public static Task ValidateNFTokenBurn(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
An NFTokenBurn Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateNFTokenBuyOfferCases(Dictionary<string, object>)
Declaration
public static Task ValidateNFTokenBuyOfferCases(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
|
Returns
|
Edit this page
View Source
ValidateNFTokenCancelOffer(Dictionary<string, object>)
Verify the form and type of an NFTokenCancelOffer at runtime.
Declaration
public static Task ValidateNFTokenCancelOffer(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
An NFTokenCancelOffer Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateNFTokenCreateOffer(Dictionary<string, object>)
Verify the form and type of an NFTokenCreateOffer at runtime.
Declaration
public static Task ValidateNFTokenCreateOffer(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
An NFTokenCreateOffer Transaction.
|
Returns
| Type |
Description |
| Task |
When the NFTokenCreateOffer is Malformed.
|
Exceptions
|
Edit this page
View Source
ValidateNFTokenMint(Dictionary<string, object>)
Verify the form and type of an NFTokenMint at runtime.
Declaration
public static Task ValidateNFTokenMint(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
An NFTokenMint Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateNFTokenModify(Dictionary<string, object>)
Verify the form and type of an NFTokenModify at runtime.
Declaration
public static Task ValidateNFTokenModify(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
An NFTokenModify Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateNFTokenSellOfferCases(Dictionary<string, object>)
Declaration
public static Task ValidateNFTokenSellOfferCases(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
|
Returns
|
Edit this page
View Source
ValidateOfferCancel(Dictionary<string, object>)
Verify the form and type of a OfferCancel at runtime.
Declaration
public static Task ValidateOfferCancel(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
A OfferCancel Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateOfferCreate(Dictionary<string, object>)
Verify the form and type of a OfferCreate at runtime.
Declaration
public static Task ValidateOfferCreate(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
A OfferCreate Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateOracleDelete(Dictionary<string, object>)
Verify the form and type of an OracleDelete at runtime.
Declaration
public static Task ValidateOracleDelete(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
An OracleDelete Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateOracleSet(Dictionary<string, object>)
Verify the form and type of an OracleSet at runtime.
Declaration
public static Task ValidateOracleSet(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
An OracleSet Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidatePayment(Dictionary<string, object>)
Verify the form and type of a Payment at runtime.
Declaration
public static Task ValidatePayment(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
A Payment Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidatePaymentChannelClaim(Dictionary<string, object>)
Verify the form and type of a PaymentChannelClaim at runtime.
Declaration
public static Task ValidatePaymentChannelClaim(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
A PaymentChannelClaim Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidatePaymentChannelCreate(Dictionary<string, object>)
Verify the form and type of a PaymentChannelCreate at runtime.
Declaration
public static Task ValidatePaymentChannelCreate(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
A PaymentChannelCreate Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidatePaymentChannelFund(Dictionary<string, object>)
Verify the form and type of a PaymentChannelFund at runtime.
Declaration
public static Task ValidatePaymentChannelFund(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
A PaymentChannelFund Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidatePermissionedDomainDelete(Dictionary<string, object>)
Validates a PermissionedDomainDelete transaction.
Declaration
public static Task ValidatePermissionedDomainDelete(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
A PermissionedDomainDelete transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidatePermissionedDomainSet(Dictionary<string, object>)
Validates a PermissionedDomainSet transaction.
Declaration
public static Task ValidatePermissionedDomainSet(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
A PermissionedDomainSet transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateSetRegularKey(Dictionary<string, object>)
Verify the form and type of a SetRegularKey at runtime.
Declaration
public static Task ValidateSetRegularKey(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
A SetRegularKey Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateSignerListSet(Dictionary<string, object>)
Verify the form and type of a SignerListSet at runtime.
Declaration
public static Task ValidateSignerListSet(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
A SignerListSet Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateTicketCreate(Dictionary<string, object>)
Verify the form and type of a TicketCreate at runtime.
Declaration
public static Task ValidateTicketCreate(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
A TicketCreate Transaction.
|
Returns
Exceptions
|
Edit this page
View Source
ValidateTrustSet(Dictionary<string, object>)
Verify the form and type of a TrustSet at runtime.
Declaration
public static Task ValidateTrustSet(Dictionary<string, object> tx)
Parameters
| Type |
Name |
Description |
| Dictionary<string, object> |
tx |
A TrustSet Transaction.
|
Returns
Exceptions