Skip to main content

Questions tagged [go-substrate-rpc-client]

Filter by
Sorted by
Tagged with
1 vote
1 answer
81 views

payment_queryInfo returning Execution aborted due to trap: wasm trap: wasm `unreachable` instruction executed

I was trying to query payment_queryInfo on current Westend testnet, and the following payload used to works at spec 9430. { "jsonrpc": "2.0", "method": "...
johnhckuo's user avatar
  • 123
2 votes
1 answer
251 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 ...
Kumar's user avatar
  • 135
0 votes
1 answer
72 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 ...
user3563's user avatar
3 votes
0 answers
148 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 ...
jvdp's user avatar
  • 31