tonkeeper / tonapi-js

MIT License
39 stars 11 forks source link

Get Hash #26

Open Jobians opened 1 week ago

Jobians commented 1 week ago

How to get transaction hash

const transferMessage = wallet.createTransfer({
    seqno,
    secretKey: keyPair.secretKey,
    sendMode: SendMode.PAY_GAS_SEPARATELY,
    messages
  });

  const externalMessage = beginCell()
    .storeWritable(
      storeMessage(
        external({
          to: contract.address,
          init: seqno === 0 ? contract.init : undefined,
          body: transferMessage
        })
      )
    )
    .endCell();

client.liteServer.sendRawMessage({
    body: externalMessage
  })
QuimbyJr commented 1 week ago

Hello @Jobians This issue has been preview on the Pull Requests.

Generalresolution03 commented 4 days ago

Hello, have you been able to resolve this issue?

Jobians commented 3 days ago

@Generalresolution03 I created it myself