I am getting this error building Next JS app in Typescript when using useSignAndExecuteTransactionBlock
the error is using the transactionBlock
param.
const { mutate: signAndExecuteTransactionBlock } =
useSignAndExecuteTransactionBlock();
signAndExecuteTransactionBlock({
transactionBlock: trx
});
Error message:
Property '#private' in type 'TransactionBlock' refers to a different member that cannot be accessed from within type 'TransactionBlock'
How can I resolve this?