# DApp

WebView Statter's built-in WebView uses the native kernel of the Chrome platform (WebView refers to the context in which a DApp or Web App is run within a Statter application).

We provide an example https://statter.io/DApp-demo (opens new window) (Source code (opens new window)) , which you can view by entering the address in the Statter wallet DApp search bar.

# 1. isStatterEnv

  1. Check if currently in Statter WebView environment.
  2. Types
boolean
  1. Use examples
window.statter.isStatterEnv();

# 2. getVersion

  1. Get the current version of the statter App.
  2. Types
string
  1. Use example
window.statter.getVersion();

# 3. getCurrentLanguage

  1. Get the current language environment, which usually comes from the user's settings within the imToken application.
  2. Types
string
  1. Use examples
window.statter.getCurrentLanguage();

# 4. shareText

  1. Share links or other text
  2. Whether you can successfully share depends on the user's confirmation and permission
  3. Use examples
var title;
var url;
window.statter.shareText(title,url);

# 5. shareImage

  1. The shared content is an image and needs to be converted to base64 format in advance.
  2. The success of the sharing depends on the user's confirmation and whether the user allows permissions.
  3. Use examples
var title;
var image;
window.statter.shareImage(title,image);

# 6. scanQRCode

  1. Add the following method to your code to receive the content of the QR code
function getQRCode(code){
  //content of the QR code
}

2.Use examples

window.statter.scanQRCode();

# 7. closeDapp

  1. Close the current DApp.
  2. Use examples
window.statter.closeDapp();

# 8. goBack

  1. Return to the previous route.
  2. Use examples
window.statter.goBack();

# 9. setTitle

  1. Dynamically set DApp title. No effect to document.title.
  2. Use examples
var title ='title';
window.statter.setTitle(title);

# 10. getWalletSTT

  1. Get a STT wallet address.
  2. If you want to receive a wallet address in your code, you can use the following method to do that.
function getWalletAddress(address,code) {
  //address
  //code See return code for details
}
  1. Use examples
window.statter.getWalletSTT();

# 11. getWallet

  1. Get wallet based on wallet type.
  2. If you want to receive a wallet address in your code, you can use the following method to do that.
function getWalletAddress(address,code) {
  //address
  //code See return code for details
}
  1. Use examples
var tokenType ='3002';
window.statter.getWallet(tokenType);

# 12. transferSTT

  1. STT transfer method
  2. If you need to receive the hash for successful transfers or failure statuses in your code, please add the following method.
function isTransferSTT(hash,code) {
    //hash
    //code (See return code for details)
}
  1. Use examples
var fromAddress;//Payment address
var toAddress;//To address
var amount;//number
var gas='2002';//gas Fuel surcharge
window.statter.transferSTT(fromAddress,toAddress,amount,gas);

# 13. transferSttToken

  1. STT Token Transfer Method
  2. If you need to receive the hash for successful transfers or failure statuses in your code, please add the following method.
function isTransferSttToken(hash,code) {
    //hash
    //code (See return code for details)
}
  1. Use examples
var fromAddress;//Payment address
var toAddress;//To address
var amount;//number
var gas='2002';//gas Fuel surcharge
var contractName; //The contract of
window.statter.payToken(fromAddress,toAddress,amount,gas,contractName);

# 14. transferTRX

  1. TRX transfer method
  2. If you need to receive the hash for successful transfers or failure statuses in your code, please add the following method.
function isTransferTRX(hash,code) {
    //hash
    //code (See return code for details)
}
  1. Use examples
var fromAddress;//Payment address
var toAddress;//To address
var amount;//number
window.statter.transferTRX(fromAddress,toAddress,amount)

# 15. transferTRC20Token

  1. TRC token transfer method
  2. If you need to receive the hash for successful transfers or failure statuses in your code, please add the following method.
function isTransferTRC20Token(hash,code) {
    //hash
    //code (See return code for details)
}
  1. Use examples
var fromAddress;//Payment address
var toAddress;//To address
var amount;//number
var tokenId;//The contract of
window.statter.transferTRC20Token(fromAddress,toAddress,amount,tokenId)

# 16. Example return code

code meaning
1001 successful
1002 failure
1003 Lack of balance(Balance at STT transfer+Gas,When it comes to token transfers, it refers to Gas)
1004 Insufficient token balance
1005 There is no contract
1006 Wallets don't exist
1007 User cancel operation

# 17. Gas

code meaning
2001 slow gas is 0.001 STT
2002 medium gas is 0.005577 STT
2003 fast gas is 0.009 STT

# 18. Obtain wallet address sample code

code meaning
3001 STT
3002 TRX

# DApp-WalletConnect v2.0

ETH, BSC and STT support WalletConnect v2.0. For detailed integration instructions, please visit the WalletConnect official website and refer to the integration documentation. Alternatively, you can access the WalletConnect integration documentation through the following link: https://docs.walletconnect.com/2.0 (opens new window)

STT chain ID and supported methods:

chainId:[stt:838484]

supported method: ['stt_signTransaction']

parameters

[
  {
    from: "stt7ed9e54baa0e91a1ae5ab472fa799395",
    to: "sttc9e92a5edd361e446ca39eea03bcbe53",
    data: "0x", //Please fill in 0x for main currency transfer, Fill in the contractName (token contract name) when transferring tokens
    gasPrice: "",
    gas: "",
    value: "1.1", //amount
  },
]

# Statter API

# 1. Create wallet address

Basic information

url:http://154.91.83.138:8083/tokdesktop/createAccount

method: POST

Content-Type:multipart/form-data

Response

{
  "code": "1",
  "msg": "Creation successfully!",
  "content": {
    "id": 0,
    "address": "sttd7e2a38afbd233fdcac87f8f997c5456",
    "publicKey": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDBItvoMeaJNxbA2/TvIJBh7HDQQzpD4dKNKwPYmKWaLMf/0NJ7tM2buHfgCgjxoBaTCxtDnM5pAc48qUbsP9UXNOFiPKIgoPd3zxAzXk3hsC5sWUAUYvUBVZMvnv47Fu+xwAfqqkQAUMzmW2caCALBXP9lrpSboDx/CQlKPpXliQIDAQAB",
    "privateKey": "MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAMEi2+gx5ok3FsDb9O8gkGHscNBDOkPh0o0rA9iYpZosx//Q0nu0zZu4d+AKCPGgFpMLG0OczmkBzjypRuw/1Rc04WI8oiCg93fPEDNeTeGwLmxZQBRi9QFVky+e/jsW77HAB+qqRABQzOZbZxoIAsFc/2WulJugPH8JCUo+leWJAgMBAAECgYBLfWSXDWoel/m8yDykewX0QIaX4K8VeV7i7r1CG+geqwJBa03aLIFxLFkuqL12NCyerOirNM85HAuQilm+XfTbvvNmNn3GoOqLKi5WVBMaJLJi4jQxCDjRb2/6kMYQihNAuPYWu07AdTMHH2Ys5b0w8ZBt1LGQ2VqbjE7Gip2UQQJBAO9dMndLYiBrQGYCS7DCAI+bdyw8+xO3RIXYJYshkEGOj46SoJTAHeZ02RikZriJRFkjlPK7MsiPE56RefOUi0sCQQDOjysI78wbUbtwy2GoVdnako/pyIsIyWTIrk6qzSTV+ytYZ9xg7uZfmIc9gscE3D1jJTcttEHgrV7f5DKJpRn7AkAWeu9BavAFUW1T50VKjX3V/ujbW8LM4DpsQ5eLEJTmw0fSQQ0Zy01DlpfJC6+mByZHJONZRKGJWn6iNtF4QewvAkEAqZA/jKOFUvviOjLK5SwsnU/pEcoN0FW7BT6J14516a65I2aHM4+Jz/nfMzBy/dtqDUSUqlEqLy1DD9o9Xl8JFwJBAImpkH5+YHWvsieRFLSEFKq4FNJoJVZzXbXscLx9E32jhnfSkM9Jlr5cDFa8nNu6gE06D6zGsIZwASx/qUBziOE=",
    "amount": null,
    "createTime": null,
    "type": null,
    "byname": null
  }
}

# 2. Create the wallet address based on the path

Basic information

url:http://154.91.83.138:8083/tokdesktop/createFileAccount

method: POST

Content-Type:multipart/form-data

Request

Request Parameter Data Type Required Description
fileUrl String true The path to save the wallet file

Response

{
  "code": "1",
  "msg": "Creation successfully!",
  "content": {
  "id": 0,
    "address": "stt90852dd5e630dfca89532e915c9ca908",
    "publicKey": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCNdxIzw7R2p8U5oP7qvjUcZ5I9qy3OTq5bBVLDcICMZ+ahfJ0NUVF7nTcjxQNU8inrfdkYPaJn8X/DGH78y7IJo/Y6rep0fscOu5KvvcaX9jWjhNZ2ZPsxpc6rR7vtOC0GSTpCxiV4zEffTscyECPhgkjjUl5zGcJPm/R83ZsUoQIDAQAB",
    "privateKey": "MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAI13EjPDtHanxTmg/uq+NRxnkj2rLc5OrlsFUsNwgIxn5qF8nQ1RUXudNyPFA1TyKet92Rg9omfxf8MYfvzLsgmj9jqt6nR+xw67kq+9xpf2NaOE1nZk+zGlzqtHu+04LQZJOkLGJXjMR99OxzIQI+GCSONSXnMZwk+b9HzdmxShAgMBAAECgYA48VD2XTRq/qU4yUFTJDUktdv7zselX653HPFvkf1shvYi0pI1JiJya5oiX88zhjaxf/q+8zBIPsF6uoWDJEsJVRpCTRj8grfpHO2FrAaGMhfjyabx3CzSucAxnt1GshH7ZCDiszBjCZFTZT0URlQzM2w9d3po/bu0WSy1B2HyMQJBAMR5+C+Vf1jcKKSE2NVAa0KPcORB6MEoqgPMeG8X3iuVzwWSK1yfR2Lu1AZW0yrzEC7Ocuak4PmAJJs6DTNV/8cCQQC4Up1VCYUf0bU/8SDXF9+G6VVakPKwmyXxjkHqn7wkTS1Ya9HP5OylqpcAFDQpxrcW2eHY/ypnov81WrD+ZZhXAkBVthfNOlyZuUGJs+Kb9URVfxnymcYeLc0tZw/K9xCW1v2/ImsENv//aszYDxyEChEvOiTp9VenwH03snV7xbKVAkAA5mZeQ+2ieiOobET8x+EPh5QjHRISSq+kvk0UGDOS+c1+4QflO/jr1ilmlrKqgY3jTq0LojNSzjjwycCTfWuBAkEAmXKc65SIa8neZS7LYKThtsswW9nSnFUSEkZGfkbeJBOQnb28sjTAykPIWMDC6hQeLKAVMPIl0fyTy31lDtKk2A==",
    "amount": null,
    "createTime": null,
    "type": null,
    "byname": null
  }
}

# 3. Query account transaction information

Basic information

url:http://154.91.83.138:8083/tokdesktop/accountTransactionRecords

method: POST

Content-Type:multipart/form-data

Request

Request Parameter Data Type Required Description
account String true Wallet address

Response

