Fee hints in transactions.

This commit is contained in:
muzam1l
2022-05-27 16:44:01 +05:30
parent 49dfd43220
commit a21350770e
5 changed files with 111 additions and 45 deletions

View File

@@ -20,8 +20,8 @@ export const sendTransaction = async (account: IAccount, txOptions: TransactionO
const { Fee = "1000", ...opts } = txOptions
const tx: TransactionOptions = {
Account: account.address,
Sequence: account.sequence, // TODO auto-fillable
Fee, // TODO auto-fillable
Sequence: account.sequence,
Fee, // TODO auto-fillable default
...opts
};