Skip to content
This repository was archived by the owner on May 10, 2024. It is now read-only.

Commit aabb22b

Browse files
authored
Update example
1 parent d41b665 commit aabb22b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Examples below assume you are running a locan full node with the default provided reference config file.
33

44
## 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))`.
66
So for example for address represted as a hex string of `0x8C99365feE31f1cEDB056A35D7f561584679ea3c`, the base64 encoding is `jJk2X+4x8c7bBWo11/VhWEZ56jw='`
77

88
## Account Balance

0 commit comments

Comments
 (0)