EcashQuoteLike.total
ts
total(): AmountGives the total cost of the quote. Synchronous.
Parameters. None.
Returns. Amount. notesValue plus fee. The balance moves by this amount.
Throws. None.
Example
example.ts
ts
import type { EcashQuoteLike } from '@fedimint/react-native'
declare const quote: EcashQuoteLike
const msat = quote.total()
console.log(`${msat / 1000n} sats`)Used in. Send, step 01