Redeem Ecash
federation.getConfig()
Access configuration details about a connected federation.
ts
import { WalletDirector } from '@fedimint/core'
import { WasmWorkerTransport } from '@fedimint/transport-web'
const director = new WalletDirector(new WasmWorkerTransport())
const wallet = await director.createWallet()
await wallet.open()
const config = await wallet.federation.getConfig()