Back to Example List

BRG Rates

      brg.getOTARates().then(function(response){
        document.getElementById('getOTARatesResponse').innerHTML = JSON.stringify(response,null,4);
        console.log("getOTARates()" );
        console.log(response);
      }).catch(function(error){
        document.getElementById('getOTARatesResponse').innerHTML = JSON.stringify(error,null,4);
      });
    
Response: