Utopia API Client Reference
API URL endpoint: http(s)://127.0.0.1:port number/api/1.0
API allows creating services that directly interact with the ecosystem of Utopia. It significantly extends the capabilities of users and developers to implement the anonymous and secure solutions on the network.
See the list of available methods at the left side.
methodName
Description
URL: https://127.0.0.1/api/1.0
Example
Generic Filter (optional):
This filter can be applied to ANY method returning an array, it's supported only then passing a
request via JSON POST, just specify an object with name 'filter' and following fields (all
optional): 'sortby ', 'offset ' and 'limit '.
Sortby format: propertyName1:sortingorder,propertyName2:sortingorder etc. (sortingorder is optional.)
Request
{
"method": "getProfileStatus",
"token": "TEMPTOKEN"
}
Response
{
"result": {
"mood": "",
"status": "Available",
"status_code": 4096
},
"resultExtraInfo": {
"elapsed": "0"
}
}
Execute
Request
{
"method": "setProfileStatus",
"params": {
"status": "Available",
"mood": "Hi"
},
"token": "TEMPTOKEN"
}
Response
{
"result": true,
"resultExtraInfo": {
"elapsed": "4624"
}
}
Execute
Request
{
"method": "getReleaseNotes",
"params": {
},
"token": "TEMPTOKEN"
}
Response
{
"result": {
"en": {
"versionNumber": {
"fixed": [...],
"issues": [...],
"new": [...],
"version": {
"OS - version"
}}},
},
"resultExtraInfo": {
"elapsed": "4624"
}
}
Execute
Request
{
"method": "getSettingInfo",
"params": {
"settingId": ""
},
"token": "TEMPTOKEN"
}
Response
{
"result": {
"TrayIconMode":"Always",
"AutoStart": "true"
},
"resultExtraInfo": {
"elapsed": "4624"
}
}
Execute
Request
{
"method": "setSettingInfo",
"params": {
"settingId":"TrayIconMode",
"newValue":"Always"
},
"token": "TEMPTOKEN"
}
Response
{
"result": true,
"resultExtraInfo": {
"elapsed": "4624"
}
}
Execute
Request
{
"method": "getBalance",
"params": {
"currency": "CRP"
},
"token": "TEMPTOKEN"
}
Response
{
"result": 0,
"resultExtraInfo": {
"elapsed": "0"
}
}
Execute
Request
{
"method": "getFinanceHistory",
"params": {
"currency": "CRP",
"filters": "",
"referenceNumber": "",
"fromDate": "",
"toDate": "",
"batchId": "",
"fromAmount": "",
"toAmount": "",
"sourcePk" : "",
"destinationPk" : ""
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "getSystemInfo",
"token": "TEMPTOKEN"
}
Response
{
"result": {
"buildAbi": "x86_64-little_endian-llp64",
"buildCpuArchitecture": "x86_64",
"build_number": "0.3.9",
"currentCpuArchitecture": "x86_64",
"netCoreRate": 25,
"networkCores": 1,
"networkEnabled": true,
"numberOfConnections": 8,
"packetCacheSize": 301,
"uptime": "00:00:47"
},
"resultExtraInfo": {
"elapsed": "2603"
}
}
Execute
Request
{
"method": "ucodeEncode",
"params": {
"hex_code": "",
"size_image": "",
"coder": "BASE64",
"format": "JPG"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "ucodeDecode",
"params": {
"base64_image": ""
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "getChannelAvatar",
"params": {
"channelid": "3436365645645645643456",
"coder": "BASE64",
"format": "JPG"
},
"token": "TEMPTOKEN"
}
Response
{
"result": "/9j/4AAQSkZJRgABAQGRolJicoKS.......CiiigAooooA//9k=",
"resultExtraInfo": {
"elapsed": "2"
}
}
Execute
Request
{
"method": "setProfileData",
"params": {
"nick": "new nick",
"firstName": "Jack",
"lastName": "Black"
},
"token": "TEMPTOKEN"
}
Response
{
"result": true
}
}
Execute
Request
{
"method":"getAvatarByKey",
"params": {
"pk":"CDEC99906E4F90799E4399592CC7C59E75BA0AC89FE7EB52C01A89F3F0C5F36A",
"coder":"BASE64",
"format":"JPG"
},
"token":"TEMPTOKEN"
}
Response
{
"result": "/9j/4AAQSkZJRgABAQGRolJicoKS.......CiiigAooooA//9k=",
"resultExtraInfo": {
"elapsed": "2"
}
}
Execute
Request
{
"method": "sendInstantMessage",
"params": {
"to": "9F0A36BC95EA653E05E39C6B6566AAC5B9B31FB41F15C9F4A0B8CCA6927B814F",
"text": "test"
},
"token": "TEMPTOKEN"
}
Response
{
"result": 49863,
"resultExtraInfo": {
"elapsed": "21"
}
}
Execute
Request
{
"method": "sendInstantQuote",
"params": {
"to": "9F0A36BC95EA653E05E39C6B6566AAC5B9B31FB41F15C9F4A0B8CCA6927B814F",
"text": "test",
"id_message": "232"
},
"token": "TEMPTOKEN"
}
Response
{
"result": 0,
"resultExtraInfo": {
"elapsed": "0"
}
}
Execute
Request
{
"method": "sendInstantSticker",
"params": {
"to": "9F0A36BC95EA653E05E39C6B6566AAC5B9B31FB41F15C9F4A0B8CCA6927B814F",
"collection": "434",
"name": "343"
},
"token": "TEMPTOKEN"
}
Response
{
"result": 49864,
"resultExtraInfo": {
"elapsed": "11"
}
}
Execute
Request
{
"method": "pinInstantMessage",
"params": {
"to": "9F0A36BC95EA653E05E39C6B6566AAC5B9B31FB41F15C9F4A0B8CCA6927B814F",
"messageId": "123",
"pin": true
},
"token": "TEMPTOKEN"
}
Response
{
"result": 0,
"resultExtraInfo": {
"elapsed": "0"
}
}
Execute
Request
{
"method": "getPinnedMessages",
"params": {
"pk": "9F0A36BC95EA653E05E39C6B6566AAC5B9B31FB41F15C9F4A0B8CCA6927B814F"
},
"token": "TEMPTOKEN"
}
Response
{
"result": 0,
"resultExtraInfo": {
"elapsed": "0"
}
}
Execute
Request
{
"method": "bookmarkInstantMessage",
"params": {
"messageId": 11,
"comments": "test"
},
"token": "TEMPTOKEN"
}
Response
{
"result": 0,
"resultExtraInfo": {
"elapsed": "0"
}
}
Execute
Request
{
"method": "getStickerCollections",
"params": {},
"token": "TEMPTOKEN"
}
Response
{
"result": [
"Default Stickers"
],
"resultExtraInfo": {
"elapsed": "0"
}
}
Execute
Request
{
"method": "getStickerNamesByCollection",
"params": {
"collection_name": "Default Stickers"
},
"token": "TEMPTOKEN"
}
Response
{
"result": [
"airstrike",
"rich",
"sick",
"hide",
"fries",
"knife",
"airship",
"gift"
],
"resultExtraInfo": {
"elapsed": "1"
}
}
Execute
Request
{
"method": "getImageSticker",
"params": {
"collection_name": "test",
"sticker_name": "test",
"coder": "1"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "sendInstantBuzz",
"params": {
"to": "9F0A36BC95EA653E05E39C6B6566AAC5B9B31FB41F15C9F4A0B8CCA6927B814F",
"comments": "test"
},
"token": "TEMPTOKEN"
}
Response
{
"result": 49866,
"resultExtraInfo": {
"elapsed": "8"
}
}
Execute
Request
{
"method": "sendInstantInvitation",
"params": {
"to": "9F0A36BC95EA653E05E39C6B6566AAC5B9B31FB41F15C9F4A0B8CCA6927B814F",
"channelid": "123",
"description": "123",
"comments": "123"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "removeInstantMessages",
"params": {
"hex_contact_public_key": "9F0A36BC95EA653E05E39C6B6566AAC5B9B31FB41F15C9F4A0B8CCA6927B814F"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "sendEmailMessage",
"params": {
"to": ["9F0A36BC95EA653E05E39C6B6566AAC5B9B31FB41F15C9F4A0B8CCA6927B814F", "nick_of_friend"],
"subject": "test",
"body": "test",
"attachmentFileId": ""
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "requestNewPublicKeyPaymentAlias",
"params": { },
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "getMyPublicKeyPaymentAliases",
"params": { "requestId": "12312312" },
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "verifyTransaction",
"params": { "source": "9F0A36BC95EA653E05E39C6B6566AAC5B9B31FB41F15C9F4A0B8CCA6927B814F",
"destination": "70AE0077C023EF30",
"amount": 1,4,
"currency": "CRP",
"batch": "0KC87SL67W585"},
"token": "TEMPTOKEN"
}
Response
{
"result": {
"request_id": "1855153199043290528"
},
"resultExtraInfo": {
"elapsed": "17"
}
}
After that you can use value of request_id to obtain responsefrom the server by api method getVerifyTransactionResponse
Execute
Request
{
"method": "verifyTransactionByHash",
"params": { "hash": "9F0A36BC95EA653E05E39C6B6566AAC5B9B31FB41F15C9F4A0B8CCA6927B814F"},
"token": "TEMPTOKEN"
}
Response
{
"result": {
"request_id": "1855153199043290528"
},
"resultExtraInfo": {
"elapsed": "17"
}
}
After that you can use value of request_id to obtain responsefrom the server by api method getVerifyTransactionResponse
Execute
Request
{
"method": "verifyVoucherByHash",
"params": { "hash": "9F0A36BC95EA653E05E39C6B6566AAC5B9B31FB41F15C9F4A0B8CCA6927B814F",
"voucherid": "USD-HREU-IAWP-LVCZ-XKND-S2B2" },
"token": "TEMPTOKEN"
}
Response
{
"result": {
"request_id": "1855153199043290528"
},
"resultExtraInfo": {
"elapsed": "17"
}
}
After that you can use value of request_id to obtain responsefrom the server by api method getVerifyTransactionResponse
Execute
Request
{
"method": "getVerifyTransactionResponse",
"params": { "requestId": "12312312" },
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "sendPayment",
"params": {
"to": "9F0A36BC95EA653E05E39C6B6566AAC5B9B31FB41F15C9F4A0B8CCA6927B814F",
"comment": "gift",
"cardid": "70AE0077C023EF30",
"amount": "10",
"currency": "CRP"
},
"token": "TEMPTOKEN"
}
Possible erros:
- Corresponded source card is not present
- Corresponded amount must be more than 0.01 UUSD
- Corresponded amount must be multiple one cent
- Corresponded amount and fee must be more than your balance, your amount
Execute
Request
{
"method": "addDelegate",
"params": {
"pk": "CDEC99906E4F90799E4399592CC7C59E75BA0AC89FE7EB52C01A89F3F0C5F360",
"amount": "10"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "revokeDelegated",
"params": {
"pk": "CDEC99906E4F90799E4399592CC7C59E75BA0AC89FE7EB52C01A89F3F0C5F360"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "getDPoSInfo",
"params": {},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "sendInvoice",
"params": {
"comment": "",
"cardid": "123",
"amount": ""
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "acceptInvoice",
"params": {
"invoiceid": "123"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "declineInvoice",
"params": {
"invoiceid": "123"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "requestUnsTransfer",
"params": {
"name": "e22",
"hexNewOwnerPk": "77D1832EBB35F233A1BB4B4AD9ECC7774F8F2000733EAA81F615A9173A487A52"
},
"token": "TEMPTOKEN"
}
Response
{
"result": "8EF88CC4055DB9A71AF60FBB3A48300BC051DC000B636AA020F4E5FF0433BD84",
"resultExtraInfo": {
"elapsed": "2"
}
}
Execute
Request
{
"method": "acceptUnsTransfer",
"params": {
"requestId": "123"
},
"token": "TEMPTOKEN"
}
Response
{
"result": "656863B6D6AA80C0B38DF1D6C64FDC7FBCD658736D666EE2EC22B55DA2052560",
"resultExtraInfo": {
"elapsed": "3"
}
}
Execute
Request
{
"method": "declineUnsTransfer",
"params": {
"requestId": "123"
},
"token": "TEMPTOKEN"
}
Response
{
"result": "656863B6D6AA80C0B38DF1D6C64FDC7FBCD658736D666EE2EC22B55DA2052560",
"resultExtraInfo": {
"elapsed": "3"
}
}
Execute
Request
{
"method": "incomingUnsTransfer",
"token": "TEMPTOKEN"
}
Response
{
"result": [
],
"resultExtraInfo": {
"elapsed": "0"
}
}
Execute
Request
{
"method": "outgoingUnsTransfer",
"token": "TEMPTOKEN"
}
Response
{
"result": [
],
"resultExtraInfo": {
"elapsed": "0"
}
}
Execute
Request
{
"method": "storageWipe",
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "cancelInvoice",
"params": {
"invoiceid": "123"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "getTransactionIdByReferenceNumber",
"params": {
"referenceNumber": "123",
"fullInfo": true
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "getInvoiceByReferenceNumber",
"params": {
"referenceNumber": "123"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "getInvoices",
"params": {
"parameters": {
"cardId": "",
"invoiceId": "",
"pk": "",
"transactionId": "",
"status": "",
"startDateTime": "",
"endDateTime": "",
"referenceNumber": ""
}
},
"token": "TEMPTOKEN"
}
Response
{
"result": [
],
"resultExtraInfo": {
"elapsed": "0"
}
}
Execute
Request
{
"method": "getVouchers",
"params": {
"currency": "CRP"
},
"token": "TEMPTOKEN"
}
Response
{
"result": [
],
"resultExtraInfo": {
"elapsed": "0"
}
}
Execute
Request
{
"method": "getCards",
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "enableMining",
"params": {
"enable": "true"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "enablePoS",
"params": {
"enable": "true"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "enableHistoryMining",
"params": {
"enable": "true"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "statusHistoryMining",
"params": {},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "getMiningBlocks",
"params": {},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "getMiningBlocksWithTreasury",
"params": {
"fromBlockId": "71464",
"toBlockId": "",
"limit": ""} ,
"token": "TEMPTOKEN"
}
Response
{
"result": [
{
"dateTime": "2022-05-13T09:46:17.392Z", - time of block
"id": 86926, - id of mining block
"involvedIn": false,
"involvedInCount": 1, - count your miners that have mined in this block
"numberMiners": 18252, - total count of miners that have mined in this block
"price": 0.002629848, - price for one block
"treasury": {
"CRP": [
{
"amount": 6567876.338597688, - total amount of CRP
"type": "TOTAL_AMOUNT",
"volume": 178339 - total count of wallets with CRP
},
{
"amount": 6400547.52158307, - total supply of CRP after mining
"type": "TOTAL_SUPPLY",
"volume": 86476 - total count of wallets with CRP
},
{
"amount": 16445706.66712978, - total transferred amount in CRP
"type": "AMOUNT_BY_TRANSACTIONS_ALL",
"volume": 314797 - total transaction in CRP
}
],
"UUSD": [
{
"amount": 999217.233752968, - total amount of UUSD
"type": "TOTAL_AMOUNT",
"volume": 177871 - total count of wallets with UUSD
}
]
}
},
....
Execute
Request
{
"method": "getMiningInfo",
"params": {},
"token": "TEMPTOKEN"
}
Response
{
"result": {
"minedAllTime": 0,
"minedSession": 0
},
"resultExtraInfo": {
"elapsed": "0"
}
}
Execute
Request
{
"method": "addCard",
"params": {
"color": "",
"name": "test",
"preorderNumberInCard": ""
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "deleteCard",
"params": {
"cardId": "123"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "createVoucher",
"params": {
"amount": "1",
"currency": "CRP"
},
"token": "TEMPTOKEN"
}
Response
{
"result": "C22CBFA08DC02C7CE27811DFABC2812828A7075CFDEF807355742D7931664241",
"resultExtraInfo": {
"elapsed": "2"
}
}
Execute
Request
{
"method": "createVoucherBatch",
"params": {
"amount": "1",
"count": "5",
"currency": "CRP"
},
"token": "TEMPTOKEN"
}
Response
{
"result": "C22CBFA08DC02C7CE27811DFABC2812828A7075CFDEF807355742D7931664241",
"resultExtraInfo": {
"elapsed": "2"
}
}
Execute
Request
{
"method": "useVoucher",
"params": {
"voucherid": "UTP-LWG3-ETOR-XPYC-NVSU-MHJ3"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "deleteVoucher",
"params": {
"voucherid": "UTP-LWG3-ETOR-XPYC-NVSU-MHJ3"
},
"token": "TEMPTOKEN"
}
Response
{
"result": "B0C719276EDD5DFCA519E9EF16B1FF64D582A9731C8FC7E60A3F200E68D0B9A0",
"resultExtraInfo": {
"elapsed": "2"
}
}
Execute
Request
{
"method": "sendAuthorizationRequest",
"params": {
"pk": "FC4A715DF0C71B4623EBB56876262945D81C48972F2A34060892D17D55C88418",
"message": "123"
},
"token": "TEMPTOKEN"
}
Response
{
"result": true,
"resultExtraInfo": {
"elapsed": "23"
}
}
Execute
Request
{
"method": "acceptAuthorizationRequest",
"params": {
"pk": "FC4A715DF0C71B4623EBB56876262945D81C48972F2A34060892D17D55C88418",
"message": ""
},
"token": "TEMPTOKEN"
}
Response
{
"result": true,
"resultExtraInfo": {
"elapsed": "10"
}
}
Execute
Request
{
"method": "rejectAuthorizationRequest",
"params": {
"pk": "FC4A715DF0C71B4623EBB56876262945D81C48972F2A34060892D17D55C88418",
"message": "123"
},
"token": "TEMPTOKEN"
}
Response
{
"result": true,
"resultExtraInfo": {
"elapsed": "78"
}
}
Execute
Request
{
"method": "getChannels",
"params": {
"filter": "talk",
"channel_type": "5",
"from": "", // or "2019-11-23T10:00:00.001",
"to": "" // or "2021-11-23T10:00:00.001"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "sendChannelMessage",
"params": {
"channelid": "123",
"message": "123"
},
"token": ""
}
Execute
Request
{
"method": "sendChannelPicture",
"params": {
"channelid": "C160AB99F292C98746C3EA6ABB6AC7CD",
"base64_image": "af44......",
"comment": "gift"
"filename_image": "a.gif"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "sendChannelQuote",
"params": {
"channelid": "123",
"text": "test",
"id_message": "12345"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "removeChannelMessage",
"params": {
"channelid": "123",
"id_message": "12345"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "enableChannelNotification",
"params": {
"channelid": "123",
"enabled": false
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "getChannelMessages",
"params": {
"channelid": "123",
"limitRows": 1
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "getChannelInfo",
"params": {
"channelid": "123"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "getChannelModerators",
"params": {
"channelid": "123"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "getChannelModeratorRight",
"params": {
"channelid": "123",
"moderator": "1"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "createChannel",
"params": {
"channel_name": "",
"description": "",
"read_only": "",
"read_only_privacy": "",
"password": "",
"languages": "",
"hashtags": "",
"geoTag": "",
"base64_avatar_image": "",
"hide_in_UI": ""
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "modifyChannel",
"params": {
"channelid": "",
"description": "",
"read_only": "",
"read_only_privacy": "",
"password": "",
"languages": "",
"hashtags": "",
"geoTag": "",
"base64_avatar_image": "",
"hide_in_UI": ""
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "modifyChannelTitle",
"params": {
"channelid": "123",
"newTitle": "new title",
"password": "pass"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "modifyChannelPassword",
"params": {
"channelid": "123",
"newPassword": "new pass",
"password": "pass"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "deleteChannel",
"params": {
"channelid": "123"
"password": "pass"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "getChannelSystemInfo",
"params": {},
"token": "TEMPTOKEN"
}
Response
{
"result": {
"local_db_channels": 2972,
"last_downloaded_channel": "IMAGES",
"peers_connected": 16,
"total_channels": 3081
},
"resultExtraInfo": {
"elapsed": "0"
}
}
Execute
Request
{
"method": "leaveChannel",
"params": {
"channelid": "123"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "joinChannel",
"params": {
"ident": "123",
"password": "123"
},
"token": "TEMPTOKEN"
}
Possible errrors:
- Cannot find channel by corresponded ident
- Your password is incorrect
- Your don't have right to join
Execute
Request
{
"method": "fetchChannelHistory",
"params": {
"channelid": "123"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "unsCreateRecordRequest",
"params": {
"nick": "",
"valid (obsolete)": "",
"isPrimary": "false",
"channelId": ""
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "unsModifyRecordRequest",
"params": {
"nick": "",
"valid": "",
"isPrimary": "false",
"channelId": ""
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "unsDeleteRecordRequest",
"params": {
"nick": ""
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "unsHistoryName",
"params": {
"name": "test"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "unsSearchByPk",
"params": {
"filter": "2323"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "unsSearchByNick",
"params": {
"filter": "qwe"
},
"token": "TEMPTOKEN"
}
Response
{
"result": [
],
"resultExtraInfo": {
"elapsed": "9"
}
}
Execute
Request
{
"method": "unsRegisteredNamesByDatetimes",
"params": {
"from": "2019-11-23T10:00:00.001",
"to": "2021-11-23T10:00:00.001"
},
"token": "TEMPTOKEN"
}
Response
{}
Execute
Request
{
"method": "unsUnregisteredNamesByDatetimes",
"params": {
"from": "2019-11-23T10:00:00.001",
"to": "2021-11-23T10:00:00.001"
},
"token": "TEMPTOKEN"
}
Response
{}
Execute
Request
{
"method": "summaryUnsRegisteredNames",
"params": {
"fromDate": "2019-11-23",
"toDate": ""
},
"token": "TEMPTOKEN"
}
Response
{
"result": {
"records": [
],
"summary": {
"registred_during_selected": 0,
"registred_during_year": 0,
"registred_names": 3614,
"registred_users": 154
}
},
"resultExtraInfo": {
"elapsed": "78"
}
}
Execute
Request
{
"method": "getUnsSyncInfo",
"params": {},
"token": "TEMPTOKEN"
}
Response
{
"result": {
"last_record_names_registered": "security-test-not-delete",
"local_blocks": 15583,
"peers_connected": 16,
"state": "Idle",
"total_blocks": 15583
},
"resultExtraInfo": {
"elapsed": "0"
}
}
Execute
Request
{
"method": "unsRegisteredNames",
"params": {},
"token": "TEMPTOKEN"
}
Response
{
"result": [
],
"resultExtraInfo": {
"elapsed": "8"
}
}
Execute
Request
{
"method": "getEmailFolder",
"params": {
"folderType": "1",
"filter": ""
},
"token": "TEMPTOKEN"
}
Response
{
"result": [
1178,
1012,
990,
251,
242,
233,
47
],
"resultExtraInfo": {
"elapsed": "0"
}
}
Execute
Request
{
"method": "getEmails",
"params": {
"folderType": "1",
"filter": ""
},
"token": "TEMPTOKEN"
}
Response
{
"result": [
{
"dateTime": "2017-06-14T11:14:31.157Z",
"from": "82348F684E8C3E2F8E0EF3C960D25619F813D7A2ABB049FB79A370D39A987F3D",
"id": 1178,
"size": 50,
"subject": "",
"to": [
"CFF4DB80DCA10BD2317D538FF790A03EDA26274768E5EB04E0FDA51989131F32"
]
},
{
"dateTime": "2016-12-08T16:08:48.617Z",
"from": "FC496FE0D634C0475838DAEBEFA2F841398CDACCCC2E8F030D4ABEC490878715",
"id": 1012,
"size": 139635,
"subject": "",
"to": [
"CFF4DB80DCA10BD2317D538FF790A03EDA26274768E5EB04E0FDA51989131F32"
]
}
}
Execute
Request
{
"method": "getEmailById",
"params": {
"id": "33"
},
"token": "TEMPTOKEN"
}
Response
{
"result": {
"body": "",
"date": null,
"flags": 0,
"from": "",
"id": "",
"subject": "",
"to": [
]
},
"resultExtraInfo": {
"elapsed": "0"
}
}
Execute
Request
{
"method": "acceptAttachment",
"params": {
"emailId": "403590",
"fileId": "403595"
},
"token": "TEMPTOKEN"
}
Response
{
"result": false,
"resultExtraInfo": {
"elapsed": "0"
}
}
Execute
Request
{
"method": "abortAttachment",
"params": {
"emailId": "403590",
"fileId": "403595"
},
"token": "TEMPTOKEN"
}
Response
{
"result": false,
"resultExtraInfo": {
"elapsed": "0"
}
}
Execute
Request
{
"method": "acceptFileMessage",
"params": {
"messageId": "403590"
},
"token": "TEMPTOKEN"
}
Response
{
"result": false,
"resultExtraInfo": {
"elapsed": "0"
}
}
Execute
Request
{
"method": "abortFileMessage",
"params": {
"messageId": "403590"
},
"token": "TEMPTOKEN"
}
Response
{
"result": false,
"resultExtraInfo": {
"elapsed": "0"
}
}
Execute
Request
{
"method": "deleteEmail",
"params": {
"id": "33"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "sendReplyEmailMessage",
"params": {
"id": "33",
"body": "hi",
"subject": "new subject",
"attachmentFileId": 1
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "sendForwardEmailMessage",
"params": {
"id": "33",
"to": "FC4A715DF0C71B4623EBB56876262945D81C48972F2A34060892D17D55C88418",
"body": "11",
"subject": "new subject",
"attachmentFileId": 123
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "sendEmailInvitation",
"params": {
"channelid": "33",
"to": "9F0A36BC95EA653E05E39C6B6566AAC5B9B31FB41F15C9F4A0B8CCA6927B814F",
],
"description: "description text,
"comments": "test"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "emptyEmailsTrash",
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "setChannelAsBookmarked",
"params": {
"channelid": "33",
"bookmarked": true
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "clearTrayNotifications",
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "getNetworkConnections",
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "enableLogs",
"params": {
"enable": true
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "getLogs",
"params": {
"countLatestRecords": "10"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "clearNetHostDatabase",
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "enableProxyMapping",
"params": {
"mappingId": "1"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "disableProxyMapping",
"params": {
"mappingId": "1"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "removeProxyMapping",
"params": {
"mappingId": ""
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "getProxyMappings",
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "createProxyMapping",
"params": {
"srcHost": "",
"srcPort": "",
"dstHost": "",
"dstPort": "",
"enabled": ""
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "lowTrafficMode",
"params": {},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "setLowTrafficMode",
"params": {
"enabled": "false"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "getWhoIsInfo",
"params": {
"owner": ""
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "requestTreasuryPoSRates",
"params": {},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "getTreasuryPoSRates",
"params": {},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "requestTreasuryTransactionVolumes",
"params": {},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "getTreasuryTransactionVolumes",
"params": { "currency": "CRP"},
"token": "TEMPTOKEN"
}
Response
{
"result": {
"summary": {
"allTimeAmount": "10168160.212781259",
"allTimeTransactionVolume": "19699"
},
"transactions": [
{
"amount": 0,
"date": "2019-12-01",
"volume": 0
},
...
{
"amount": 80.556958762,
"date": "2021-08-13",
"volume": 31
},
{
"amount": 1.06,
"date": "2021-08-14",
"volume": 3
}
]
},
"resultExtraInfo": {
"elapsed": "9"
}
}
Execute
Request
{
"method": "requestTreasuryUUSDSupply",
"params": {},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "getTreasuryUUSDSupply",
"token": "TEMPTOKEN"
}
Response
{
"result": {
"records": [
{
"date": "2021-07-01",
"supply": 0
},
{
"date": "2021-08-08",
"supply": 983.569459
},
{
"date": "2021-08-09",
"supply": 983.436858998
},
{
"date": "2021-08-10",
"supply": 983.360269098
}
],
"totalSupply": "983.36"
},
"resultExtraInfo": {
"elapsed": "0"
}
}
Execute
Request
{
"method": "requestTreasuryCrpSupply",
"params": {},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "getTreasuryCrpSupply",
"token": "TEMPTOKEN"
}
Response
{
"result": {
"records": [
{
"date": "2021-07-01",
"supply": 0
},
{
"date": "2021-08-08",
"supply": 983.569459
},
{
"date": "2021-08-09",
"supply": 983.436858998
},
{
"date": "2021-08-10",
"supply": 983.360269098
}
],
"totalSupply": "983.36"
},
"resultExtraInfo": {
"elapsed": "0"
}
}
Execute
Request
{
"method": "getWebSocketState",
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "setWebSocketState",
"params": {
"enabled": "",
"port": "",
"enablessl": true,
"notifications": "all",
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "getTransfersFromManager",
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "getFilesFromManager",
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "abortTransfers",
"params": {
"transferId": ""
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "hideTransfers",
"params": {
"transferId": ""
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "getFile",
"params": {
"fileId": ""
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "deleteFile",
"params": {
"fileId": ""
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "sendFileByMessage",
"params": {
"to": "",
"fileId": ""
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "requestHistoryByDate",
"params": {
"from": "2016-12-08T16:08:48.617Z",
"to": "2016-12-09T16:08:48.617Z"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "requestHistoryByBatch",
"params": {
"batch": "062XGHV2NDFYZ",
"currency": "CRP"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "createSmartToken",
"params": {
"name": "NEW_TOKEN",
"code": "NEWTNK",
"description": "test new token",
"emission": 1
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "requestGetSmartTokenInfo",
"params": {
"code": "NEWTNK"
},
"token": "TEMPTOKEN"
}
Execute
Request
{
"method": "uploadFile",
"params": {
"fileDataBase64": "12121",
"fileName": "test.jpg"
},
"token": "TEMPTOKEN"
}
Execute