Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.

feat: create transaction fee estimator #122

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

feat: create transaction fee estimator #122

wants to merge 1 commit into from

Conversation

mriynyk
Copy link

@mriynyk mriynyk commented Dec 17, 2021

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants