DORRS Data
Login
Client APIBlockchain

Update Token Price

POST
/backend/api/v1/{network}/token_update/

Sets the price for a token. network as in the other requests of the Blockchain section.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

network*string

Blockchain network the token belongs to.

  • Ethereum - ethereum
  • Polygon - polygon
  • Solana - solana
  • Algorand - algorand
  • Avalanche - avalanche
  • Arbitrum - arbitrum
  • Base - base
  • Optimism - optimism
  • BNB Chain - bsc
  • Linea - linea
  • Celo - celo
  • Mantle - mantle
  • Gnosis - gnosis
  • Sei - sei
  • XDC - xdc
  • Fraxtal - fraxtal
  • Plume - plume
  • HyperEVM - hyperevm
  • ZKsync Era - zksync
  • NEAR - near
  • Stellar - stellar
  • Sui - sui
  • XRP Ledger - xrpl
  • MANTRA - mantra

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/backend/api/v1/bsc/token_update/" \  -H "Content-Type: application/json" \  -d '{    "symbol": "SKHYX",    "price": 136.09  }'
{  "message": "success",  "code": 200,  "data": []}
{  "code": 400,  "message": "field_name: This field is required."}
{  "code": 401,  "message": "Authentication credentials were not provided."}
{  "code": 403,  "message": "You do not have permission to perform this action."}
{  "message": "Internal Server Error",  "code": 500}