token

Get token based on token address and network.

Request Parameters:

NameTypeDescriptionExample

networkName (required)

String

The name of the network for which to retrieve the token

bsc

address (required)

String

The address of the token to retrieve

0xb58e26ac9cc14c0422c2b419b0ca555ee4dcb7cb

Request URL Example:

https://api.magpiefi.xyz/token-manager/token?networkName=polygon&address=0x0000000000000000000000000000000000001010

Response Example:

{
  "id": "string",
  "name": "string",
  "symbol": "string",
  "address": "string",
  "decimals": 0,
  "displayDecimals": 0,
  "logoUrl": "string",
  "usdPrice": "string",
  "highestPriority": "string",
  "network": {
    "id": 0,
    "name": "bsc",
    "chainId": 0,
    "logoUrl": "string"
  }
}

Last updated