Skip to main content
The following functionality exists for wallets reconstituted server-side. More on Privy architecture here
In August 2025 we migrated transactions to a new data store. As part of this migration, we changed the format of transaction IDs from CUID2 to UUIDv4. You may continue using the CUID2 for your existing transactions, but we encourage migration to the new UUID, as it will avoid a very slight latency increase due to an extra lookup for mapping from the legacy ID to the new ID.
  • NodeJS
  • NodeJS (server-auth)
  • Java
  • REST API
  • Rust
To get a transaction’s details using the NodeJS SDK, use the get method on the transactions() interface of the Privy client:

Usage

import {PrivyClient} from '@privy-io/node';

const privy = new PrivyClient({
  appId: 'insert-your-app-id',
  appSecret: 'insert-your-app-secret'
});

const transaction = await privy.transactions().get('insert-transaction-id');
console.log(transaction);

Parameters and Returns

Check out the API reference for more details.
I