Invalid Input: Unable to parse transaction

Hello, I am using WalletConnect to sign a group transaction.
The format of the group ID is uint8Array which is assigned by

algosdk.assignGroupID([feeTx, appTx]);

WalletConnect gives error on this format.
The transactions look like this.

p
amount: 1508000
appArgs: []
fee: 2000
firstRound: 18400905
flatFee: true
from: {publicKey: Uint8Array(32), checksum: Uint8Array(4)}
genesisHash: Uint8Array(32) [72, 99, 181, 24, 164, 179, 200, 78, 200, 16, 242, 45, 79, 16, 129, 203, 15, 113, 240, 89, 167, 172, 32, 222, 198, 47, 127, 112, 229, 9, 58, 34, buffer: ArrayBuffer(32), byteLength: 32, byteOffset: 0, length: 32]
genesisID: "testnet-v1.0"
group: Uint8Array(32) [183, 179, 109, 228, 129, 23, 17, 217, 75, 88, 163, 162, 230, 191, 251, 240, 99, 120, 29, 190, 98, 84, 13, 128, 90, 37, 22, 238, 241, 206, 14, 247, buffer: ArrayBuffer(32), byteLength: 32, byteOffset: 0, length: 32]
lastRound: 18401905
lease: Uint8Array [buffer: ArrayBuffer(0), byteLength: 0, byteOffset: 0, length: 0]
name: "Transaction"
note: Uint8Array [buffer: ArrayBuffer(0), byteLength: 0, byteOffset: 0, length: 0]
tag: Uint8Array(2) [84, 88, buffer: ArrayBuffer(2), byteLength: 2, byteOffset: 0, length: 2]
to: {publicKey: Uint8Array(32), checksum: Uint8Array(4)}
type: "pay"

Any work around for this?

Note: I’ve tried to assign buffer using

txn.group = txn.group.buffer

and the error is solved but later on it throws another error that both transactions don’t have a same group.
I need to send Uint8Array format of Group to WalletConnect.

Test it in Android and IPhone …

These implementations may require different input / output (b64 vs Uint8Array) to wallet connect from my testing.

1 Like