-
Notifications
You must be signed in to change notification settings - Fork 153
-
I use the Solnet nuget package on my .net application and I cannot assign a custom fee value for any token transfer or sol transfer in this package. After this process, it automatically gives the fee value as 0.000005 SOL. And the token transfers I sent cannot be found on the network, and I think the reason for this is the low fee amount. I have never encountered a manual fee assignment method in the Solnet nuget package.
var transactionBuilder = new TransactionBuilder()
.SetRecentBlockHash(recentBlockHash.Result.Value.Blockhash)
.SetFeePayer(fromAccount)
.AddInstruction(TokenProgram.Burn(
fromAssociatedTokenAccount,
receiverAssociatedTokenAccount,
100000,
fromAccount
));
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment