wrapper around https://api.originstamp.com/swagger/swagger-ui.html#/API_Key/getApiKeyUsage. The function downloads information about the api key.
get_key_usage(error_on_fail = TRUE, url = api_url(), key = api_key())
error_on_fail | if TRUE, raise error when api call fails, otherwise return the failed response. |
---|---|
url | the url of the api. The default is to use the url as returned by the function |
key | the api key. The default is to use the key as returned by the function |
object of class OriginStampResponse
.
if (FALSE) { # Retrieve complete merkle tree proof get_key_usage() }