Hello,
I manage to get the group id as bytes with transaction.group
but I don’t manage to convert it to string (like the one shown on AlgoExplorer) with transaction.group.decode('utf-8')
nor with transaction.group.decode()
.
Can someone show me how to get the group id string that I could look up on AlgoExplorer ?
You need to encode it in base64.
1 Like
Thanks a lot @fabrice !!
Indeed I managed to get the string with :
import base64
group_id = base64.b64encode(transaction.group).decode()
1 Like