Skip to content

Add estimateErc20PaymasterCost#426

Merged
plusminushalf merged 9 commits into
mainfrom
estimateErc20PaymasterCost
Jul 10, 2025
Merged

Add estimateErc20PaymasterCost#426
plusminushalf merged 9 commits into
mainfrom
estimateErc20PaymasterCost

Conversation

@plusminushalf

Copy link
Copy Markdown
Member

No description provided.

@changeset-bot

changeset-bot Bot commented Jul 10, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: ba0e2bd

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
permissionless Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

* - Docs: https://docs.pimlico.io/permissionless/reference/pimlico-bundler-actions/EstimateErc20PaymasterCost
*
* @param client that you created using viem's createClient whose transport url is pointing to the Pimlico's bundler.
* @returns slow, standard & fast values for maxFeePerGas & maxPriorityFeePerGas

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this comment can be removed

*/
export type EstimateErc20PaymasterCostReturnType = {
costInToken: bigint
costInUsd: bigint

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wondering if it make more sense to have this as type number

@github-actions

github-actions Bot commented Jul 10, 2025

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size
permissionless (esm) 50.89 KB (0%)
permissionless (cjs) 263.49 KB (0%)

@plusminushalf
plusminushalf merged commit 59ca48f into main Jul 10, 2025
3 of 4 checks passed
@plusminushalf
plusminushalf deleted the estimateErc20PaymasterCost branch July 10, 2025 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants