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
Inherited Members

Properties

Amount

The desired amount in wei.

[JsonProperty("amount")]
public string Amount { get; set; }

Property Value

string

DestinationChainId

The destination chain ID.

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

Property Value

BigInteger

DestinationTokenAddress

The destination token address.

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

Property Value

string

MaxSteps

The maximum number of steps in the returned route (optional).

[JsonProperty("maxSteps", NullValueHandling = NullValueHandling.Ignore)]
public int? MaxSteps { get; set; }

Property Value

int?

OriginChainId

The origin chain ID.

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

Property Value

BigInteger

OriginTokenAddress

The origin token address.

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

Property Value

string