diff --git a/NineChronicles.Headless/GraphTypes/TransactionHeadlessQuery.cs b/NineChronicles.Headless/GraphTypes/TransactionHeadlessQuery.cs index a5c56d9e0..c972dce7f 100644 --- a/NineChronicles.Headless/GraphTypes/TransactionHeadlessQuery.cs +++ b/NineChronicles.Headless/GraphTypes/TransactionHeadlessQuery.cs @@ -96,8 +96,12 @@ public TransactionHeadlessQuery(StandaloneContext standaloneContext) new UnsignedTx( new TxInvoice( genesisHash: blockChain.Genesis.Hash, - actions: new TxActionList(new[] { action })), - new TxSigningMetadata(publicKey: publicKey, nonce: nonce)); + actions: new TxActionList(new[] { action }), + gasLimit: action is ITransferAsset or ITransferAssets ? RequestPledge.DefaultRefillMead : 1L, + maxGasPrice: 1 * Currencies.Mead + ), + new TxSigningMetadata(publicKey: publicKey, nonce: nonce) + ); return Convert.ToBase64String(unsignedTransaction.SerializeUnsignedTx().ToArray()); });