Table of Contents

Class Body23

Namespace
Thirdweb.Api
Assembly
Thirdweb.dll

Request payload for signing a Solana transaction. Provide a serialized transaction or a set of instructions to be assembled server-side.

public class Body23
Inheritance
Body23
Inherited Members

Properties

AdditionalProperties

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

Property Value

IDictionary<string, object>

ChainId

Solana network the transaction targets. Use solana:mainnet or solana:devnet.

[JsonProperty("chainId", Required = Required.Always)]
public ChainId4 ChainId { get; set; }

Property Value

ChainId4

ComputeUnitLimit

Override the compute unit limit for the transaction via the compute budget program.

[JsonProperty("computeUnitLimit", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
[Range(0, 1.7976931348623157E+308)]
public int? ComputeUnitLimit { get; set; }

Property Value

int?

From

The Solana wallet address that will sign the transaction.

[JsonProperty("from", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
[RegularExpression("^[1-9A-HJ-NP-Za-km-z]{32,44}$")]
public string From { get; set; }

Property Value

string

Instructions

Instructions that will be assembled into a transaction before signing.

[JsonProperty("instructions", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
[MinLength(1)]
public ICollection<Instructions> Instructions { get; set; }

Property Value

ICollection<Instructions>

PriorityFee

Priority fee configuration applied via the compute budget program.

[JsonProperty("priorityFee", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public PriorityFee PriorityFee { get; set; }

Property Value

PriorityFee

Transaction

Base64 encoded Solana transaction to sign.

[JsonProperty("transaction", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
[StringLength(2147483647, MinimumLength = 1)]
public string Transaction { get; set; }

Property Value

string