Table of Contents

Class Transactions

Namespace
Thirdweb.Api
Assembly
Thirdweb.dll

A blockchain transaction with pre-encoded data payload. For contract calls, use /v1/contracts/write. For native token transfers, use /v1/wallets/send.

public class Transactions
Inheritance
Transactions
Inherited Members

Properties

AdditionalProperties

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

Property Value

IDictionary<string, object>

Data

Transaction data in hexadecimal format for contract interactions or custom payloads.

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

Property Value

string

To

The target address or ENS name for the transaction.

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

Property Value

string

Value

Amount of native token to send in wei (smallest unit). Use '0' or omit for non-value transactions.

[JsonProperty("value", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public string Value { get; set; }

Property Value

string