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
| Topic | Ethereum | GOAT Network |
|---|---|---|
| Gas token | ETH | BTC |
| Blob fee | Can apply with EIP-4844 | Not part of the current GOAT Network fee model |
| Fee burn | Part of the Ethereum fee model | GOAT Network routes fees through its own economic design |
| Settlement anchor | Ethereum | Bitcoin-backed publication and finality |
Fee Formula
Key Inputs
| Input | Detail |
|---|---|
| Base fee | Dynamic network fee from the latest block. The minimum base fee on GOAT Network is 7 wei. |
| Priority fee | User-selected tip for faster inclusion. The minimum priority fee on GOAT Network is 130000 wei. |
| Max fee per gas | Upper bound accepted by the sender. It must be greater than or equal to baseFee + priorityFee. |
| Gas used | Actual 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
| Recipient | Share |
|---|---|
| Sequencer or miner set | 98% of the fee pool |
| GOAT Foundation | 2% 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
- Using ETH labels in your UI instead of BTC labels.
- Reusing stale fee estimates during periods of network change.
- Forgetting to leave headroom between
maxFeePerGasandmaxPriorityFeePerGas. - Treating GOAT Network fast confirmation as the same thing as final settlement.
- Setting gas estimates too tightly. Add a small buffer, commonly 5-20%, for app-generated transactions.
Dynamic Estimation Example
Network Stats
- Gas price varies with network conditions.
- Average block time is approximately 3.5 seconds on Testnet3.
- For live status, use the GOAT Network Explorer or Testnet3 Explorer.