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

Commit f6df044

Browse files
authored
Update example
1 parent aabb22b commit f6df044

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples.md

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Binary data submitted via grpcurl to the api must be a base64 string encoded in
66
So for example for address represted as a hex string of `0x8C99365feE31f1cEDB056A35D7f561584679ea3c`, the base64 encoding is `jJk2X+4x8c7bBWo11/VhWEZ56jw='`
77

88
## Account Balance
9+
Returns the current and project balance of an account identified by an address.
910

1011
```bash
1112
grpcurl -d '{"filter" : {"accountId":{"address":"jJk2X+4x8c7bBWo11/VhWEZ56jw="}, "account_data_flags":4}}' -plaintext localhost:9092 spacemesh.v1.GlobalStateService.AccountDataQuery
@@ -35,6 +36,7 @@ grpcurl -d '{"filter" : {"accountId":{"address":"jJk2X+4x8c7bBWo11/VhWEZ56jw="},
3536

3637

3738
## Account Rewards
39+
Returns the smeshing rewards of a rewards account identified by its address.
3840

3941
```bash
4042
grpcurl -d '{"filter" : {"accountId":{"address":"jJk2X+4x8c7bBWo11/VhWEZ56jw="}, "account_data_flags":4}}' -plaintext localhost:9092 spacemesh.v1.GlobalStateService.AccountDataQuery

0 commit comments

Comments
 (0)