Skip to main content
PATCH
/
v0
/
platform
/
assets
/
{identifier}
Update an Asset
curl --request PATCH \
  --url https://api.blockaid.io/v0/platform/assets/{identifier} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "identifier": "0xFf7d6A96ae471BbCD7713aF9CB1fEeB16cf56B41",
  "tags": [
    "example",
    "new_tag"
  ],
  "chain_name": "bsc",
  "runtime": "evm"
}
'
{
  "error_code": "not_found",
  "description": "Asset not found",
  "identifier": "0xFf7d6A96ae471BbCD7713aF9CB1fEeB16cf56B41"
}

Authorizations

X-API-Key
string
header
required

Path Parameters

identifier
string
required

The identifier of the asset.

Query Parameters

runtime
enum<string>
required

The runtime of the hosting chain. The runtime name

Available options:
evm,
sui
chain_name
enum<string>
required

The chain where the asset resides. The chain name

Available options:
arbitrum,
avalanche,
base,
bsc,
ethereum,
optimism,
polygon,
ethereum-sepolia,
gnosis,
soneium-minato,
abstract,
soneium,
mainnet

Body

application/json
tags
string[]

Group your assets by tags to filter by them.

alias
string

Use an alias to easily identify this asset across the platform. The asset chip will show the alias rather than the raw identifier.

Response

Asset updated successfully

error_code
enum<string>
required

An enumeration.

Available options:
missing_abi,
type_mismatch,
generic_error,
already_exists,
unsupported_runtime,
attached_system_rule,
inconsistent_runtime,
implementation_missing_abi,
not_found
description
string
required
identifier
string