Table of Contents

Class Intent

Namespace
Thirdweb.Bridge
Assembly
Thirdweb.dll

Represents the base intent object for different types of transactions.

public class Intent
Inheritance
Intent
Derived
Inherited Members

Properties

AmountWei

The amount involved in the transaction (buy, sell, or transfer) in wei.

public virtual string AmountWei { get; set; }

Property Value

string

DestinationChainId

The chain ID where the transaction is executed.

[JsonProperty("destinationChainId")]
public BigInteger DestinationChainId { get; set; }

Property Value

BigInteger

DestinationTokenAddress

The token address in the destination chain.

[JsonProperty("destinationTokenAddress")]
public string DestinationTokenAddress { get; set; }

Property Value

string

OriginChainId

The chain ID where the transaction originates.

[JsonProperty("originChainId")]
public BigInteger OriginChainId { get; set; }

Property Value

BigInteger

OriginTokenAddress

The token address in the origin chain.

[JsonProperty("originTokenAddress")]
public string OriginTokenAddress { get; set; }

Property Value

string