Contract address as `address` function argument


Hello again,

I want to call a function that accepts an address with a contract address. How can I do that?

If I try to pass the decoded address I get this:
Error: Validation error: ["Argument index: 1, value: [#b5fc8a9b04090836b515bc7cffe26ac587e46fe0345f06eedd14034244dbf48a] must be of type [address]"]

If I try to pass the address as ct_... I get this:
Error: Data doesn't match expected type ak

I guess this should be fixed:



Hello @kraykov,

Which version of sdk you are using? Try to update it to latest.