SigningRequestConstants
Last updated
Last updated
Static Class containing Constants used with the SigningRequest Package.
Members | Descriptions |
---|---|
public static bool
IsIdentity
(Action action)
Checks if an action is an IdentityRequest.
action
The action to be checked.
Returns true if the action passed is an IdentityRequest, returns false if not
public static bool
HasTapos
(Transaction tx)
Checks if an transaction has TAPOS (Transaction as Proof of Stake) properties set.
tx
The transaction to be checked.
Returns true if the transaction passed has TAPOS, returns false if not
public static KeyValuePair< string, object >
VariantId
(object chainId)
Converts the chainId-Object to a KeyValuePair<string, object>.
chainId
The chainId-Object to be converted, can either be of type string (Chain-Id or Chain-Name), ChainName-Enum, byte.
Returns a KeyValuePair<string, object> defining the variant-name and the object
public static bool
IsIdentity
(Action action)
Checks if an action is an IdentityRequest.
public static bool
HasTapos
(Transaction tx)
Checks if an transaction has TAPOS (Transaction as Proof of Stake) properties set.
public static KeyValuePair< string, object >
VariantId
(object chainId)
Converts the chainId-Object to a KeyValuePair<string, object>.