Position Transfers (fetchPositionTransfers)

This method fetches all position transfer transactions occurred in any secondary market for a given wallet address.

import { SupportedChainIds } from "@parabolfi/core";
import { ParabolServer } from "@parabolfi/server";
 
const parabolServer = new ParabolServer({
  apiKey: process.env.PARABOL_API_KEY,
});
 
const chain = SupportedChainIds.ZKSYNC;
const walletAddress = "0x...";
const transfers = await parabolServer.fetchPositionTransfers(walletAddress, [
  chain,
]);

Response

{
  "324": [
    {
      "tokenId": "1",
      "from": "0x...",
      "to": "0x...",
      "blockTimestamp": "1732495568",
      "transactionHash": "0x..."
    }
  ]
}
  • tokenId is the token ID of the position.
  • from is the wallet address of the sender.
  • to is the wallet address of the receiver.
  • blockTimestamp is the timestamp of the transaction.
  • transactionHash is the transaction hash of the transfer.

We are indexing all secondary market transfers on-chain.