Models and tools

A B20 with a METADATA_ROLE holder can call updateName/updateSymbol, change its own identity after launch (an...

A B20 with a METADATA_ROLE holder can call updateName/updateSymbol, change its own identity after launch (an impersonation / bait-and-switch vector ERC-20 has no protocol equivalent for). Reads whether the metadata is mutable (role holder exists) AND whether it has ALREADY been renamed on-chain (NameUpdated/SymbolUpdated history). Trust the address, not the label.

other.a_b20_with_a_metadata_role_holder_can_call_updatToolsAvailableAll tools
On this page

POSThttps://api.usdf.fi/v1/tools/other.a_b20_with_a_metadata_role_holder_can_call_updat

Request

curl -X POST "https://api.usdf.fi/v1/tools/other.a_b20_with_a_metadata_role_holder_can_call_updat" \
  -H "Authorization: Bearer $USDF_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": {
    "address": "0x4A35a5eC2A50A4d2957B2F2366E017f526cAB318"
  }
}'

query

object, required

query.address

string, required

B20 token address

A call uses the same USDF balance and API key as a model request. It holds the most the input can cost, then charges what the call came to, never more than the hold. Failed calls are not charged.

See the API reference

Foundry documentation

Confirm it's you

Confirm to continue the action you started.

Checking confirmation options…