Copy var request = require ( 'request' );
var options = {
'method' : 'GET' ,
'url' : ` ${ baseUrl } /specific?chain=ETH&asset=RAREPEPE` ,
'headers' : {
'x-api-key' : 'your_api_key_here'
}
};
request (options , function (error , response) {
if (error) throw new Error (error);
console .log ( response .body);
});
the resulting values returned are all vaults that have an item in the balance called RAREPEPE, no project name and is from the ETH blockchain.
Copy [
{
"asset_chain" : "ETH" ,
"asset_name" : "RAREPEPE" ,
"project" : null ,
"tokenid" : "73728098203122031"
} ,
{
"asset_chain" : "ETH" ,
"asset_name" : "RAREPEPE" ,
"project" : null ,
"tokenid" : "80579410364945461"
} ,
{
"asset_chain" : "ETH" ,
"asset_name" : "RAREPEPE" ,
"project" : null ,
"tokenid" : "36089350436942491"
} ,
{
"asset_chain" : "ETH" ,
"asset_name" : "RAREPEPE" ,
"project" : null ,
"tokenid" : "83063078927566481"
} ,
{
"asset_chain" : "ETH" ,
"asset_name" : "RAREPEPE" ,
"project" : null ,
"tokenid" : "58650537970605561"
} ,
{
"asset_chain" : "ETH" ,
"asset_name" : "RAREPEPE" ,
"project" : null ,
"tokenid" : "18549750972972921"
} ,
{
"asset_chain" : "ETH" ,
"asset_name" : "RAREPEPE" ,
"project" : null ,
"tokenid" : "56487976853675271"
} ,
{
"asset_chain" : "ETH" ,
"asset_name" : "RAREPEPE" ,
"project" : null ,
"tokenid" : "13427765542365251"
}
]