Table of Contents

Class Accepts2

Namespace
Thirdweb.Api
Assembly
Thirdweb.dll
public class Accepts2
Inheritance
Accepts2
Inherited Members

Properties

AdditionalProperties

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

Property Value

IDictionary<string, object>

Asset

[JsonProperty("asset", Required = Required.Always)]
public Asset5 Asset { get; set; }

Property Value

Asset5

Description

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

Property Value

string

Extra

[JsonProperty("extra", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public IDictionary<string, object> Extra { get; set; }

Property Value

IDictionary<string, object>

MaxAmountRequired

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

Property Value

string

MaxTimeoutSeconds

[JsonProperty("maxTimeoutSeconds", Required = Required.Always)]
public int MaxTimeoutSeconds { get; set; }

Property Value

int

MimeType

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

Property Value

string

Network

CAIP-2 blockchain identifier (e.g., 'eip155:1' for Ethereum, 'solana:4sGjMW1sUnHzSxGspuhpqLDx6wiyjNtZ' for Solana mainnet). Also accepts numeric EVM chain IDs (e.g., 1, 137) or aliases ('solana:mainnet', 'solana:devnet') for backward compatibility.

[JsonProperty("network", Required = Required.Always)]
public Network8 Network { get; set; }

Property Value

Network8

OutputSchema

[JsonProperty("outputSchema", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public IDictionary<string, object> OutputSchema { get; set; }

Property Value

IDictionary<string, object>

PayTo

[JsonProperty("payTo", Required = Required.Always)]
public PayTo5 PayTo { get; set; }

Property Value

PayTo5

Resource

[JsonProperty("resource", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public Uri Resource { get; set; }

Property Value

Uri

Scheme

[JsonProperty("scheme", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
[JsonConverter(typeof(StringEnumConverter))]
public Accepts2Scheme Scheme { get; set; }

Property Value

Accepts2Scheme