{"modulePath":"github.com/stackup-wallet/stackup-paymaster","version":"v0.0.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package client\n\n## Types\n\n```go\ntype Client struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc New(\n\tsigner *signer.EOA,\n\trpc *rpc.Client,\n\teth *ethclient.Client,\n\tchain *big.Int,\n\tov *gas.Overhead,\n\tep2pms map[common.Address][]common.Address,\n\tl logr.Logger,\n) *Client\n```\n\n```go\nfunc (c *Client) Accounts(ep string) ([]string, error)\n```\n\n```go\nfunc (c *Client) SponsorUserOperation(\n\top map[string]any,\n\tep string,\n\tctx map[string]any,\n) (*handlers.SponsorUserOperationResponse, error)\n```\n\n```go\ntype RpcAdapter struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewRpcAdapter(c *Client) *RpcAdapter\n```\n\n```go\nfunc (r *RpcAdapter) Pm_accounts(ep string) ([]string, error)\n```\n\n```go\nfunc (r *RpcAdapter) Pm_sponsorUserOperation(op map[string]any,\n\tep string,\n\tctx map[string]any) (*handlers.SponsorUserOperationResponse, error)\n```\n\n","path":"github.com/stackup-wallet/stackup-paymaster/pkg/client","name":"client","synopsis":"","isRedistributable":true}
