bitcore-wallet-service
bitcore-wallet-service copied to clipboard
how to calculate the trasnaction fee
How to calculate the trasnction fee with the following array
btc: [{ name: 'urgent', nbBlocks: 2, multiplier: 1.5, defaultValue: 150000, }, { name: 'priority', nbBlocks: 2, defaultValue: 100000 }, { name: 'normal', nbBlocks: 3, defaultValue: 80000 }, { name: 'economy', nbBlocks: 6, defaultValue: 50000 }, { name: 'superEconomy', nbBlocks: 24, defaultValue: 20000 }]