Class EvmTypedData
-
- All Implemented Interfaces:
public final class EvmTypedDataEIP-712 typed data to be signed with a wallet.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEvmTypedData.BuilderA builder for EvmTypedData.
-
Method Summary
Modifier and Type Method Description final JsonValue_domain()Domain separator for the typed data. final JsonValue_message()Message to be signed. final StringprimaryType()Primary type of the typed data. final JsonValue_types()Types used in the typed data. final JsonField<String>_primaryType()Returns the raw JSON value of primaryType. final Map<String, JsonValue>_additionalProperties()final EvmTypedData.BuildertoBuilder()final EvmTypedDatavalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static EvmTypedData.Builderbuilder()Returns a mutable builder for constructing an instance of EvmTypedData. -
-
Method Detail
-
_message
final JsonValue _message()
Message to be signed. Contains the actual data that will be signed with the wallet.
-
primaryType
final String primaryType()
Primary type of the typed data.
-
_primaryType
final JsonField<String> _primaryType()
Returns the raw JSON value of primaryType.
Unlike primaryType, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final EvmTypedData.Builder toBuilder()
-
validate
final EvmTypedData validate()
-
builder
final static EvmTypedData.Builder builder()
Returns a mutable builder for constructing an instance of EvmTypedData.
The following fields are required:
.domain() .message() .primaryType() .types()
-
-
-
-