GOAT Network
App Development

Transaction Fees

GOAT Network uses an EIP-1559-style fee model, but the network charges fees in BTC rather than ETH.

GOAT Network vs Ethereum

TopicEthereumGOAT Network
Gas tokenETHBTC
Blob feeCan apply with EIP-4844Not part of the current GOAT Network fee model
Fee burnPart of the Ethereum fee modelGOAT Network routes fees through its own economic design
Settlement anchorEthereumBitcoin-backed publication and finality

Fee Formula

Transaction fee formula
Total fee = Gas used × min(Max fee per gas, Base fee + Priority fee)

Key Inputs

InputDetail
Base feeDynamic network fee from the latest block. The minimum base fee on GOAT Network is 7 wei.
Priority feeUser-selected tip for faster inclusion. The minimum priority fee on GOAT Network is 130000 wei.
Max fee per gasUpper bound accepted by the sender. It must be greater than or equal to baseFee + priorityFee.
Gas usedActual execution cost of the transaction

GOAT Network does not support EIP-4844 blob fees in the current fee model, so blob fee should be treated as zero.

Fee Distribution

RecipientShare
Sequencer or miner set98% of the fee pool
GOAT Foundation2% of the fee pool

Because GOAT Network uses BTC as the gas token, do not present fee burn assumptions copied from Ethereum. Account for the full transaction fee in BTC-denominated user balances and receipts.

Common Pitfalls

  1. Using ETH labels in your UI instead of BTC labels.
  2. Reusing stale fee estimates during periods of network change.
  3. Forgetting to leave headroom between maxFeePerGas and maxPriorityFeePerGas.
  4. Treating GOAT Network fast confirmation as the same thing as final settlement.
  5. Setting gas estimates too tightly. Add a small buffer, commonly 5-20%, for app-generated transactions.

Dynamic Estimation Example

ethers.js v6 fee estimate
const feeData = await provider.getFeeData();
const gas = await provider.estimateGas(txRequest);
const total = gas * (feeData.maxFeePerGas ?? 0n);

Network Stats

On this page