{
  "code": "1",
  "msg": "Query successful",
  "content": "{\"amount\":1.08,\"list\":[{\"blockIndex\":\"143079\",\"tradeNo\":\"stMsgeb4c0d343a3d8fd35b05f319bbf495b16aaf6f59\",\"from\":\"stta34e8eadbb82022875038297ec42f14f\",\"amount\":\"0.0100000\",\"to\":\"stt00000000000000000000000000000000\",\"gas\":\"0\",\"tradeTime\":\"2023-05-08 07:57:42\",\"confirmNumber\":\"1\",\"contractName\":null,\"tradeStatus\":null,\"amountType\":\"-\",\"statusDescription\":null},{\"blockIndex\":\"143079\",\"tradeNo\":\"stMsg55536c5be11773b3754ae04bc597f0f752752046\",\"from\":\"stta34e8eadbb82022875038297ec42f14f\",\"amount\":\"0.1\",\"to\":\"stt4521088bb6602e9da609749dd374cd8b\",\"gas\":\"0.01\",\"tradeTime\":\"2023-05-08 12:57:34:802\",\"confirmNumber\":\"1\",\"contractName\":null,\"tradeStatus\":null,\"amountType\":\"-\",\"statusDescription\":null},{\"blockIndex\":\"143072\",\"tradeNo\":\"stMsg9482a16eb239f9b9913388540cf619da696fa417\",\"from\":\"stt4521088bb6602e9da609749dd374cd8b\",\"amount\":\"0.1\",\"to\":\"stta34e8eadbb82022875038297ec42f14f\",\"gas\":\"0.01\",\"tradeTime\":\"2023-05-08 12:56:20:020\",\"confirmNumber\":\"1\",\"contractName\":null,\"tradeStatus\":null,\"amountType\":\"+\",\"statusDescription\":null},{\"blockIndex\":\"141800\",\"tradeNo\":\"stMsg3909dd936a2414e1c6f324bad9c8b1d309e01fcb\",\"from\":\"stt4521088bb6602e9da609749dd374cd8b\",\"amount\":\"0.1\",\"to\":\"stta34e8eadbb82022875038297ec42f14f\",\"gas\":\"0.01\",\"tradeTime\":\"2023-05-08 07:26:18:425\",\"confirmNumber\":\"1\",\"contractName\":null,\"tradeStatus\":null,\"amountType\":\"+\",\"statusDescription\":null},{\"blockIndex\":\"141736\",\"tradeNo\":\"stMsg6d02156bc280e63b61f6db6e8ce2b98b10fdaa8d\",\"from\":\"stta34e8eadbb82022875038297ec42f14f\",\"amount\":\"0.0100000\",\"to\":\"stt00000000000000000000000000000000\",\"gas\":\"0\",\"tradeTime\":\"2023-05-08 02:13:58\",\"confirmNumber\":\"1\",\"contractName\":null,\"tradeStatus\":null,\"amountType\":\"-\",\"statusDescription\":null},{\"blockIndex\":\"141736\",\"tradeNo\":\"stMsgc294268079349fc98028fe703149540bb8a88d62\",\"from\":\"stta34e8eadbb82022875038297ec42f14f\",\"amount\":\"0.1\",\"to\":\"stta34e8eadbb82022875038297ec42f14f\",\"gas\":\"0.01\",\"tradeTime\":\"2023-05-08 07:13:52:719\",\"confirmNumber\":\"1\",\"contractName\":null,\"tradeStatus\":null,\"amountType\":\"+\",\"statusDescription\":null},{\"blockIndex\":\"141736\",\"tradeNo\":\"stMsgc294268079349fc98028fe703149540bb8a88d62\",\"from\":\"stta34e8eadbb82022875038297ec42f14f\",\"amount\":\"0.1\",\"to\":\"stta34e8eadbb82022875038297ec42f14f\",\"gas\":\"0.01\",\"tradeTime\":\"2023-05-08 07:13:52:719\",\"confirmNumber\":\"1\",\"contractName\":null,\"tradeStatus\":null,\"amountType\":\"-\",\"statusDescription\":null},{\"blockIndex\":\"141581\",\"tradeNo\":\"stMsg1f2e243a96a1a3004f1efd320bfd919c2f7ef073\",\"from\":\"stta0b5ca5cbf93e541f7c74dc55870b649\",\"amount\":\"1\",\"to\":\"stta34e8eadbb82022875038297ec42f14f\",\"gas\":\"0.001288\",\"tradeTime\":\"2023-05-08 01:43:56\",\"confirmNumber\":\"1\",\"contractName\":null,\"tradeStatus\":null,\"amountType\":\"+\",\"statusDescription\":null}],\"storageTradeRecords\":[],\"loanByFBDTTradeRecords\":[],\"loanByTOKTradeRecords\":[],\"repaymentTradeRecords\":[],\"createContractRecords\":[],\"mineTaxTradeRecords\":[],\"minePledgeTradRecords\":[]}"
}

# 4. Query transaction records based on the transaction hash

Basic information

url:http://154.91.83.138:8083/tokdesktop/getTransactionbyHash

method: POST

Content-Type:multipart/form-data

Request

Request Parameter Data Type Required Description
hash String true Hash

Response

{
  "code": "1",
  "msg": "query was successful",
  "content": {
    "id": 41776,
    "blockIndex": "146702",
    "tradeNo": "stMsg5fa619f0d32d06fc4a416410bd7de417ca2089aa",
    "fromAddress": "SYSTEM_ACCOUNT_ADDRESS",
    "toAddress": "stt861b58b331ae8b79a1c652f9c4ff5d72",
    "tradeBody": "{\"tradeNo\":\"stMsg5fa619f0d32d06fc4a416410bd7de417ca2089aa\",\"from\":\"SYSTEM_ACCOUNT_ADDRESS\",\"publicKey\":\"\",\"preBlockIndex\":\"\",\"preTradeNo\":\"\",\"fromLeft\":\"\",\"tradeAmount\":\"112.00\",\"to\":\"stt861b58b331ae8b79a1c652f9c4ff5d72\",\"gas\":\"0.000000\",\"tradeTime\":\"2023-05-08 22:23:01\",\"contractNumber\":\"STCONTRACT\",\"tradeLimit\":\"\",\"sign\":\"\"}",
    "tradeType": null,
    "tradeTime": "2023-05-08 22:23:01",
    "contractName1": "STCONTRACT",
    "contractName2": null,
    "tradeAmount": "112.00",
    "blockHash": "stMsg21c2cb2d415901ba0ac472261a8fdbc355721fee",
    "balance": null,
    "unit": null
  }
}

