Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to send MCASH using easytransferbyprivate RPC method #3

Closed
szhelonkin opened this issue Feb 25, 2020 · 4 comments
Closed

Failed to send MCASH using easytransferbyprivate RPC method #3

szhelonkin opened this issue Feb 25, 2020 · 4 comments

Comments

@szhelonkin
Copy link

Failed to send MCASH using easytransferbyprivate RPC method.
{"result"=>{"code"=>"CONTRACT_VALIDATE_ERROR", "message"=>"313a39363a20494e56414c49442068657820537472696e67"}}

@nghiand
Copy link
Contributor

nghiand commented May 7, 2020

I've successfully sent MCASH using this api.
Did your request use address in base58? Please try to_address and memo (optional) in hex format.

@szhelonkin
Copy link
Author

Yes address in base58 for example MHcBgQK9QsctfoWsWQ5NWRiEwvcysvUQMv.
It works fine before 12-2019 after that we always have validate error.

@nghiand
Copy link
Contributor

nghiand commented May 8, 2020

The Api does not accept address in base58, so please use hex format instead.
326a7b6522282f37d09d77527f28508407b88c583d for your example MHcBgQK9QsctfoWsWQ5NWRiEwvcysvUQMv

@nghiand nghiand closed this as completed May 8, 2020
@szhelonkin
Copy link
Author

Yes it works fine.
It it possible to get hex fromat from base58 using api?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants