I send the transaction using the substrate interface.
I get the key pair and call:
call_module = "Assets"
call_function = 'transfer'
call_params = {
"id": asset_id,
"target": target,
'amount': amount,
}
Then, I sign the transaction using substrate.create_signed_extrinsic
,
but I get an error:
raise ValueError('Element "{}" of struct is missing in given value'.format(key))
ValueError: Element "asset_id" of struct is missing in given value