# 5. Query balance

Basic information

url:http://154.91.83.138:8083/tokdesktop/getAccountBalance

method: POST

Content-Type:multipart/form-data

Request

Request Parameter Data Type Required Description
account String true Wallet address
contractName String true Contract name

Response

{
  "code": "1",
  "msg": "Query successful",
  "content": "{\"status\":1,\"msg\":5194820.997256}"
}

# 6. Query the highest block number

Basic information

url:http://154.91.83.138:8083/tokdesktop/getHighestBlock

method: POST

Content-Type:multipart/form-data

Response

{
  "code": "1",
  "msg": "Query successful",
  "content": "143105"
}

# 7. Query the average gas of the whole network

Basic information

url:http://154.91.83.138:8083/tokdesktop/getGas

method: POST

Content-Type:multipart/form-data

Response

{
  "code": "1",
  "msg": "Query successful",
  "content": "0.0051 "
}

# 8. Query the list of tokens

Basic information

url:http://35.232.159.135:8088/ws-wallet/dataController/getContractList

method: POST

Response

{
  "contract": [
    {
      "id": 0,
      "contractName": "USTT",
      "tokenAddress": "contractstted2725f5020a0c6ff9e62999cf4cea9cUSTT",
      "createAddress": "stted2725f5020a0c6ff9e62999cf4cea9c",
      "unit": "USTT",
      "tokBalance": "0",
      "tokenBalance": "10000000000",
      "content": "Contract create SttToken extends SttBaseContract(){\ntokString contractName =USTT;\ntokInt initializeAmount =10000000000;\ntokString contractUnit =USTT;\n}",
      "icoLimitTime": "",
      "enlargeLimitTime": "",
      "ep": "",
      "ep2": "",
      "initializeAmount": "10000000000",
      "control": "22",
      "intervalPeriod": "",
      "intervalPeriod2": "",
      "createTime": "2023-04-16 09:47:13",
      "blockIndex": "279",
      "confirmNumber": "0",
      "tradeStatus": "normal",
      "kouchuBalance": null,
      "contractImg": null
    },
    ]
}

# 9. Get STT transaction value

Basic information

url:http://154.91.83.138:8083/tokdesktop/getTreadeLimit

method: POST

Content-Type:multipart/form-data

Request

Request Parameter Data Type Required Description
address String true Wallet address
ContractName String true Contract name

Response

{
  "code": "1",
  "msg": "Query successful",
  "content": "259830 "
}

# 10. Get Token transaction value

Basic information

url:http://154.91.83.138:8083/tokdesktop/getTokenTradeLimit

method: POST

Content-Type:multipart/form-data

Request

Request Parameter Data Type Required Description
address String true Wallet address
ContractName String true Contract name

Response

{
  "code": "1",
  "msg": "Query successful",
  "content": "259830 "
}

# 11. Broadcast transaction

Basic information

url:http://154.91.83.138:8083/tokdesktop/sendTrade

method: POST

Content-Type:application/json

Request

{
  "tradeNo": "stMsgbced4f4315643f4a346a52379a9ff77fc1fb7cd8",
  "from": "stta34e8eadbb82022875038297ec42f14f",
  "publicKey": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCCpPxiSikvrbxot2XUo0FytYhxgMuacni3xsQPAZyO7hNXHAWhC6r+C7aKIGL6rlNuSh5TWFkqczTkJa/N6zaKv4yOf1XvCaWNX2q6a4gCrGM1mWJLVzr56Zj6vi0h3jOC0vXb9VW//iADFrY16zOMmk9mlVZFUs0scFtZ62pxbQIDAQAB",
  "fromLeft": "258339",
  "tradeAmount": "0.1",
  "to": "stt4521088bb6602e9da609749dd374cd8b",
  "gas": "0.01",
  "tradeTime": "2023-05-26 03:18:34",
  "contractNumber": "STCONTRACT",
  "sign": "SV+UVozwjou6lOk1BKnvbkkQ+dNzOATIG1pBPPzlSkQZvHkzNOzdrs1zrYyPcDI8iF3S1XHJt58ADRrYY2mBWnNYXcouVbL+18/7A0kAVLVlMXzUHP6DposTeRtQ42cUWXLbhn0VjFpOxTv3ArZ/dujybq0h56redCqt2SUF1p4="
}

Response

{
  "code": "1",
  "msg": "Query successful",
  "content": "stMsg55536c5be11773b3754ae04bc597f0f752752046"
}

