Checks if a given address is a valid base58check- or hex-formatted address

is_address(address)

Arguments

address

(character): an address to be validated.

Value

TRUE or FALSE, depending on the result.

Examples

is_address("41357a7401a0f0c2d4a44a1881a0c622f15d986291") # TRUE
#> [1] TRUE
is_address("TEqyWRKCzREYC2bK2fc3j7pp8XjAa6tJK1") # TRUE
#> [1] TRUE
is_address("abc") # FALSE
#> [1] FALSE