Display multiple assets
DELETE/v1/settings/hidden-assets/bulk
Display multiple assets
This endpoint allows users to display multiple hidden 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 displayed; if so, it returns a 400 status code indicating that the asset is already displays. Otherwise, it displays 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
- 404
- 500
Hidden assets deleted
Asset not found
- text/plain
- Schema
Schema
string
Internal server error
- text/plain
- Schema
Schema
string
Loading...