Table of Contents

Class Body5

Namespace
Thirdweb.Api
Assembly
Thirdweb.dll

Request body for signing a message

public class Body5
Inheritance
Body5
Inherited Members

Properties

AdditionalProperties

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

Property Value

IDictionary<string, object>

ChainId

The blockchain network identifier where the signing will occur. Common values include: 1 (Ethereum), 137 (Polygon), 56 (BSC).

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

Property Value

int

From

The wallet address or ENS name that will sign the message.

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

Property Value

string

Message

The message to be signed. Can be plain text or hexadecimal format (starting with 0x). The format is automatically detected.

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

Property Value

string