-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v2 API use algo get txId and get transaction by txid #190
Comments
Or calculate the txId base on /v2/blocks/xx txn ? |
Any update? |
You should be able to get the txid from the SignedTransactionInBlock, after setting the appropriate values on the Transaction object (genesis hash/gensis id) then passing it to something like this: t.Txn.GenesisID = b.GenesisID
t.Txn.GenesisHash = b.GenesisHash
txid := crypto.GetTxID(t.Txn) |
But maybe the transaction not have GenesisID, because when make a transaction don't need fill the GenesisID |
GetTxID works correctly. |
Have any method get the txId use
/v2/blocks/xx
, i dont wanna deploy the indexer node, only have the algo node.The text was updated successfully, but these errors were encountered: