You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So if anyone finds time, the first step would probably be to upgrade the imx-sdk to the most recent version, I am pretty sure a very old one is currently installed. Yeah and then basically work from there.
IMX updated the parameters for the transfer of tokens, and now it is required to add parameters to the header, where can I do this?
client = IMXClient(
net="main", n_workers=1, pk="PRIVATE_KEY")
token_gods = ERC20(symbol='GODS', quantity=1, type="ERC20", decimals=18, contract_addr='0xccc8cb5229b0ac8069c51fd58367fd1e622afd97')
some_params = TransferParams(sender=sender_address, receiver=receiver_address, token=token_gods)
future = client.transfer(params=some_params)
res = future.result()
print(res)
returns:
{'status': 'error', 'result': '
x-imx-eth-signature
andx-imx-eth-address
headers both required'}The text was updated successfully, but these errors were encountered: