SigningRequestConstants

Static Class containing Constants used with the SigningRequest Package.

Summary

MembersDescriptions

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>.

Members

public static bool IsIdentity(Action action)

Checks if an action is an IdentityRequest.

Parameters

  • action The action to be checked.

Returns

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.

Parameters

  • tx The transaction to be checked.

Returns

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>.

Parameters

  • chainId The chainId-Object to be converted, can either be of type string (Chain-Id or Chain-Name), ChainName-Enum, byte.

Returns

Returns a KeyValuePair<string, object> defining the variant-name and the object

Last updated