Hide asset
POST/v1/settings/hidden-assets
Hide asset
This endpoint allows users to mark specific assets as hidden within their settings. This action prevents the selected assets from appearing in certain views or lists where assets are displayed. Users can specify the asset they wish to hide by providing its address and chain ID. If the asset is already marked as hidden, the request will fail with a "Asset already hidden" message. Otherwise, the asset will be successfully hidden, and the operation will return a success status.
Request
- application/json
Body
required
address stringrequired
chain_id int32required
Responses
- 200
- 400
- 500
Hidden asset created
Asset already hidden
- text/plain
- Schema
Schema
string
Internal server error
- text/plain
- Schema
Schema
string
Loading...