Skip to content

Replace hardcoded ESTIMATED_FEE with live get_base_fee call #732

Description

@Ejirowebfi

Description

TokenCreateForm.tsx hardcodes ESTIMATED_FEE = '0.01' XLM. The actual fee is stored on-chain and configurable by the admin. Users may be shown an incorrect fee estimate.

Tasks

  • Call stellarService.getBaseFee() on component mount
  • Display the live fee value in the form
  • Show a loading skeleton while the fee is being fetched
  • Fall back to the hardcoded value if the RPC call fails, with a warning toast

Acceptance Criteria

  • Fee shown in the UI matches the value returned by get_base_fee()
  • A loading state is shown while fetching
  • Network failure does not crash the form

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official CampaignbugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions