Skip to main content

Hide multiple assets

POST 

/v1/settings/hidden-assets/bulk

Hide multiple assets

This endpoint allows users to hide multiple assets in bulk. It accepts a JSON payload containing an array of assets, where each asset includes an address and a chain_id. The endpoint checks if each asset is already hidden; if so, it returns a 400 status code indicating that the asset is already hidden. Otherwise, it hides the asset and continues processing the next one. Upon successful completion, it returns a 200 status code. A 500 status code indicates an internal server error.

Request

Body

required
    assets object[]required
  • Array [
  • address stringrequired
    chain_id int32required
  • ]

Responses

Hidden assets created

Loading...