I'm trying to get information regarding a transaction from testnet, so I'm sending a JSON request to monero-wallet-rpc:


But I'm receiving:

{"error":{"code":-8,"message":"Transaction ID has invalid size: "},"id":"0","jsonrpc":"2.0"}

What does the error mean?

1 Answer 1


It means you passed it an empty (non existent) txid. It should have 64 hex chars, not 0.

params is a dictionary containing a "txid" field, but you set it to a string, so parsing does not find the txid it's expecting where it's supposed to be. Fix this.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.