0.1.1 • Published 5 years ago
@tomfrench/eth-hooks v0.1.1
🖇 eth-hooks
usePoller(fn, delay): runs a function on app load and then on a custom interval
useBalance(address,provider,pollTime): poll for the balance of an address from a provider
useBlockNumber(provider,pollTime): get current block number from a provider
useGasPrice(): gets current "fast" price from ethgasstation