You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 10, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: examples.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
Examples below assume you are running a locan full node with the default provided reference config file.
3
3
4
4
## Working with Binary Data
5
-
Binary data submitted via grpcurl to the api must be a base64 string encoded in the following way: `base64(Int(hex_string).toBigEndianBytes()`.
5
+
Binary data submitted via grpcurl to the api must be a base64 string encoded in the following way: `base64(hex.decode(hex_string))`.
6
6
So for example for address represted as a hex string of `0x8C99365feE31f1cEDB056A35D7f561584679ea3c`, the base64 encoding is `jJk2X+4x8c7bBWo11/VhWEZ56jw='`
0 commit comments