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
- application/json
Body
required
- Array [
- ]
assets object[]required
address stringrequired
chain_id int32required
Responses
- 200
- 400
- 500
Hidden assets created
Asset already hidden
- text/plain
- Schema
Schema
string
Internal server error
- text/plain
- Schema
Schema
string
Loading...