const useDero: () => {
available: boolean; // is the channel loaded?
data: {
address: string; // dero address
height: number; // dero height
balance: string; // dero balance
unlockedBalance: string; // unlocked dero balance
};
};
import { useDero } from "ckd-react"; export default function UseDeroExample() { const dero = useDero(); return <pre>{JSON.stringify(dero, null, 2)}</pre>; }
*sign in required
{ "available": false, "data": { "address": "", "height": 0, "balance": "", "unlockedBalance": "" } }