# 12. Query Block Details

Basic information

url:https://statter.io/block/data/queryBlockEntity

method: POST

Content-Type:application/json

Request

Request Parameter Data Type Required Description
blockIndex Number true Block

Request

{
  "blockIndex": "20",
}

Response

{
  "tbs":[
    {"tradeNo":"stMsg6c225af795b96a9cf2596ca03ed1d837b790f98c","from":"SYSTEM_ACCOUNT_ADDRESS","publicKey":"","preBlockIndex":"","preTradeNo":"","fromLeft":"","tradeAmount":"112.00","to":"stt124e047e5839d5abdc7a8d903f1a2197","gas":"0.000000","tradeTime":"2023-03-20 02:15:39","contractNumber":"STCONTRACT","tradeLimit":"","sign":"","tradeType":null,"returnNewCoint":null,"returnContractNumber":null,"unfreezeTime":null,"blockIndex":"20"},
    {"tradeNo":"stMsg6c15ba132796fc67fa6b1a09f43d9aac9cc39812","from":"SYSTEM_FROZEN_ADDRESS","publicKey":"","preBlockIndex":"","preTradeNo":"","fromLeft":"","tradeAmount":"11.20","to":"stt124e047e5839d5abdc7a8d903f1a2197FROZEN","gas":"0.000000","tradeTime":"2023-03-20 02:15:39","contractNumber":"STCONTRACT","tradeLimit":"","sign":"","tradeType":null,"returnNewCoint":null,"returnContractNumber":null,"unfreezeTime":null,"blockIndex":"20"},
    {"tradeNo":"stMsg429c0b66569ce70d5c6bec09df97a7718491aa81","from":"SYSTEM_COMMUNITY_BUILDING_ADDRESS","publicKey":"","preBlockIndex":"","preTradeNo":"","fromLeft":"","tradeAmount":"8.00","to":"stt689a3432b3f7e3345fda1ce153c74fff","gas":"0.000000","tradeTime":"2023-03-20 02:15:39","contractNumber":"STCONTRACT","tradeLimit":"","sign":"","tradeType":null,"returnNewCoint":null,"returnContractNumber":null,"unfreezeTime":null,"blockIndex":"20"},
    {"tradeNo":"stMsg73a08181460d49b8cfb534577cde81718997e1de","from":"SYSTEM_FOUNDATION_PROFIT_ADDRESS","publicKey":"","preBlockIndex":"","preTradeNo":"","fromLeft":"","tradeAmount":"4.80","to":"stt9de1d7bd4e9cd4c4828585abeaeeaff1","gas":"0.000000","tradeTime":"2023-03-20 02:15:39","contractNumber":"STCONTRACT","tradeLimit":"","sign":"","tradeType":null,"returnNewCoint":null,"returnContractNumber":null,"unfreezeTime":null,"blockIndex":"20"},
    {"tradeNo":"stMsg62f2295cf680565eeefa0d2ad6ba779f75b84d17","from":"SYSTEM_PROTOCOL_LAB_ADDRESS","publicKey":"","preBlockIndex":"","preTradeNo":"","fromLeft":"","tradeAmount":"8.00","to":"stt9c0646c8698e579e1cc40ace06c7a5d9","gas":"0.000000","tradeTime":"2023-03-20 02:15:39","contractNumber":"STCONTRACT","tradeLimit":"","sign":"","tradeType":null,"returnNewCoint":null,"returnContractNumber":null,"unfreezeTime":null,"blockIndex":"20"},
    {"tradeNo":"stMsgebf834736d1f8bcb08250a904a09517266b30234","from":"SYSTEM_ECOLOGICAL_CONSTRUCTION_ADDRESS","publicKey":"","preBlockIndex":"","preTradeNo":"","fromLeft":"","tradeAmount":"16.0","to":"stt4b07ba7b07417ec196317e7c7177c3e7","gas":"0.000000","tradeTime":"2023-03-20 02:15:39","contractNumber":"STCONTRACT","tradeLimit":"","sign":"","tradeType":null,"returnNewCoint":null,"returnContractNumber":null,"unfreezeTime":null,"blockIndex":"20"}
  ],
  "createContracts":[],
  "contractToContractAddresss":[],
  "contractToContracts":[],
  "contractWithdraws":[],
  "tokToContractAddresss":[],
  "loanByFBDTs":[],
  "loanByTOKs":[],
  "repayments":[],
  "storages":[],
  "minePledge":[],
  "mineTaxTrade":[],
  "blockHash":null
}