I created a transfer request link with reference parameter for solana pay.


After transaction is completed, i run getSignaturesForAddress method with my reference key in web3.js, but it return 0 signature.

How can check signature after transaction is completed?

1 Answer 1


You can use findReference from @solana/pay which will make this a bit easier: https://docs.solanapay.com/api/core/function/findReference

But fundamentally you're doing the right thing, you need to look for transactions that include your reference key.

In terms of why it's not working, are you using Phantom wallet by any chance to scan the code and send the transaction? There's currently a bug in their transfer request handling where the reference isn't being included as part of the transaction so this logic isn't working. Try using another wallet and see if that fixes it for you.

You can verify if the transaction includes the reference key you expect too, if you look it up in explorer, for example by searching the address of your wallet that's making the payment. That's the signer of the transaction so it'll definitely be there. If your reference is not included then that's a bug in the wallet.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.