REST APIEnterprise

GET

Returns gas tank balance and address for an asset.

Path Params

  • enterpriseId string required
    The enterprise ID

    matches ^[0-9a-f]{32}$

  • coin string required
    A cryptocurrency or token ticker symbol.

Responses

200
OK

Response Body

object

  • balance string
    Total balance in enterprise gas tank.
  • address string
    The gas tank (fee) address associated with the enterprise.
400
Bad Request

Response Body

ONE OF

  • error string required
    Human-readable error message
  • requestId string required
    Client request id
  • context object
    Properties that apply to a specific error name
  • name string required
    Error code
404
Not Found

Response Body

object

  • error string required
    Human-readable error message
  • requestId string required
    Client request id
  • context object
    Properties that apply to a specific error name
  • name string required
    Error code