public async Task <BitcoinTXSkeleton> BroadcastTransactionAsync(BitcoinTXSkeleton transaction) { return(await Post <BitcoinTXSkeleton, BitcoinTXSkeleton>($"/v1/{_coinType}/{_network}/txs/send?token={_token}", transaction)); }
public Task <BitcoinTXSkeleton> BroadcastTransaction([FromBody] BitcoinTXSkeleton transaction) { return(_service.BroadcastTransactionAsync(transaction)); }