Documentation currently says to sign and return a tx with signer you should
let signer = hashconnect.getSigner(accountId);
let trans = await new TransferTransaction()
.addHbarTransfer(fromAccount, -1)
.addHbarTransfer(toAccount, 1)
.freezeWithSigner(signer);
let response = await trans.signTransaction(signer);
As of "@hashgraph/sdk": "^2.40.0" TransferTransaction API does not have a .signTransaction() method
Documentation currently says to sign and return a tx with signer you should
As of
"@hashgraph/sdk": "^2.40.0"
TransferTransaction API does not have a.signTransaction()
method