Table of Contents

Class RfqRequest<TProfile>

Namespace
NArk.ArkadeIntents.Rfq
Assembly
NArk.ArkadeIntents.dll

A request for a quote. Strict on the wire: only these fields, or the solver refuses it with UnsupportedPayload.

public sealed class RfqRequest<TProfile>

Type Parameters

TProfile

The corridor's request-profile shape.

Inheritance
RfqRequest<TProfile>
Inherited Members

Properties

Amount

The amount in atomic units of the named leg. Omitted by profiles where something else is authoritative — sending a value that disagrees with it is unsupported_payload.

[JsonIgnore]
public long? Amount { get; init; }

Property Value

long?

AmountSide

Which leg Amount refers to.

public required RfqAmountSide AmountSide { get; init; }

Property Value

RfqAmountSide

AtomicAmount

Full-width atomic amount. Serializes as a canonical decimal string.

[JsonPropertyName("amount")]
[JsonConverter(typeof(AtomicAmountConverter))]
public BigInteger? AtomicAmount { get; init; }

Property Value

BigInteger?

MaxFromAmount

Optional maximum onchain receive deposit; requires MinFromAmount.

[JsonConverter(typeof(AtomicAmountConverter))]
public BigInteger? MaxFromAmount { get; init; }

Property Value

BigInteger?

MinFromAmount

Optional minimum onchain receive deposit; requires MaxFromAmount.

[JsonConverter(typeof(AtomicAmountConverter))]
public BigInteger? MinFromAmount { get; init; }

Property Value

BigInteger?

Pair

The directional pair being requested, as <corridor>:<asset>-><corridor>:<asset>.

public required string Pair { get; init; }

Property Value

string

Profile

The corridor-specific fields.

public required TProfile Profile { get; init; }

Property Value

TProfile

RfqId

The client-chosen correlation id (64 lowercase hex).

public required string RfqId { get; init; }

Property Value

string

Type

Envelope discriminator.

public string Type { get; init; }

Property Value

string

V

Envelope version.

public int V { get; init; }

Property Value

int