Table of Contents

Class Body6

Namespace
Thirdweb.Api
Assembly
Thirdweb.dll

Request body for signing typed data

public class Body6
Inheritance
Body6
Inherited Members

Properties

AdditionalProperties

[JsonExtensionData]
public IDictionary<string, object> AdditionalProperties { get; set; }

Property Value

IDictionary<string, object>

ChainId

The blockchain network identifier for EIP-712 domain separation.

[JsonProperty("chainId", Required = Required.Always)]
[Range(1, 2147483647)]
public int ChainId { get; set; }

Property Value

int

Domain

EIP-712 domain separator containing contract and chain information for signature verification.

[JsonProperty("domain", Required = Required.Always)]
[Required]
public Domain Domain { get; set; }

Property Value

Domain

From

The wallet address or ENS name that will sign the typed data.

[JsonProperty("from", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string From { get; set; }

Property Value

string

Message

The structured data to be signed, matching the defined types schema.

[JsonProperty("message", Required = Required.Always)]
[Required]
public IDictionary<string, object> Message { get; set; }

Property Value

IDictionary<string, object>

PrimaryType

The primary type name from the types object that defines the main structure being signed.

[JsonProperty("primaryType", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string PrimaryType { get; set; }

Property Value

string

Types

Type definitions for the structured data, following EIP-712 specifications.

[JsonProperty("types", Required = Required.Always)]
[Required]
public IDictionary<string, ICollection<Anonymous>> Types { get; set; }

Property Value

IDictionary<string, ICollection<Anonymous>>