Skip to main content

SupportedController_getIfTokenIsSupported

GET 

https://api.socket.tech/v2/supported/token-support

SupportedController_getIfTokenIsSupported

Request​

Query Parameters

    chainId stringrequired

    Id of chain, e.g Optimism = 10

    Example: 10
    address stringrequired

    Contract address of the token

    Example: 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045

Header Parameters

    API-KEY string

Responses​

Get if token is supported

Schema

    success booleanrequired

    Status of API.

    result

    object[]

    required

  • Array [

  • chainId numberrequired

    Id of chain.

    name stringrequired

    Name of chain.

    icon stringrequired

    URL for icon of chain.

    isL1 booleanrequired

    Flag indicating whether the chain is L1.

    sendingEnabled booleanrequired

    Flag indicating whether sending of tokens is supported from chain.

    receivingEnabled booleanrequired

    Flag indicating whether receiving of tokens is supported to chain.

    refuel

    object

    required

    sendingEnabled boolean
    receivingEnabled boolean

    currency

    object

    required

    address stringrequired

    Address of gas token.

    icon stringrequired

    URL for icon of gas token.

    name stringrequired

    Name of gas token.

    symbol stringrequired

    Symbol of gas token.

    decimals numberrequired

    Decimals of gas token.

    minNativeCurrencyForGas stringrequired

    Minimum amount to be left for gas while using max amount.

    rpcs string[]required
    explorers string[]required
  • ]

Loading...