You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 22, 2026. It is now read-only.
When calling request("stx_callContract", { ..., fee: 50000 }) via @stacks/connect, Leather still shows 0.01 STX (10,000 uSTX) in the confirmation dialog. The fee parameter appears to be ignored.
Why this matters
We run a blind batch auction settlement contract (JingSwap) that calls into Pyth oracle + Wormhole + settlement logic in a single transaction. At 0.01 STX the tx hangs for minutes and often fails to confirm within our 60-second oracle price freshness window — causing the entire settlement to fail.
We need to set the fee to 0.05 STX (50,000 uSTX) to land reliably.
Description
When calling
request("stx_callContract", { ..., fee: 50000 })via@stacks/connect, Leather still shows 0.01 STX (10,000 uSTX) in the confirmation dialog. Thefeeparameter appears to be ignored.Why this matters
We run a blind batch auction settlement contract (JingSwap) that calls into Pyth oracle + Wormhole + settlement logic in a single transaction. At 0.01 STX the tx hangs for minutes and often fails to confirm within our 60-second oracle price freshness window — causing the entire settlement to fail.
We need to set the fee to 0.05 STX (50,000 uSTX) to land reliably.
Steps to reproduce
request("stx_callContract", { contract: "SPV9K21TBFAK4KNRJXF5DFP8N7W46G4V9RCJDC22.sbtc-stx-jing-v2", functionName: "settle-with-refresh", functionArgs: [...], fee: 50000 })Expected behavior
The wallet should respect the
feeparameter fromstx_callContract, or use it as the pre-selected default in the custom fee UI.Environment
@stacks/connect(latest, wallet standard API)fee: Integer(number | bigint | string) is a valid param onstx_callContractin@stacks/connecttypesWorkaround
Currently telling users to manually set custom fee to 0.05 STX in the wallet UI, but this is not viable for programmatic/agent callers.