The following functionality exists for wallets reconstituted server-side. More on Privy architecture here

To get a transaction’s details using the NodeJS SDK, use the getTransaction method from the Privy client:

getTransaction: (input: {id: string}) => Promise<WalletApiTransactionResponseType>;

Usage

const transaction = await privy.walletApi.getTransaction({
  id: 'insert-transaction-id'
});
console.log(transaction);

Parameters

id
string
required

ID of the transaction to fetch details for.

Returns

transaction
WalletApiTransactionResponseType