Layer 231
WalletGetTransactionsByIDs
Get specific transactions of the user's wallet by their transaction IDs, e. g. to refresh the status of transactions already shown in the history.
method
wallet.getTransactionsByIDs#811ceab6 id:Vector<string> = wallet.Transactions;
Parameters
| Name | Type | Description |
|---|---|---|
| Id | Vector<string> | IDs of the wallet transactions to return |
Returns
wallet.TransactionsGogram Example
res, err := client.WalletGetTransactionsByIDs([]string{"wtx_8f3a1c2e", "wtx_9b4d2f71"}) if err != nil { log.Fatal(err) } for _, tx := range res.Transactions { fmt.Println(tx.ID, tx.Amount, "failed:", tx.Failed, "hash:", tx.TxHash) }