Use BTC as Transaction Fees

Use BTC as Transaction Fees

When conducting transactions on the Satoshi Network MainNet, BTC is required as gas. The Bitcoin network employs the UTXO model, while the XBitcoin utilizes an account model. This implies that the usage paradigms of the two networks are different. However, we ensure that each BTC on the XBitcoin originates from the Bitcoin MainNet, and there are comprehensive asset proofs available for querying on both the Bitcoin network and the XBitcoin. The following describes the calculation method of gas fees on the XBitcoin Preliminary Network: XBitcoin transaction fees consist of three components: initial gas, real gas, and refund gas. The following are the calculation methods and their inherent relationships:

When considering the gas price on XBitcoin Testnet (Chain ID: testnet), you might consider establishing it as a default configuration at 0.05 GWei. Regarding the gas limit, you can experiment with it on the Satoshi Network TestNet and subsequently set it as the default on the front end.If you want to view the actual gas situation for each transaction, you can browse:

(Link release soon)

Last updated