listlabels

Argument #1-purpose

Type: string, Optional

Description: Address purpose to list labels for ('send','receive'). An empty string is the same as not providing this argument.

Result

  [           (json array)
    "str",    (string) Label name
    ...
  ]