Skip to content
New issue

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

feat: create transaction fee estimator #122

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

Vladimir-Beliy
Copy link

issues/115

  • create transaction fee estimator

I think in the future we should use this method

b2kdaman
b2kdaman previously approved these changes Dec 17, 2021
signers?: Keypair[];
}

type EstimateFee = (params: Params) => Promise<number>;
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd use BN for the returned transaction fee
And please leave a comment that you return fee in lamports

Copy link
Author

Choose a reason for hiding this comment

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

@kurpav
Copy link
Contributor

kurpav commented Dec 28, 2021

@Vladimir-Beliy please export this action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants