Skip to main content
All client modes support testnet: true. When enabled, the SDK switches to Arbitrum Sepolia defaults for:
  • contracts
  • subgraph endpoint
  • builder API endpoint
  • default Pimlico sponsor URL

Example

Notes

  • the default testnet subgraph endpoint is https://builder.prod.bedrock.ostium.io/v1/subgraph/gn?chainId=421614, the same builder API as mainnet with the Sepolia chain id
  • if you omit pimlicoUrl in gasless modes, the SDK uses the default Sepolia sponsor URL when testnet: true
  • you can still override rpcUrl, subgraphUrl, builderApiUrl, or pimlicoUrl manually
  • make sure the trader account, approvals, and delegation setup all happen on the same network
See Client Configuration for the full list of parameters every mode accepts.