We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49ea554 commit d2800fdCopy full SHA for d2800fd
README.md
@@ -337,7 +337,7 @@ string name;
337
purpose.QueryName().OnSuccess(tokenName => name = tokenName);
338
339
// Query the balance of the address "0x0101010101010101010101010101010101010101" of the contract and print it out.
340
-purpose.QueryBalanceOf("0x0101010101010101010101010101010101010101").OnSuccess(Debug.Log);
+purpose.QueryBalanceOf("0x0101010101010101010101010101010101010101").OnSuccess(balance => Debug.Log(balance));
341
```
342
343
The reason for the differences between libraries is due to the fact that the return types are different. The Unity return is of type ```EthCallPromise<T>``` while .NET Standard returns a ```Task<T>```.
0 commit comments