Query used chain by user address

Description

  • Method: HTTPS GET

  • Encoding: UTF-8

  • Path: https://api.blockin.ai/v2/user/chain_list

  • Description: Query used chain by user address

Request Header

Parameter
Required
Type
Description

Content-Type

Y

String

application/json

AccessKey

Y

String

1bdb01c947c54919b64d1fc6794atest

Request Parameters

Parameter
Required
Type
Description

address

Y

String

User's address

Response

Public Response

Parameter
Required
Type
Description

success

Y

Boolean

Success Boolean

data

N

List

Response object

error_code

N

String

Error code

error_msg

N

String

Error message

Response Content

Parameter
Required
Type
Description

chain_abbr

Y

String

Chain's abbreviated name

chain_id

Y

String

Chain's community id

chain_name

Y

String

Chain's name

logo_url

Y

String

URL of the chain's logo image

native_token

Y

String

Chain's native token address

wrapped_token_address

Y

String

Chain's wrapped token address

Request Sample

curl -H "Content-Type:application/json" -H "AccessKey:1bdb01c947c54919b64d1fc6794atest" -X GET "https://api.blockin.ai/v2/user/chain_list?address=0x5d7166ee0c633021cb502fa5302866316d86f701"

Successful Response Sample

Last updated