Example

const results = await chainpatrol.asset.list({
  type: "URL",
  status: "BLOCKED",
  startDate: "2023-01-01",
  endDate: "2023-12-31",
});

console.log(results);

Parameters

options
object
required

Return Value

The asset.list() method returns a Promise that resolves to an array of objects with the following properties:

results
object[]
required