Hello friends..
Im newbie to bitcoins but done some RanD and developed an app which uses blockchain.info api send many transactions.
From the reference :
https://blockchain.info/api/blockchain_wallet_apiI have used send_many transactions. But i have doubt in transaction fee.
My questions are :
what is the fee for all the transactions?
should i have to include fee for every address ?
for example: In a transaction i'm sending bitcoins to 2 addresses. for address 1 : transaction fee = 0.0005, for address 2 : transaction fee = 0.0005
option1 :{
$fee = (transaction fee for address 1) + (transaction fee for address 2)
so in the server request URL
http://blockchain.info/merchant/$guid/sendmany?password=$firstpassword&second_password=$secondpassword&recipients=$recipients&fee=$fee
}
option 2:
{
or $fee = 0.0005
http://blockchain.info/merchant/$guid/sendmany?password=$firstpassword&second_password=$secondpassword&recipients=$recipients&fee=$fee
}
which one option is correct?
Hope you guys understand my problem...