-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
abi_json_to_bin has been deprecated - https://eosnetwork.com/blog/leap-v3-1-release-features/#29-abi-conversion-apis-are-deprecated
Hence it's not possible to use following function
def abi_json_to_bin(self, code: str, action: str, args: Dict) -> bytes:
url = self.rpc_host + "/v1/chain/abi_json_to_bin"
post_data = {
"code": code,
"action": action,
"args": args,
}
resp = self.post(url, post_data)
binargs = resp.json().get("binargs")
if binargs is None:
raise NodeException("eos node error, not find binargs", resp)
return bytes.fromhex(binargs)
If you curl the path you're getting following error:
$ curl https://waxapi.ledgerwise.io/v1/chain/abi_json_to_bin
{"code":404,"message":"Not Found","error":{"code":0,"name":"exception","what":"unspecified","details":[{"message":"Unknown Endpoint","file":"beast_http_session.hpp","line_number":204,"method":"handle_request"}]}}
Metadata
Metadata
Assignees
Labels
No labels