-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Terminus Go Tests:
https://github.com/casper-sdks/terminus-go-tests/blob/00e42153ccc3b77991a78928f665c4ac41308541/tests/steps/query_balance_test.go#L155
The query_balance RPC works successfully with a user public key to get the current balance
The state identifier has not been implemented to enable a historic query_balance as per the Casper documentation:
https://docs.casper.network/developers/json-rpc/json-rpc-informational/#query-balance
See below's documentation example:
"id": 1,
"jsonrpc": "2.0",
"method": "query_balance",
"params": [
{
"name": "state_identifier",
"value": {
"BlockHash": "13c2d7a68ecdd4b74bf4393c88915c836c863fc4bf11d7f2bd930a1bbccacdcb"
}
},
{
"name": "purse_identifier",
"value": {
"main_purse_under_account_hash": "account-hash-0909090909090909090909090909090909090909090909090909090909090909"
}
}
]
Thanks!
Carl Norburn
@cnorburn
Metadata
Metadata
Assignees
Labels
No labels