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
pimlicoUrlin gasless modes, the SDK uses the default Sepolia sponsor URL whentestnet: true - you can still override
rpcUrl,subgraphUrl,builderApiUrl, orpimlicoUrlmanually - make sure the trader account, approvals, and delegation setup all happen on the same network