Questions tagged [go-substrate-rpc-client]
The go-substrate-rpc-client tag has no usage guidance.
3
questions
2
votes
1
answer
188
views
Runtime error: Execution failed: Runtime panicked: Bad input data provided to validate_transaction: Invalid length prefix
Getting Error : "Verification Error: Runtime error: Execution failed: Runtime panicked: Bad input data provided to validate_transaction: Invalid length prefix" While calling the custom RPC ...
0
votes
1
answer
58
views
How to get human-readable ASTR balance in Golang
This question is continued from How to get ASTR balance via json rpc.
I understood calculating StorageKey from Publickey is needed.
It seems that calculating StorageKey and decoding rpc-json responses ...
3
votes
0
answers
122
views
Retrieving all validator accounts with the Go Substrate RPC Client
My goal is to get a list of the stash account addresses of all validators using the golang substrate client.
Context
My approach so far is to take inspiration from the polkadotjs application and other ...