Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
8525bdb5
Unverified
Commit
8525bdb5
authored
Jul 27, 2023
by
Annie Ke
Committed by
GitHub
Jul 27, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: format variables
parent
2f39cf7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
README.md
packages/fee-estimation/README.md
+11
-11
No files found.
packages/fee-estimation/README.md
View file @
8525bdb5
...
...
@@ -76,27 +76,27 @@ estimateFees(options: OracleTransactionParameters<TAbi, TFunctionName> & GasPric
`options`
: An object with the following fields:
-
abi
: A JSON object ABI of contract.
-
`abi`
: A JSON object ABI of contract.
-
account
: A hex address of the account making the transaction.
-
`account`
: A hex address of the account making the transaction.
-
args
: Array of arguments to contract function. The types of this will be inferred from the ABI
-
`args`
: Array of arguments to contract function. The types of this will be inferred from the ABI
-
blockNumber
(optional): A BigInt representing the block number at which you want to estimate the fees.
-
`blockNumber`
(optional): A BigInt representing the block number at which you want to estimate the fees.
-
chainId
: An integer chain id.
-
`chainId`
: An integer chain id.
-
client
: An object with rpcUrl field, or an instance of a Viem PublicClient.
-
`client`
: An object with rpcUrl field, or an instance of a Viem PublicClient.
-
functionName
: A string representing the function name for the transaction call data.
-
`functionName`
: A string representing the function name for the transaction call data.
-
maxFeePerGas
(optional): A BigInt representing the maximum fee per gas that the user is willing to pay.
-
`maxFeePerGas`
(optional): A BigInt representing the maximum fee per gas that the user is willing to pay.
-
maxPriorityFeePerGas
(optional): A BigInt representing the maximum priority fee per gas that the user is willing to pay.
-
`maxPriorityFeePerGas`
(optional): A BigInt representing the maximum priority fee per gas that the user is willing to pay.
-
to
: A hex address of the recipient of the transaction.
-
`to`
: A hex address of the recipient of the transaction.
-
value
(optional): A BigInt representing the value in wei sent along with the transaction.
-
`value`
(optional): A BigInt representing the value in wei sent along with the transaction.
#### Returns
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment