ChainRate List [GET]

Operation

Information of the operation

GET
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/rate


Request


PropertyTypeRequiredType parameterDefault valueDescription
chainIdIntegertruepath parameter0Unique identificator of the chain.
offsetIntegerfalserequest parameter0Offset of the array of results.
limitIntegerfalserequest parameter10Limit of results.
sortstringfalserequest parameteridProperty of the entity to sort by.
sortModestringfalserequest parameterascMode of sorting.

Example request

GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/rate


Response

PropertyTypeRequiredDescription
PagePagetrueDescription of the response of the success operation

Entity



FieldTypeRequiredDescription
idinttrueId of the ChainRate
codestringtrueCode of the ChainRate
namestringtrueName of the ChainRate
chainRateTypeIdinttrueType Id of the ChainRate
activebooleantrueChainRate active status

Example response

{
    "count": 51,
    "offset": 0,
    "limit": 3,
    "list": [
			 {
			  "id": 1,
        	  "code": "BAR",
	          "name": "BAR SA",
      		  "chainRateTypeId": 1,
	          "active": true
      		 },
      		 {
	          "id": 3,
      		  "code": "BARAD",
	          "name": "BAR AD",
     	      "chainRateTypeId": 1,
	          "active": true
      		 },
	         {
	          "id": 4,
      		  "code": "BARHB",
	          "name": "BAR HB",
      		  "chainRateTypeId": 1,
	          "active": true
      		  }
		     ]
}