all functions should check if the argument is valid and convert it to the corresponding data type. return value: 0 on success, -1 otherwise - [ ] `int arg_address(const char *arg, address_t *out)` - [ ] `int arg_txhash(const char *arg, tx_hash_t *out)`