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..."
}
]
}tokenIdis the token ID of the position.fromis the wallet address of the sender.tois the wallet address of the receiver.blockTimestampis the timestamp of the transaction.transactionHashis the transaction hash of the transfer.
We are indexing all secondary market transfers on-chain.