Creating a server base Web3Auth Account Abstraction(SMS API)

Hey Guys, i want to ask i am created NodeJS-based code. And I want to do the SMS authentication and transaction for gasless using APIs instead of hooks. can you guys guide me where i can find the apis to perform all of this

Hi Muzammil,

Thank you for your question! Here’s a summary of what you’re looking for, along with some guidance:


Summary for Support Team

  • SDK/Platform: Web3Auth Plug n Play (PnP), Node.js (server-side)
  • Feature Requested: Server-based SMS authentication and gasless transaction (Account Abstraction) via APIs, not frontend hooks.
  • Current Approach: NodeJS backend, wants to trigger SMS auth and execute transactions using APIs.

Guidance & Next Steps

Current Web3Auth Capabilities

  • The Plug n Play (PnP) SDKs, including SMS passwordless login, are designed to run in browser environments (frontend), not directly from Node.js or backend servers.
  • The SMS authentication flow relies on user interaction with the frontend modal and is not exposed as a direct backend API.

Account Abstraction (Gasless Transactions)

  • Web3Auth supports account abstraction (Smart Accounts) via its frontend SDKs.
  • Gasless transactions typically require integration with a relayer or bundler service, which is also managed on the frontend.

API/Backend Usage

  • Currently, Web3Auth does not provide public REST APIs to trigger SMS authentication or complete the login flow entirely from a backend (Node.js) environment.
  • All authentication flows (including SMS) require user interaction on the client side via the modal or composables/hooks.

Documentation Links


What Can You Do?

  • If you need to trigger SMS login and handle smart account transactions, you’ll need to use the Web3Auth frontend SDK (React, Vue, etc.) and communicate with your backend as needed after authentication.
  • If you are looking for a fully backend-driven authentication flow (e.g., for custodial wallets or server-side wallet management), you might want to explore Web3Auth Core Kit or reach out to Web3Auth sales/support for enterprise solutions.

Feature Request

If you specifically need a backend API for SMS authentication and account abstraction, please let us know your use case. This will help the product team evaluate the request for future releases.


Let us know if you need further clarification or if you have a specific use case in mind!

Note: This response was generated by an AI bot and may require further verification. The Web3Auth support team has tracked this issue and will be responding as soon as possible.

Additionally, we would recommend you to join our biweekly Office Hours to get this resolved even faster. Web3Auth Developer Office Hours