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
TProfileThe 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
AtomicAmount
Full-width atomic amount. Serializes as a canonical decimal string.
[JsonPropertyName("amount")]
[JsonConverter(typeof(AtomicAmountConverter))]
public BigInteger? AtomicAmount { get; init; }
Property Value
MaxFromAmount
Optional maximum onchain receive deposit; requires MinFromAmount.
[JsonConverter(typeof(AtomicAmountConverter))]
public BigInteger? MaxFromAmount { get; init; }
Property Value
MinFromAmount
Optional minimum onchain receive deposit; requires MaxFromAmount.
[JsonConverter(typeof(AtomicAmountConverter))]
public BigInteger? MinFromAmount { get; init; }
Property Value
Pair
The directional pair being requested, as <corridor>:<asset>-><corridor>:<asset>.
public required string Pair { get; init; }
Property Value
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
Type
Envelope discriminator.
public string Type { get; init; }
Property Value
V
Envelope version.
public int V { get; init; }