mirror of
https://github.com/Instadapp/avocado-integration.git
synced 2024-07-29 22:17:01 +00:00
Update README.md
This commit is contained in:
parent
4748a21682
commit
ecdb51e5a0
|
@ -143,9 +143,9 @@ const provider = new ethers.providers.Web3Provider(window.ethereum, "any")
|
||||||
|
|
||||||
const safe = createSafe(provider.getSigner())
|
const safe = createSafe(provider.getSigner())
|
||||||
|
|
||||||
const safeOwner = await safe.getOwnerAddress()
|
const safeAddress = await await safe.getSafeAddress()
|
||||||
|
|
||||||
const usdcGasBalance = await provider.getBalance(safeOwner)
|
const usdcGasBalance = await provider.getBalance(safeAddress)
|
||||||
```
|
```
|
||||||
|
|
||||||
Additional Examples: https://github.com/Instadapp/avocado-sdk#examples
|
Additional Examples: https://github.com/Instadapp/avocado-sdk#examples
|
||||||
|
|
Loading…
Reference in New Issue
Block a user