fixed bitcoin api