insight-bitcore
Version:
An open-source frontend for the Insight API. The Insight API provides you with a convenient, powerful and simple way to query and broadcast data on the bitcoin network and build your own services with it.
18 lines (16 loc) • 351 B
JavaScript
;
angular.module('insight.status')
.factory('Status',
function($resource) {
return $resource('/api/status', {
q: '@q'
});
})
.factory('Sync',
function($resource) {
return $resource('/api/sync');
})
.factory('PeerSync',
function($resource) {
return $resource('/api/peer');
});