@exodus/fees
This Exodus SDK feature provides an API to calculate fees for a draft transaction.
Install
npm i @exodus/feesUsage
This feature is designed to be used together with @exodus/headless and is included by default. See using the sdk.
API Side
See using the sdk for more details on how features plug into the SDK and the API interface in the type declaration .
const { fee } = await exodus.fees.getFees({ assetName: 'bitcoin', walletAccount: 'exodus_0' });UI Side
See using the sdk for more details on basic UI-side setup.
