Call an internal call with specified gas token payment_asset: The token to be used for paying gas fees. This is exchanged in OnChargeTransaction::withdraw_fee() max_payment: The limit of how many tokens will be used to perform the exchange call: The inner call to be performed after the exchangeNamespace
api.tx.feeProxy.callWithFeePreferences
Type
function callWithFeePreferences( payment_asset: u32, max_payment: u128, call: Call)
undefined## Events
CallWithFeePreferences
A call was made with specified payment assetNamespace
api.events.feeProxy.CallWithFeePreferences
Type
type CallWithFeePreferences = { who: SeedPrimitivesSignatureAccountId20, payment_asset: u32, max_payment: u128}
Errors
FeeTokenIsGasToken
The selected fee token is equal to the native gas tokenNamespace
api.errors.feeProxy.FeeTokenIsGasToken
NestedFeePreferenceCall
The inner call is a fee preference callNamespace
api.errors.feeProxy.NestedFeePreferenceCall
Constants
feeAssetId
The native token asset Id (managed by pallet-balances)Namespace
api.consts.feeProxy.feeAssetId
Type
type feeAssetId = u32
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"The Root Network","colors":{"primary":"#2E9ACD","light":"#2E9ACD","dark":"#2E9ACD"},"logo":{"light":"https://mintcdn.com/therootnetwork/xSexgVubiJ1uxjZZ/logo/light.svg?fit=max\u0026auto=format\u0026n=xSexgVubiJ1uxjZZ\u0026q=85\u0026s=f5b1f8efb6b8c489111f80d54204d428","dark":"https://mintcdn.com/therootnetwork/xSexgVubiJ1uxjZZ/logo/dark.svg?fit=max\u0026auto=format\u0026n=xSexgVubiJ1uxjZZ\u0026q=85\u0026s=171ddecd8b85e5c78417c52c2c0a5fe1","href":"https://www.therootnetwork.com/"},"favicon":"/favicon.svg","background":{"decoration":"gradient"},"navbar":{"links":[{"label":"Start Building","href":"https://www.therootnetwork.com/build"},{"label":"Start Staking","href":"https://staking.therootnetwork.com/dashboard"}]},"footer":{"socials":{"x":"https://twitter.com/TheRootNetwork","discord":"https://discord.gg/TheRootNetwork","github":"https://github.com/futureversecom/"}},"seo":{"metatags":{"og:image":"https://mintlify.s3.us-west-1.amazonaws.com/therootnetwork/images/trn-hero.png","twitter:card":"summary_large_image","twitter:image":"https://mintlify.s3.us-west-1.amazonaws.com/therootnetwork/images/trn-hero.png","twitter:site:domain":"docs.therootnetwork.com","apple-mobile-web-app-title":"The Root Network Docs"}},"fonts":{"heading":{"family":"Objektivmk","weight":700,"source":"https://cdn.prod.website-files.com/64b459a54c6aeb0b60898fe2/64b459a54c6aeb0b60898fe7_ObjektivMk1-Bold.woff","format":"woff"}},"integrations":{"gtm":{"tagId":"G-0CL0BBNSZZ"},"intercom":{"appId":"x0kxkkip"}},"navigation":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.gg/TheRootNetwork"},{"anchor":"Blog","icon":"newspaper","href":"https://www.therootnetwork.com/blog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"therootnetwork","hasAudioNarration":false,"actualSubdomain":"therootnetwork","customDomains":["docs.therootnetwork.com"],"gitSource":{"type":"github","owner":"futureversecom","repo":"mintlify-trn-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae92485416fcb78afb0d944:success","clientVersion":"0.0.4142","searchFilterCounts":[{"language":"default","tag":"Build","count":75},{"language":"default","tag":"Native API","count":53},{"language":"default","tag":"API Reference","count":49},{"language":"default","tag":"Runtime Pallets","count":48},{"language":"default","tag":"Asset Register","count":20},{"language":"default","tag":"Learn","count":20},{"language":"default","tag":"Guides","count":10},{"language":"default","tag":"EVM API","count":10},{"language":"default","tag":"Features","count":9},{"language":"default","tag":"Runtime Precompiles","count":6}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":[],"page":{"pagePath":"build/substrate/api-reference/runtime-pallets/feeproxy","slug":"/build/substrate/api-reference/runtime-pallets/feeproxy","pageMetadata":{"title":"FeeProxy","description":null,"href":"/build/substrate/api-reference/runtime-pallets/feeproxy"},"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`,..._provideComponents(),...props.components},{CodeBlock,Heading}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`calls`,children:`Calls`}),`\n`,_jsx(Heading,{level:`3`,id:`callwithfeepreferences`,children:`callWithFeePreferences`}),`\n`,_jsx(_components.p,{children:`Call an internal call with specified gas token payment_asset: The token to be used for paying gas fees. This is exchanged in OnChargeTransaction::withdraw_fee() max_payment: The limit of how many tokens will be used to perform the exchange call: The inner call to be performed after the exchange`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Namespace`})}),`\n`,_jsx(CodeBlock,{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:`api.tx.feeProxy.callWithFeePreferences`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Type`})}),`\n`,_jsx(CodeBlock,{numberOfLines:`6`,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:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`function callWithFeePreferences(`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` payment_asset: u32,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` max_payment: u128,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` call: Call`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`undefined## Events`}),`\n`,_jsx(Heading,{level:`3`,id:`callwithfeepreferences-2`,children:`CallWithFeePreferences`}),`\n`,_jsx(_components.p,{children:`A call was made with specified payment asset`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Namespace`})}),`\n`,_jsx(CodeBlock,{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:`api.events.feeProxy.CallWithFeePreferences`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Type`})}),`\n`,_jsx(CodeBlock,{numberOfLines:`6`,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:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`type CallWithFeePreferences = {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` who: SeedPrimitivesSignatureAccountId20,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` payment_asset: u32,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` max_payment: u128`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsx(Heading,{level:`3`,id:`feetokenisgastoken`,children:`FeeTokenIsGasToken`}),`\n`,_jsx(_components.p,{children:`The selected fee token is equal to the native gas token`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Namespace`})}),`\n`,_jsx(CodeBlock,{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:`api.errors.feeProxy.FeeTokenIsGasToken`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`nestedfeepreferencecall`,children:`NestedFeePreferenceCall`}),`\n`,_jsx(_components.p,{children:`The inner call is a fee preference call`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Namespace`})}),`\n`,_jsx(CodeBlock,{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:`api.errors.feeProxy.NestedFeePreferenceCall`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`constants`,children:`Constants`}),`\n`,_jsx(Heading,{level:`3`,id:`feeassetid`,children:`feeAssetId`}),`\n`,_jsx(_components.p,{children:`The native token asset Id (managed by pallet-balances)`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Namespace`})}),`\n`,_jsx(CodeBlock,{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:`api.consts.feeProxy.feeAssetId`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Type`})}),`\n`,_jsx(CodeBlock,{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:`type feeAssetId = u32`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})}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":"FeeProxy","description":null,"href":"/build/substrate/api-reference/runtime-pallets/feeproxy"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Calls","slug":"calls","depth":2,"children":[{"title":"callWithFeePreferences","slug":"callwithfeepreferences","depth":3,"children":[]},{"title":"CallWithFeePreferences","slug":"callwithfeepreferences-2","depth":3,"children":[]}]},{"title":"Errors","slug":"errors","depth":2,"children":[{"title":"FeeTokenIsGasToken","slug":"feetokenisgastoken","depth":3,"children":[]},{"title":"NestedFeePreferenceCall","slug":"nestedfeepreferencecall","depth":3,"children":[]}]},{"title":"Constants","slug":"constants","depth":2,"children":[{"title":"feeAssetId","slug":"feeassetid","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"therootnetwork","siteName":"The Root Network","title":"FeeProxy - The Root Network","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-08-13T00:03:09.610Z","originalFileLocation":"build/substrate/api-reference/runtime-pallets/feeproxy.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;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=\"system\"}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=\"application-name\" content=\"The Root Network\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/therootnetwork/223_vrjvu1ggaoMi/_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/therootnetwork/223_vrjvu1ggaoMi/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/therootnetwork/223_vrjvu1ggaoMi/_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/therootnetwork/223_vrjvu1ggaoMi/_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/therootnetwork/223_vrjvu1ggaoMi/_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/therootnetwork/223_vrjvu1ggaoMi/_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/therootnetwork/223_vrjvu1ggaoMi/_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/therootnetwork/223_vrjvu1ggaoMi/_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/therootnetwork/223_vrjvu1ggaoMi/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"FeeProxy - The Root Network\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"The Root Network\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.therootnetwork.com/build/substrate/api-reference/runtime-pallets/feeproxy\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/therootnetwork/images/trn-hero.png\">\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=\"FeeProxy - The Root Network\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/therootnetwork/images/trn-hero.png\">\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/therootnetwork/223_vrjvu1ggaoMi/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"The Root Network Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2E9ACD\">\u003cmeta data-mint-head name=\"twitter:site:domain\" content=\"docs.therootnetwork.com\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.therootnetwork.com/build/substrate/api-reference/runtime-pallets/feeproxy\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/build/substrate/api-reference/runtime-pallets/feeproxy.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.therootnetwork.com/#organization\",\"name\":\"The Root Network\",\"url\":\"https://docs.therootnetwork.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/therootnetwork/xSexgVubiJ1uxjZZ/logo/light.svg?fit=max\u0026auto=format\u0026n=xSexgVubiJ1uxjZZ\u0026q=85\u0026s=f5b1f8efb6b8c489111f80d54204d428\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.therootnetwork.com#website\",\"name\":\"The Root Network\",\"url\":\"https://docs.therootnetwork.com\",\"publisher\":{\"@id\":\"https://docs.therootnetwork.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.therootnetwork.com/build/substrate/api-reference/runtime-pallets/feeproxy#webpage\",\"url\":\"https://docs.therootnetwork.com/build/substrate/api-reference/runtime-pallets/feeproxy\",\"name\":\"FeeProxy\",\"dateModified\":\"2025-08-13T00:03:09.610Z\",\"isPartOf\":{\"@id\":\"https://docs.therootnetwork.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.therootnetwork.com/build/substrate/api-reference/runtime-pallets/feeproxy#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.therootnetwork.com/build/substrate/api-reference/runtime-pallets/feeproxy#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Native API\",\"item\":\"https://docs.therootnetwork.com/build/substrate/api-package\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API Reference\",\"item\":\"https://docs.therootnetwork.com/build/substrate/api-reference/json-rpc\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Runtime Pallets\",\"item\":\"https://docs.therootnetwork.com/build/substrate/api-reference/runtime-pallets/assets\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"FeeProxy\",\"item\":\"https://docs.therootnetwork.com/build/substrate/api-reference/runtime-pallets/feeproxy\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.therootnetwork.com/build/substrate/api-reference/runtime-pallets/feeproxy#article\",\"headline\":\"FeeProxy\",\"name\":\"FeeProxy\",\"url\":\"https://docs.therootnetwork.com/build/substrate/api-reference/runtime-pallets/feeproxy\",\"mainEntityOfPage\":{\"@id\":\"https://docs.therootnetwork.com/build/substrate/api-reference/runtime-pallets/feeproxy#webpage\"},\"image\":\"https://mintlify.s3.us-west-1.amazonaws.com/therootnetwork/images/trn-hero.png\",\"dateModified\":\"2025-08-13T00:03:09.610Z\",\"publisher\":{\"@id\":\"https://docs.therootnetwork.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.therootnetwork.com#website\"}}]}\u003c/script>","agentPointerHref":"/build/substrate/api-reference/runtime-pallets/feeproxy.md","siteName":"The Root Network","nav":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.gg/TheRootNetwork"},{"anchor":"Blog","icon":"newspaper","href":"https://www.therootnetwork.com/blog"}]},"tabs":[{"tab":"Learn","pages":[{"title":"Learn","href":"/intro"}]},{"tab":"Build","groups":[{"group":"Build","pages":[{"title":"Getting Started","href":"/build/getting-started"},{"title":"Connecting to The Root Network","href":"/build/connecting-to-the-root-network"},{"title":"Test Faucet","url":"https://faucet.rootnet.cloud/","href":"/build/test-faucet"},{"title":"Curated Examples","url":"https://github.com/futureversecom/trn-examples","href":"/build/examples"},{"title":"Mainnet Rootscan Explorer","url":"https://rootscan.io/","href":"/build/rootscan-explorer"},{"title":"Testnet Rootscan Explorer","url":"https://porcini.rootscan.io/","href":"/build/testnet-rootscan-explorer"}]},{"group":"Native API","pages":[{"title":"Install Native API","href":"/build/substrate/api-package"},{"title":"Building with Native API","href":"/build/substrate/core-concepts"},{"group":"Cookbook","pages":[{"title":"Primitives","href":"/build/substrate/cookbook/primitives"},{"title":"Tokens","href":"/build/substrate/cookbook/tokens"}]},{"group":"API Reference","pages":[{"title":"JSON-RPC","href":"/build/substrate/api-reference/json-rpc"},{"group":"Runtime Pallets","pages":[{"title":"Assets","href":"/build/substrate/api-reference/runtime-pallets/assets"},{"title":"AssetsExt","href":"/build/substrate/api-reference/runtime-pallets/assetsext"},{"title":"Authorship","href":"/build/substrate/api-reference/runtime-pallets/authorship"},{"title":"Babe","href":"/build/substrate/api-reference/runtime-pallets/babe"},{"title":"Balances","href":"/build/substrate/api-reference/runtime-pallets/balances"},{"title":"Dex","href":"/build/substrate/api-reference/runtime-pallets/dex"},{"title":"Echo","href":"/build/substrate/api-reference/runtime-pallets/echo"},{"title":"ElectionProviderMultiPhase","href":"/build/substrate/api-reference/runtime-pallets/electionprovidermultiphase"},{"title":"Erc20Peg","href":"/build/substrate/api-reference/runtime-pallets/erc20peg"},{"title":"EthBridge","href":"/build/substrate/api-reference/runtime-pallets/ethbridge"},{"title":"Ethereum","href":"/build/substrate/api-reference/runtime-pallets/ethereum"},{"title":"Evm","href":"/build/substrate/api-reference/runtime-pallets/evm"},{"title":"EvmChainId","href":"/build/substrate/api-reference/runtime-pallets/evmchainid"},{"title":"FeeControl","description":null,"href":"/build/substrate/api-reference/runtime-pallets/feecontrol"},{"title":"FeeProxy","href":"/build/substrate/api-reference/runtime-pallets/feeproxy"},{"title":"FuturePass","description":null,"href":"/build/substrate/api-reference/runtime-pallets/futurepass"},{"title":"Grandpa","href":"/build/substrate/api-reference/runtime-pallets/grandpa"},{"title":"Historical","href":"/build/substrate/api-reference/runtime-pallets/historical"},{"title":"ImOnline","href":"/build/substrate/api-reference/runtime-pallets/imonline"},{"title":"LiquidityPools","href":"/build/substrate/api-reference/runtime-pallets/liquiditypool"},{"title":"MaintenanceMode","href":"/build/substrate/api-reference/runtime-pallets/maintenancemode"},{"title":"Marketplace","href":"/build/substrate/api-reference/runtime-pallets/marketplace"},{"title":"Multisig","href":"/build/substrate/api-reference/runtime-pallets/multisig"},{"title":"NFI","href":"/build/substrate/api-reference/runtime-pallets/nfi"},{"title":"NFT","href":"/build/substrate/api-reference/runtime-pallets/nft"},{"title":"NftPeg","href":"/build/substrate/api-reference/runtime-pallets/nftpeg"},{"title":"Offences","href":"/build/substrate/api-reference/runtime-pallets/offences"},{"title":"Preimage","href":"/build/substrate/api-reference/runtime-pallets/preimage"},{"title":"Recovery","href":"/build/substrate/api-reference/runtime-pallets/recovery"},{"title":"Proxy","href":"/build/substrate/api-reference/runtime-pallets/proxy"},{"title":"Scheduler","href":"/build/substrate/api-reference/runtime-pallets/scheduler"},{"title":"Session","href":"/build/substrate/api-reference/runtime-pallets/session"},{"title":"Sft","href":"/build/substrate/api-reference/runtime-pallets/sft"},{"title":"Staking","href":"/build/substrate/api-reference/runtime-pallets/staking"},{"title":"Sudo","href":"/build/substrate/api-reference/runtime-pallets/sudo"},{"title":"System","href":"/build/substrate/api-reference/runtime-pallets/system"},{"title":"SyloDataPermissions","href":"/build/substrate/api-reference/runtime-pallets/sylo-data-permissions"},{"title":"SyloActionPermissions","href":"/build/substrate/api-reference/runtime-pallets/sylo-action-permissions"},{"title":"SyloDataVerification","href":"/build/substrate/api-reference/runtime-pallets/sylo-data-verification"},{"title":"Timestamp","href":"/build/substrate/api-reference/runtime-pallets/timestamp"},{"title":"TokenApprovals","href":"/build/substrate/api-reference/runtime-pallets/tokenapprovals"},{"title":"TransactionPayment","href":"/build/substrate/api-reference/runtime-pallets/transactionpayment"},{"title":"TxFeePot","href":"/build/substrate/api-reference/runtime-pallets/txfeepot"},{"title":"Utility","href":"/build/substrate/api-reference/runtime-pallets/utility"},{"title":"VortexDistribution","href":"/build/substrate/api-reference/runtime-pallets/vortexdistribution"},{"title":"VoterList","href":"/build/substrate/api-reference/runtime-pallets/voterlist"},{"title":"Xls20","href":"/build/substrate/api-reference/runtime-pallets/xls20"},{"title":"XrplBridge","href":"/build/substrate/api-reference/runtime-pallets/xrplbridge"}]}]}]},{"group":"EVM API","pages":[{"title":"Install EVM API","href":"/build/evm/evm-package"},{"title":"Building with EVM API","href":"/build/evm/ethereum-vs-trn"},{"group":"Runtime Precompiles","pages":[{"title":"Decentralized Exchange","href":"/build/evm/runtime-precompiles/decentralized-exchange"},{"title":"Assets (ERC-20)","href":"/build/evm/runtime-precompiles/assets-erc-20"},{"title":"NFT (ERC-721)","href":"/build/evm/runtime-precompiles/nft-erc-721"},{"title":"SFT (ERC-1155)","href":"/build/evm/runtime-precompiles/sft-erc-1155"},{"title":"FeeProxy","href":"/build/evm/runtime-precompiles/feeproxy"},{"title":"FuturePass","href":"/build/evm/runtime-precompiles/futurepass"}]},{"group":"Cookbook","pages":[{"title":"How do I deploy a smart contract on The Root Network using hardhat?","href":"/build/evm/cookbook/smart-contract"},{"title":"Tokens","href":"/build/evm/cookbook/tokens"}]}]}]},{"tab":"Participate","pages":[{"title":"Participate","href":"/participate/running-a-node"}]},{"tab":"Pricing Sylo","pages":[{"title":"Pricing Sylo","href":"/pricing-sylo/overview"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]},{"tab":"Asset Register","pages":[{"title":"Asset Register","href":"/asset-register/introduction"}]},{"tab":"RootRewards","pages":[{"title":"RootRewards","href":"/rootrewards/overview"}]}]},"basePath":"","title":"FeeProxy - The Root Network","buildId":"dpl_G2Qd45vZZ7MkBiGF9yYx8ZsbbKXX","deploymentId":"dpl_G2Qd45vZZ7MkBiGF9yYx8ZsbbKXX","dynamics":[],"chunks":[]}