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
fromic.candidimportencode, decode, Types# params is an array, return value is encoded bytesparams= [{'type': Types.Nat, 'value': 10}]
data=encode(params)
Decode parameters:
# data is bytes, return value is an parameter arrayparams=decode(data)