DEV Community

Luke Miles
Luke Miles

Posted on

3 3

getSignaturesForAddress null on localnet

If you're using solana-test-validator to test your smart contracts on solana you may have noticed that getSignaturesForAddress() returns false null values after a few minutes. It turns out there is a command-line argument on the validator:

solana-test-validator --help
    --limit-ledger-size <SHRED_COUNT>
        Keep this amount of shreds in root slots. [default: 10000]
Enter fullscreen mode Exit fullscreen mode

Just increase that value! Or use devnet. And check your RPC's value too.

Top comments (0)

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more