SDK usage
The default is applied when you create a gasless client without a custompimlicoUrl.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Default Pimlico-compatible sponsorship endpoints used by SDK gasless modes.
https://builder.prod.bedrock.ostium.io/v1/pimlico/sponsor?chainId=42161
https://builder.prod.bedrock.ostium.io/v1/pimlico/sponsor?chainId=421614
pimlicoUrl.
const client = await OstiumClient.createDelegatedAndGasless({
delegatePrivateKey: process.env.DELEGATE_PRIVATE_KEY as `0x${string}`,
traderAddress: '0xTraderAddress',
});
const client = await OstiumClient.createSelfAndGasless({
traderPrivateKey: process.env.TRADER_PRIVATE_KEY as `0x${string}`,
pimlicoUrl: 'https://your-bundler.example.com',
});