getData() Netscript Function

getData(fn[, hostname/ip=current ip])
Arguments:
  • fn (string) – Filename of the contract
  • hostname/ip (string) – Hostname or IP of the server containing the contract. Optional. Defaults to current server if not provided

Get the data associated with the specific Coding Contract. Note that this is not the same as the contract’s description. This is just the data that the contract wants you to act on in order to solve

Returns:The specified contract’s data