We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
paymasterAddress
relay-kit
paymasterAddress in the Relay Kit is currently required by the types. But it is not actually required if you want to use sponsored Transactions.
update the relay-kit types:
export type SponsoredPaymasterOption = { isSponsored: true paymasterUrl: string sponsorshipPolicyId?: string } export type ERC20PaymasterOption = { isSponsored: false paymasterAddress: string paymasterTokenAddress: string amountToApprove?: bigint } export type PaymasterOptions = SponsoredPaymasterOption | ERC20PaymasterOption | undefined
The text was updated successfully, but these errors were encountered:
Safe4337Pack
Successfully merging a pull request may close this issue.
Context / issue
paymasterAddress
in the Relay Kit is currently required by the types. But it is not actually required if you want to use sponsored Transactions.Proposed solution
update the
relay-kit
types:The text was updated successfully, but these errors were encountered: