Innovation and Expansion of the
e-Sport Industry
API User Guide
- For security and prevention of unauthorized use, only one API key can be issued per IP, and API activation is not possible for keys that have not been authenticated.
- If the IP is changed, you will need to reissue the API KEY.
- You can request 10 times per second.
- If you send more than 10 requests, you will be restricted from using the API for 5 minutes.
- The development server API key and the production server API key are separate and must be requested separately.
- All parameters must be requested via POST.
Development server API request URL
- https://ex-tech.org/TEST/ # Operation server API request URL
- https://ex-tech.org/
Response code and result
Success: RES:200 MSG:Result value
Failure: RES:ERROR_CODE MSG:Error message
Response code and result
Parameters | Type | memo | sample |
---|---|---|---|
apikey | String | Only one can be issued per IP | VGtOU0s2S3lWMy9SaGxHRUtTVmZTZERQWmlXZFFIeCt1UWVDOHBJQ0NFVT0 |
passwd | String | If the password of the wallet is lost, it cannot be recovered. Please keep it separately. | a12345678 |
command | String | (ADD) Is a fixed parameter | ADD |
Response result
{"RES:200", "MSG:Wallet address"}
Check wallet balance
Parameters | Type | memo | sample |
---|---|---|---|
apikey | String | Only one can be issued per IP | VGtOU0s2S3lWMy9SaGxHRUtTVmZTZERQWmlXZFFIeCt1UWVDOHBJQ0NFVT0 |
passwd | String | If the password of the wallet is lost, it cannot be recovered. Please keep it separately | a12345678 |
command | String | (VAL) Is a fixed parameter | VAL |
addr | String | (ADD) Wallet address for which you want to check the balance | 0x0cac7efee5bbe24d698f08c8807e4dabdf318aec |
Response result
{"RES:200", "MSG:Balance (18 decimal points)"}
Coin transfer
Parameters | Type | memo | sample |
---|---|---|---|
apikey | String | Only one can be issued per IP | VGtOU0s2S3lWMy9SaGxHRUtTVmZTZERQWmlXZFFIeCt1UWVDOHBJQ0NFVT0 |
passwd | String | Password sent when creating the sending address | a12345678 |
command | String | (SND) This is a fixed parameter | SND |
addr | String | Sending wallet address | 0x0cac7efee5bbe24d698f08c8807e4dabdf318aec |
receive | String | Receiving wallet address | 0x0cac7efee5bbe24d698f08c8807e4dabdf318aec |
amount | Integer | Sending quantity (transfer is possible only if the sending address has more than the fee (0.5~1) used in the blockchain) | 100 |
Response result
{"RES:200", "MSG:Block hash value"}
Transaction detail inquiry
Parameters | Type | memo | sample |
---|---|---|---|
apikey | String | Only one can be issued per IP | VGtOU0s2S3lWMy9SaGxHRUtTVmZTZERQWmlXZFFIeCt1UWVDOHBJQ0NFVT0 |
passwd | String | If the password of the wallet is lost, it cannot be recovered. Please keep it separately | a12345678 |
command | String | (TRX) It is a fixed parameter | TRX |
transaction | String | HASH value received as a result of transmission | 0x09f3c28530f8ab2669dcc95e6ee2e2fdb9404b35ddd64c8232745e13ef8a750d |
Response result
{"RES:200", MSG:{"SEND":"Sent address", "RCVE":"To address", "AMNT":"Transfer amount", "DATE":"Transfer time (server UNIXTIME)"}}
Transaction search
Parameters | Type | memo | sample |
---|---|---|---|
apikey | String | Only one can be issued per IP | VGtOU0s2S3lWMy9SaGxHRUtTVmZTZERQWmlXZFFIeCt1UWVDOHBJQ0NFVT0 |
passwd | String | Password sent when creating the sending address | a12345678 |
command | String | (TRXSCH) This is a fixed parameter | TRXSCH |
addr | String | Sending wallet address | 0x0cac7efee5bbe24d698f08c8807e4dabdf318aec |
display | Integer | Specify the number of search results to be printed (default: 10, maximum: 100) | 10 |
page | Integer | Search start position (default: 1) | 1 |
Response result
{"RES:200", MSG:{ "TYPE":"IN (deposit) / OUT (withdraw)", "SEND":"Sending address", "RCVE":"To address", "AMNT":" "}}
Response error code and error content
ERROR CODE | ERROR MESSAGE | Explanation |
---|---|---|
200 | Success | success |
300 | Bad Request | Parameter or api key error |
301 | Bad Request | Parameter or api key error |
302 | Bad Request | Parameter or api key error |
303 | Bad Request | Parameter or api key error |
401 | No permission (IP) | Blocked IP |
402 | No permission (KEY) | Blocked api key |
403 | Invalid Apikey | Wrong api key |
404 | Method Not Allowed | Wrong api key |
405 | Database Fail | Connection error |
406 | Invalid Parameter | Parameter error |
500 | NODE Message | Error message during node processing |