Questions tagged [transaction-fees]
The transaction-fees tag has no usage guidance.
20
questions
1
vote
1
answer
12
views
How to write test cases to validate if fees is paid?
I'm working on writing test cases for an extrinsic that conditionally bypasses transaction fees based on specific conditions. I need to verify whether the fees are paid or not for a given call. My ...
1
vote
0
answers
15
views
(Outdated Implementations) I'm working on paying block authors in Proof Of Authority (POA)
I'm currently developing a private Substrate-based blockchain and working on implementing a mechanism to pay block authors (validators) in a Proof of Authority (PoA) consensus. I've been following a ...
2
votes
0
answers
54
views
Deployment of contract and calling its function is taking too much fees
I have configured the transaction fees to be approximately 40. However, when deploying a smart contract on an EVM-compatible chain, the fees amount to be 2300, and when calling this function, the ...
1
vote
0
answers
24
views
Best solution for a multi-token chain and a custom transaction payment pallet
What is the best solution for implementing a chain without a native token, but perhaps multiple assets, some of which can be used for transaction fees ?
Is it practical to replace the pallet Balances ...
1
vote
1
answer
90
views
How To Send Transactions Fees to Treasury Instead of Burning Tokens?
I am new to Substrate development, and I have installed locally the substrate node template. It works well, but for my little project the native token is linked to physical assets and by default in ...
1
vote
0
answers
50
views
When doing transaction my total issuance got deducted
I am currently working on incorporating a transaction fee logic where the block reward for a validator is intended to be shared between the validator and its nominator. However, I am encountering an ...
0
votes
0
answers
27
views
What is the reason for this unexpected transaction ordering
My understanding is that transaction priority and therefore the ordering in the block is determined by the fee and tip paid.
I have noticed a number of times that transactions with the highest total ...
2
votes
1
answer
42
views
How do nominators get paid in the staking?
In the pallet-staking, the transaction fee is distributed between the treasury and author. I want to know that how validators and nominator are getting their reward?
5
votes
1
answer
79
views
Gas less Transactions
Hi I am building a solo chain by using the substrate node template but i am stuck here that i wanna change the gas fee to 0 of every transaction that is happening on the chain this chain will be a ...
0
votes
0
answers
32
views
How can I ensure that the validator and nominator do not incur transaction fees?
I would like to prevent the fees mechanism within the chain from imposing any transaction fees on validators and nominations. Could someone kindly provide guidance on achieving this?
1
vote
1
answer
41
views
Incorrect transaction fee estimation when payout
I have been working on payout in my L0 relay chain blockchain .While making payout I have observed the transaction fee that is deducted from my account and the actual fee that is been deducted are ...
0
votes
0
answers
28
views
How can one design and implement a fee rule?
I hope you are doing well!
How can one design and implement a fee rule on a substrate-based blockchain that is contingent on the transaction payment value?
I would like to create this fee rule based ...
3
votes
1
answer
80
views
Where does the transaction fee go after balance transfer without a treasury pallet in solo chain?
I am using Substrate node template for my application. I have added custom pallet.
This is a solo chain. I just want to know where transaction fee goes after a successful balance transfer. I have read ...
1
vote
0
answers
103
views
how i can pay transaction fees through custom token
i am currently using substrate full node . and i have created non native custom tokens through assets like of name KAR . when i transfer these custom tokens i.e KAR from one account to another the ...
2
votes
2
answers
125
views
Transaction Fee Withdrawal
As I've checked the pallet-tx-payment, I've figured it out the fee is withdrawn twice
pub fn validate() {
let (final_fee, _) = self.withdraw_fee(who, call, info, len)?;
...
}
pub fn ...
2
votes
1
answer
25
views
During runtime upgrade, I estimate gas fee by PaymentQueryInfo api, the return result value is so high, more than the normal value
why cause this?
result, err := client.SignedExtrinsic(
"0x186c09cac19834761b573b238b6542257d05b1fc5a57688311345d8cdf7e488d",
"5FjKC4iC797yUWmFJuirEWqvVA2ABy3d41ugxZfHyrHs2AYx&...
1
vote
1
answer
289
views
how to pay transaction fee through custom token?
i am working on substrate i have created a custom token using pallet_assets,how can i configure the transaction_fee using the custom token i have seen the pallet_assets_transaction payment which say'...
2
votes
1
answer
100
views
What is this strange balance transfer that occurs during utility.batch?
I'm putting a single transaction into a batch utility call with zero value. The batch extrinsic is shown below. Each time I submit the batch transaction, a huge value is submitted to an unknown ...
0
votes
1
answer
127
views
how to fix transactionPaymentApi.queryInfo runtime call issue?
api.tx.balances.transfer(recipient, new BN(txAmount)).paymentInfo(sender)
When I call paymentinfo to get a transaction fee, I got this error.
Error: The transactionPaymentApi.queryInfo runtime call is ...
0
votes
1
answer
34
views
How to split the overall transaction fees associated with an on-chain proposal that passes amongst its creator and voters?
If you have built a custom Substrate-based chain and added Substrate pallets to enable on-chain governance (i.e. pallet_democracy, pallet_referenda).
How would you split the costs between participants ...