Skip to main content

Frequently Asked Questions

How do I generate my BENJI authentication keys?

Use the provided key-generation script in the examples folder to create the ES256 JWK pair used for onboarding and authentication. The public key is shared externally, and the private key stays local.

How do I know whether my deposit actually completed?

After running the end-to-end deposit flow, capture the depositId, generate a fresh BENJI_ACCESS_TOKEN, and query the deposit endpoint again. The most important field is blockchainStatus, and COMPLETE is the terminal success state. You can read more about this process in statusCheck.

What should I do if a GraphQL request fails?

Start by checking whether your environment variables are set correctly, whether your bearer token is valid, and whether you are using the correct IDs for the wallet, product, or deposit. Then inspect the exact error response and compare it against the documented common errors.