getTransactionStore

Retrieve the transaction store for a given address.

Example

import { getTransactionStore } from "thirdweb/transaction";
const store = getTransactionStore("0x...");
store.subscribe((transactions) => {
console.log(transactions);
});
function getTransactionStore(
address: string,
): Store<Array<StoredTransaction>>;

Parameters

The address to retrieve the transaction store for.

Type

let address: string;

Returns

let returnType: Store<Array<StoredTransaction>>;

A store of transactions for the given account to subscribe to.