The resource loading... loading...

Other Function Calls

  • Gets the address of the wallet configured by the exchange object

    
    function main() {
      Log(exchange.IO("address"))         // Print the wallet address of the private key configured on the exchange object
    }
    

  • Switch blockchain RPC nodes

    function main() {
      var chainRpc = "https://bsc-dataseed.binance.org"
    
    
      // Switch to BSC chain
      e.IO("base", chainRpc)
    }
    
Method of Calling the Smart Contract Built-in Library