@lelantos-org/sdk / wallet / quoteFee
Function: quoteFee() โ
ts
function quoteFee(ctx, args): Promise<FeeQuoteResult>;Defined in: @lelantos-org/sdk/dist/wallet/fee-quote.d.ts:46
Price a relay and list what it may be paid in.
Balances come from the wallet's own notes, so affordable answers "could I pay this today" rather than merely "would the relayer accept it".
An asset the relayer quotes but this SDK cannot resolve is dropped rather than reported: it cannot be paid in, because building the note needs the registry entry.
Parameters โ
| Parameter | Type |
|---|---|
ctx | Pick<SpendContext, "submitter" | "cfg" | "resolveAsset"> & object |
args | QuoteFeeArgs |
Returns โ
Promise<FeeQuoteResult>