user3029: I want to get an object and its variables of a NXT asset. What is the function to retrieve an object of an nxt asset? 

user3029: You can get most of the nxt objects using NRS.sendRequest(""
The following code gets the asset object of whats in question.
NRS.sendRequest("getAsset", {"asset": asset}, function(response) { //do stuff with response}, false)
NRS.sendRequest("getAsset", {   
  "asset": <*Your Asset ID here*>
}, function(response) {         
  if (response && response.asset) {
    console.log(response);        
  }, false                          
});                             

You would get the following response from chrome's console log like this:
http://prntscr.com/7zm5fh


3029: <p>I want to get an object and its variables of a NXT asset. What is the function to retrieve an object of an nxt asset? </p>
 3029: <p>You can get most of the nxt objects using NRS.sendRequest(""</p>

<p>The following code gets the asset object of whats in question.</p>

<p><strong>NRS.sendRequest("getAsset", {"asset": asset}, function(response) { //do stuff with response}, false)</strong></p>

<pre><code>NRS.sendRequest("getAsset", {   
  "asset": &lt;*Your Asset ID here*&gt;
}, function(response) {         
  if (response &amp;&amp; response.asset) {
    console.log(response);        
  }, false                          
});                             
</code></pre>

<p>You would get the following response from chrome's console log like this:</p>

<p><a href="http://prntscr.com/7zm5fh" rel="nofollow noreferrer">http://prntscr.com/7zm5fh</a></p>

<p><a href="https://i.stack.imgur.com/lrwQV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lrwQV.png" alt="enter image description here"></a></p>
