Skip to content

No way to verify a transaction was gas-sponsored vs self-paid #267

Description

@jayeshbhole

Summary

There's no way to confirm from the SDK whether a transaction was gas-sponsored (paid by the paymaster) or self-paid. Neither <SignatureRequest> nor the transaction receipt exposes a sponsorship flag.

Details

With a dashboard gas policy enabled, sends and deposits are sponsored, but nothing in the SDK surface reports that. The receipt looks the same whether the userOp was sponsored or not, so an app can't show the user "this was free" or verify that sponsorship actually applied.

Ask

Expose sponsorship info from the SDK — e.g. a flag on the send result / receipt, or a hook reporting the paymaster used and the gas the user actually paid (expected 0 when sponsored).

Environment

@zerodev/wallet-react@0.0.1-alpha.26, mode 7702, arbitrumSepolia, dashboard gas policy enabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions