Skip to content

@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 โ€‹

ParameterType
ctxPick<SpendContext, "submitter" | "cfg" | "resolveAsset"> & object
argsQuoteFeeArgs

Returns โ€‹

Promise<FeeQuoteResult>

Lelantosno cookies ๐Ÿช ยท no tracking ๐Ÿ‘๏ธ ยท no accounts ๐Ÿ‘คwalletexplorer4536080GitHub