Network fee units for each blockchain Finrock supports, plus how to fetch current fee rates and estimate a transaction fee before you submit it.
Network fees are the on-chain costs paid to miners or validators to process a transaction. This page covers how fee units differ by blockchain type, how to query current fee rates, and how to estimate the fee for a specific transaction before you submit it.Finrock exposes two endpoints for working with network fees: one to retrieve the current fee rates for any supported asset, and one to estimate the total fee for a specific transaction before you submit it.
Fee Rate Units by Blockchain
Every blockchain family uses a different unit to express fee rates. Provide values in the correct unit when calling fee-related endpoints:
Blockchain
Example Assets
Fee Rate Unit
UTXO
BTC, LTC, DASH, DOGE, BCH
Sat/Byte
EVM
ETH, BSC, POL, BASE, ARB, AVAX
GWei
Tron
TRX
Sun
Ripple
XRP
Drop
Stellar
XLM
Stroop
Cardano
ADA
Lovelace
Solana
SOL
Lamport
Get Current Fee Rates
Use the fee rates endpoint to retrieve the current network fee rates for a given asset. This is useful for building a fee selection UI or for pre-flight checks before submitting high-value transactions.
GET https://api.finrock.io/dac/v1/network-fee-rates/{asset}
Replace {asset} with the asset ticker (e.g., BTC, USDT_ETH). This endpoint requires authentication.
Before submitting a transaction, you can call the fee estimate endpoint to calculate the total network fee for a given asset, amount (required for UTXO chains), and your chosen fee rate.
POST https://api.finrock.io/dac/v1/estimate-fee
Request body parameters:
string
required
The asset ticker as returned by the /assets endpoint (e.g., BTC, USDT_ETH).
float
required
The fee rate in the unit appropriate for the asset’s blockchain (see the table above).
double
The transfer amount. Required for UTXO-based chains (BTC, LTC, DASH, DOGE, BCH) because the fee depends on transaction size, which varies with the number of inputs and the amount.
For UTXO chains, always include the amount field when calling estimate-fee. The fee depends on how many unspent outputs (UTXOs) the platform needs to consolidate to fund the transfer — omitting the amount will result in an inaccurate estimate.
Was this page helpful?
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Finrock","colors":{"primary":"#F6921A","light":"#040404"},"logo":{"light":"https://mintcdn.com/finrock/tGL-zbd_TCbsIV_S/images/Finrocklogo.png?fit=max\u0026auto=format\u0026n=tGL-zbd_TCbsIV_S\u0026q=85\u0026s=5ebb1db67970f798309dd7291873f2b7","dark":"https://mintcdn.com/finrock/tGL-zbd_TCbsIV_S/images/2e3558e0.png?fit=max\u0026auto=format\u0026n=tGL-zbd_TCbsIV_S\u0026q=85\u0026s=dd03ef47767e1348cb231a65d5d3d4f3","href":"https://finrock.io"},"favicon":{"light":"https://mintcdn.com/finrock/tGL-zbd_TCbsIV_S/images/icon-1024-center.jpg?fit=max\u0026auto=format\u0026n=tGL-zbd_TCbsIV_S\u0026q=85\u0026s=40246637b1cb4d6e35d94212b458515e","dark":"https://mintcdn.com/finrock/tGL-zbd_TCbsIV_S/images/icon-1024-center.jpg?fit=max\u0026auto=format\u0026n=tGL-zbd_TCbsIV_S\u0026q=85\u0026s=40246637b1cb4d6e35d94212b458515e"},"api":{"playground":{"display":"interactive"},"mdx":{"auth":{"method":"key","name":"x-api-key"},"server":"https://api.finrock.io"}},"appearance":{"default":"light","strict":true},"navbar":{"primary":{"type":"github","href":"https://github.com/gofinrock"}},"icons":{"library":"lucide"},"integrations":{"gtm":{"tagId":"GTM-PZ4JW889"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"finrock","hasAudioNarration":false,"actualSubdomain":"finrock","customDomains":["apidocs.finrock.io"],"gitSource":{"type":"github","owner":"mintlify-community","repo":"docs-finrock-6e1ffd21","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6af5be0b5cae6d002f818697","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"API Reference","count":88},{"language":"default","tag":"Documentation","count":28},{"language":"default","tag":"Guides","count":13},{"language":"default","tag":"Wallets \u0026 Addresses","count":7},{"language":"default","tag":"Overview","count":6},{"language":"default","tag":"Core Concepts","count":5},{"language":"default","tag":"Platform Reference","count":5},{"language":"default","tag":"AML","count":4},{"language":"default","tag":"Exchanges","count":4},{"language":"default","tag":"Gas Fee","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":""}],"page":{"pagePath":"reference/gas-fees","slug":"/reference/gas-fees","pageMetadata":{"title":"Gas Fees","sidebarTitle":"Gas Fees","description":"Network fee units for each blockchain Finrock supports, plus how to fetch current fee rates and estimate a transaction fee before you submit it.","icon":{"name":"fuel","library":"lucide"},"href":"/reference/gas-fees"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Network fee units for each blockchain Finrock supports, plus how to fetch current fee rates and estimate a transaction fee before you submit it.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,ParamField,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Network fees are the on-chain costs paid to miners or validators to process a transaction. This page covers how fee units differ by blockchain type, how to query current fee rates, and how to estimate the fee for a specific transaction before you submit it.`}),`\n`,_jsx(_components.p,{children:`Finrock exposes two endpoints for working with network fees: one to retrieve the current fee rates for any supported asset, and one to estimate the total fee for a specific transaction before you submit it.`}),`\n`,_jsx(Heading,{level:`2`,id:`fee-rate-units-by-blockchain`,children:`Fee Rate Units by Blockchain`}),`\n`,_jsx(_components.p,{children:`Every blockchain family uses a different unit to express fee rates. Provide values in the correct unit when calling fee-related endpoints:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Blockchain`}),_jsx(_components.th,{children:`Example Assets`}),_jsx(_components.th,{children:`Fee Rate Unit`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`UTXO`}),_jsx(_components.td,{children:`BTC, LTC, DASH, DOGE, BCH`}),_jsx(_components.td,{children:`Sat/Byte`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`EVM`}),_jsx(_components.td,{children:`ETH, BSC, POL, BASE, ARB, AVAX`}),_jsx(_components.td,{children:`GWei`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Tron`}),_jsx(_components.td,{children:`TRX`}),_jsx(_components.td,{children:`Sun`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Ripple`}),_jsx(_components.td,{children:`XRP`}),_jsx(_components.td,{children:`Drop`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Stellar`}),_jsx(_components.td,{children:`XLM`}),_jsx(_components.td,{children:`Stroop`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Cardano`}),_jsx(_components.td,{children:`ADA`}),_jsx(_components.td,{children:`Lovelace`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Solana`}),_jsx(_components.td,{children:`SOL`}),_jsx(_components.td,{children:`Lamport`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`get-current-fee-rates`,children:`Get Current Fee Rates`}),`\n`,_jsx(_components.p,{children:`Use the fee rates endpoint to retrieve the current network fee rates for a given asset. This is useful for building a fee selection UI or for pre-flight checks before submitting high-value transactions.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`GET https://api.finrock.io/dac/v1/network-fee-rates/{asset}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Replace `,_jsx(_components.code,{children:`{asset}`}),` with the asset ticker (e.g., `,_jsx(_components.code,{children:`BTC`}),`, `,_jsx(_components.code,{children:`USDT_ETH`}),`). This endpoint requires authentication.`]}),`\n`,_jsx(CodeGroup,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.finrock.io/dac/v1/network-fee-rates/BTC`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Token {JWT}'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'accept: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'x-api-key: YOUR_API_KEY'`})]}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`2`,id:`estimate-transaction-fee`,children:`Estimate Transaction Fee`}),`\n`,_jsx(_components.p,{children:`Before submitting a transaction, you can call the fee estimate endpoint to calculate the total network fee for a given asset, amount (required for UTXO chains), and your chosen fee rate.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`POST https://api.finrock.io/dac/v1/estimate-fee`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Request body parameters:`})}),`\n`,_jsx(ParamField,{body:`asset`,type:`string`,required:true,id:`param-asset`,children:_jsxs(_components.p,{children:[`The asset ticker as returned by the `,_jsx(_components.code,{children:`/assets`}),` endpoint (e.g., `,_jsx(_components.code,{children:`BTC`}),`, `,_jsx(_components.code,{children:`USDT_ETH`}),`).`]})}),`\n`,_jsx(ParamField,{body:`fee_rate`,type:`float`,required:true,id:`param-fee-rate`,children:_jsx(_components.p,{children:`The fee rate in the unit appropriate for the asset’s blockchain (see the table above).`})}),`\n`,_jsx(ParamField,{body:`amount`,type:`double`,id:`param-amount`,children:_jsx(_components.p,{children:`The transfer amount. Required for UTXO-based chains (BTC, LTC, DASH, DOGE, BCH) because the fee depends on transaction size, which varies with the number of inputs and the amount.`})}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL (BTC example)`,numberOfLines:`11`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.finrock.io/dac/v1/estimate-fee`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Token {JWT}'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'accept: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'content-type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'x-api-key: YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"asset\": \"BTC\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"amount\": 0.5,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"fee_rate\": 25`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`cURL (ETH example)`,numberOfLines:`10`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.finrock.io/dac/v1/estimate-fee`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Token {JWT}'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'accept: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'content-type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'x-api-key: YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"asset\": \"ETH\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"fee_rate\": 30`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`For UTXO chains, always include the `,_jsx(_components.code,{children:`amount`}),` field when calling `,_jsx(_components.code,{children:`estimate-fee`}),`. The fee depends on how many unspent outputs (UTXOs) the platform needs to consolidate to fund the transfer — omitting the amount will result in an inaccurate estimate.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Gas Fees","sidebarTitle":"Gas Fees","description":"Network fee units for each blockchain Finrock supports, plus how to fetch current fee rates and estimate a transaction fee before you submit it.","icon":{"name":"fuel","library":"lucide"},"href":"/reference/gas-fees"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Fee Rate Units by Blockchain","slug":"fee-rate-units-by-blockchain","depth":2,"children":[]},{"title":"Get Current Fee Rates","slug":"get-current-fee-rates","depth":2,"children":[]},{"title":"Estimate Transaction Fee","slug":"estimate-transaction-fee","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"finrock","siteName":"Finrock","title":"Gas Fees - Finrock","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-07T11:27:27.346Z","originalFileLocation":"reference/gas-fees.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Network fee units for each blockchain Finrock supports, plus how to fetch current fee rates and estimate a transaction fee before you submit it.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Finrock\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/finrock/MCcXnkpjZeC08COI/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/finrock/MCcXnkpjZeC08COI/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/finrock/MCcXnkpjZeC08COI/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/finrock/MCcXnkpjZeC08COI/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/finrock/MCcXnkpjZeC08COI/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/finrock/MCcXnkpjZeC08COI/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/finrock/MCcXnkpjZeC08COI/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/finrock/MCcXnkpjZeC08COI/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/finrock/MCcXnkpjZeC08COI/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Gas Fees - Finrock\">\u003cmeta data-mint-head property=\"og:description\" content=\"Network fee units for each blockchain Finrock supports, plus how to fetch current fee rates and estimate a transaction fee before you submit it.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Finrock\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://apidocs.finrock.io/reference/gas-fees\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://finrock.mintlify.site/_mintlify/api/og/v2?division=Guides\u0026amp;title=Gas+Fees\u0026amp;description=Network+fee+units+for+each+blockchain+Finrock+supports%2C+plus+how+to+fetch+current+fee+rates+and+estimate+a+transaction+fee+before+you+submit+it.\u0026amp;theme=303f00c977b1c5bb32286452\u0026amp;signature=d1ccbbf424840adaccf7fb50770d9ab30d03cbfe76ed5d2ab65e4c9a80d48b0e\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Gas Fees - Finrock\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Network fee units for each blockchain Finrock supports, plus how to fetch current fee rates and estimate a transaction fee before you submit it.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://finrock.mintlify.site/_mintlify/api/og/v2?division=Guides\u0026amp;title=Gas+Fees\u0026amp;description=Network+fee+units+for+each+blockchain+Finrock+supports%2C+plus+how+to+fetch+current+fee+rates+and+estimate+a+transaction+fee+before+you+submit+it.\u0026amp;theme=303f00c977b1c5bb32286452\u0026amp;signature=d1ccbbf424840adaccf7fb50770d9ab30d03cbfe76ed5d2ab65e4c9a80d48b0e\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/finrock/MCcXnkpjZeC08COI/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Finrock\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#F6921A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://apidocs.finrock.io/reference/gas-fees\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/reference/gas-fees.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://apidocs.finrock.io/#organization\",\"name\":\"Finrock\",\"url\":\"https://apidocs.finrock.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/finrock/tGL-zbd_TCbsIV_S/images/Finrocklogo.png?fit=max\u0026auto=format\u0026n=tGL-zbd_TCbsIV_S\u0026q=85\u0026s=5ebb1db67970f798309dd7291873f2b7\"}},{\"@type\":\"WebSite\",\"@id\":\"https://apidocs.finrock.io#website\",\"name\":\"Finrock\",\"url\":\"https://apidocs.finrock.io\",\"publisher\":{\"@id\":\"https://apidocs.finrock.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://apidocs.finrock.io/reference/gas-fees#webpage\",\"url\":\"https://apidocs.finrock.io/reference/gas-fees\",\"name\":\"Gas Fees\",\"description\":\"Network fee units for each blockchain Finrock supports, plus how to fetch current fee rates and estimate a transaction fee before you submit it.\",\"dateModified\":\"2026-10-07T11:27:27.346Z\",\"isPartOf\":{\"@id\":\"https://apidocs.finrock.io#website\"},\"breadcrumb\":{\"@id\":\"https://apidocs.finrock.io/reference/gas-fees#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://apidocs.finrock.io/reference/gas-fees#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Guides\",\"item\":\"https://apidocs.finrock.io/quickstart\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Gas Fees\",\"item\":\"https://apidocs.finrock.io/reference/gas-fees\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://apidocs.finrock.io/reference/gas-fees#article\",\"headline\":\"Gas Fees\",\"name\":\"Gas Fees\",\"description\":\"Network fee units for each blockchain Finrock supports, plus how to fetch current fee rates and estimate a transaction fee before you submit it.\",\"url\":\"https://apidocs.finrock.io/reference/gas-fees\",\"mainEntityOfPage\":{\"@id\":\"https://apidocs.finrock.io/reference/gas-fees#webpage\"},\"dateModified\":\"2026-10-07T11:27:27.346Z\",\"publisher\":{\"@id\":\"https://apidocs.finrock.io/#organization\"},\"isPartOf\":{\"@id\":\"https://apidocs.finrock.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Finrock\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Finrock\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/reference/gas-fees.md","siteName":"Finrock","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Get Started","pages":[{"title":"Finrock's non-custodial wallets","sidebarTitle":"Introduction","icon":{"name":"house","library":"lucide"},"href":""},{"title":"What are MPC Wallets?","sidebarTitle":"MPC Wallets","icon":{"name":"shield-check","library":"lucide"},"href":"/concepts/mpc-wallets"},{"title":"Key Features","sidebarTitle":"Key Features","icon":{"name":"sparkles","library":"lucide"},"href":"/concepts/key-features"},{"title":"Use Cases","sidebarTitle":"Use Cases","icon":{"name":"briefcase","library":"lucide"},"href":"/concepts/use-cases"}]},{"group":"Core Concepts","pages":[{"title":"Wallet Types","sidebarTitle":"Wallet Types","icon":{"name":"wallet","library":"lucide"},"href":"/concepts/wallet-types"},{"title":"Sub-Accounts: HD Wallets","sidebarTitle":"Sub-Accounts","icon":{"name":"network","library":"lucide"},"href":"/concepts/sub-accounts"},{"title":"Gas Tanks","sidebarTitle":"Gas Tanks","icon":{"name":"fuel","library":"lucide"},"href":"/concepts/gas-tanks"},{"title":"Omnibus vs Isolated Addresses","sidebarTitle":"Omnibus Wallets","icon":{"name":"layers","library":"lucide"},"href":"/concepts/omnibus-wallets"},{"title":"Prepaid Fee","sidebarTitle":"Prepaid Fee","icon":{"name":"receipt","library":"lucide"},"href":"/concepts/prepaid-fee"}]},{"group":"Guides","pages":[{"title":"API Access Key","sidebarTitle":"API Access Key","icon":{"name":"key-round","library":"lucide"},"href":"/quickstart"},{"title":"Whitelist IPs for API Keys","sidebarTitle":"Whitelist IPs","icon":{"name":"list-checks","library":"lucide"},"href":"/guides/whitelist-ips"},{"title":"Cloud Signer (KMS)","sidebarTitle":"Cloud Signer (KMS)","icon":{"name":"server-cog","library":"lucide"},"href":"/guides/cloud-signer"},{"title":"Create Wallets and Deposit Addresses","sidebarTitle":"Wallets \u0026 Addresses","icon":{"name":"wallet","library":"lucide"},"href":"/guides/create-wallet-address"},{"title":"Send Crypto Transactions with the Finrock API","sidebarTitle":"Send Transaction","icon":{"name":"send","library":"lucide"},"href":"/guides/send-transaction"},{"title":"AML Compliance Screening","sidebarTitle":"AML Compliance","icon":{"name":"scan-search","library":"lucide"},"href":"/guides/aml-compliance"},{"title":"Ad-Hoc Addresses","sidebarTitle":"Ad-Hoc Addresses","icon":{"name":"map-pin","library":"lucide"},"href":"/guides/ad-hoc-addresses"},{"title":"Whitelist Withdrawal Addresses","sidebarTitle":"Whitelist Addresses","icon":{"name":"list-checks","library":"lucide"},"href":"/guides/whitelist-addresses"},{"title":"Control Withdrawals with Spending Rules","sidebarTitle":"Spending Rules","icon":{"name":"shield-check","library":"lucide"},"href":"/guides/spending-rules"},{"title":"Contract Addresses","sidebarTitle":"Contract Addresses","description":"Why Finrock blocks withdrawals to smart contract addresses by default, covering security, gas and compliance, and how to change the setting.","icon":{"name":"file-code","library":"lucide"},"href":"/guides/contract-addresses"},{"title":"Gas Fees","sidebarTitle":"Gas Fees","icon":{"name":"fuel","library":"lucide"},"href":"/reference/gas-fees"},{"title":"Embed the Finrock Payment Widget","sidebarTitle":"Payment Widget","description":"Add a crypto payment checkout to your website in minutes using the Finrock payment widget — a pre-built JavaScript UI that handles the full payment flow.","icon":{"name":"credit-card","library":"lucide"},"href":"/guides/payment-widget"},{"title":"Accept Payments with Invoices","sidebarTitle":"Invoicing","icon":{"name":"receipt","library":"lucide"},"href":"/guides/invoicing"}]},{"group":"AI Agents","pages":[{"title":"Connect Claude to Finrock","sidebarTitle":"Connect Claude","icon":{"name":"bot","library":"lucide"},"href":"/guides/ai/connect-claude"}]},{"group":"Platform Reference","pages":[{"title":"Transaction Statuses","sidebarTitle":"Transaction Statuses","icon":{"name":"activity","library":"lucide"},"href":"/reference/transaction-statuses"},{"title":"Transaction Sources \u0026 Destinations","sidebarTitle":"Transaction Types","icon":{"name":"arrow-left-right","library":"lucide"},"href":"/reference/transaction-types"},{"title":"Spending Rule Values","sidebarTitle":"Spending Rule Values","icon":{"name":"list-checks","library":"lucide"},"href":"/reference/spending-rule-values"},{"title":"Supported Blockchain \u0026 Coins","sidebarTitle":"Supported Assets","icon":{"name":"coins","library":"lucide"},"href":"/reference/supported-assets"},{"title":"API Rate Limits","sidebarTitle":"API Rate Limits","icon":{"name":"gauge","library":"lucide"},"href":"/reference/api-rate-limits"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/overview"}]}]},"basePath":"","title":"Gas Fees - Finrock","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":[],"chunks":[]}