const beforeSignature: string =
"NiJozRcKaSn3nGQa7jTAo9qbVKb8JC6rHXJyTTEGnXfgJzVisTuDYxELdBUxStjxZj9N19wt3fMA8xS6H6acJLi";
const lastSignature: string | null =
"NiJozRcKaSn3nGQa7jTAo9qbVKb8JC6rHXJyTTEGnXfgJzVisTuDYxELdBUxStjxZj9N19wt3fMA8xS6H6acJLi";
let tes = await connection.getSignaturesForAddress(poolAddress, {
limit: 1000,
before: beforeSignature,
// until: lastSignature,
});
console.log(tes);
node_modules/@solana/web3.js/src/connection.ts:5566
throw new SolanaJSONRPCError(
^
SolanaJSONRPCError: failed to get signatures for address: Internal error
at Connection.getSignaturesForAddress (node_modules/@solana/web3.js/src/connection.ts:5566:13)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async main (test-get-signatures.ts:16:13) {
code: -32603,
data: 'Failed to fetch signatures for address from remote: RPC response error -32020: Transaction NiJozRcKaSn3nGQa7jTAo9qbVKb8JC6rHXJyTTEGnXfgJzVisTuDYxELdBUxStjxZj9N19wt3fMA8xS6H6acJLi not found; '
}
Node.js v25.9.0
[
{
signature: '3Xh96TNAuRGqrm2iLLRDMc3gvswrmFxPGHAwB5AAe6CxeFxnSes434JNV6HJrQCpsCdb7WJb6fofGNzGCdhqrgwj',
slot: 456434895,
err: null,
memo: null,
blockTime: null,
confirmationStatus: 'finalized'
},
{
signature: '4uPJ32RcveaheyWXVuZ2ShFo9KExEtfAMYLr67P43hAKpK19W9V4rctkzR56trkABFt7F8DnyE76GkJjnnuA1GAJ',
slot: 456431040,
err: null,
memo: null,
blockTime: null,
confirmationStatus: 'finalized'
},
{
signature: 'NiJozRcKaSn3nGQa7jTAo9qbVKb8JC6rHXJyTTEGnXfgJzVisTuDYxELdBUxStjxZj9N19wt3fMA8xS6H6acJLi',
slot: 456431011,
err: null,
memo: null,
blockTime: null,
confirmationStatus: 'finalized'
},
{
signature: '2EEp3ifkaz9TxP2KyoQqt2f1ogWdSbXiuLikxLoj3zqCuWFKstH7cEXxGP6zANobXyXfDi4ft8XRiahEnq2pbcCz',
slot: 456430166,
err: null,
memo: null,
blockTime: null,
confirmationStatus: 'finalized'
}
]
input:
output:
output(comment
before):