Function
lookup
Looks up the geographic data associated with a particular IP address.
Returns a list of bytes containing JSON-encoded geographic data. See here for descriptions of the JSON fields.
lookup: func(ip-addr: ip-address, max-len: u64) -> result<string, error>;