API reference
Get Token Using Address

Retrieve details about a token using address

Request

  • Path: /user/get_token_using_address
  • Method type: GET
  • Headers: Authorization: Bearer <token>

Params

  • token_details_id (required): The registered id of the token against the user information in Token Details DB table.

Example request

curl -X GET "https://api.example.com//user/get_token_using_address" \
     -H "Authorization: Bearer YOUR_TOKEN"

Example response

{
  "token_details_id": 1,
  "user_id": "user_2lO5zzxhV08hooYiSCOkfWfPxls",
  "token_address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
  "token_balance": "100000000000000000000"
}