This module contains two functions:
Takes in a string of an Ethereum URL and returns an object matching that URL according to rules specified in ERC-681.
Returned object depends on the prefix parsed from the URI format:
* default, currently the only possible prefix.
{
prefix: 'pay',
address: string,
chainId: number (default: `1`)
}
Takes in a string of an Ethereum URI and returns an object matching that URI according to rules specified in ERC-831:
{
prefix: string (default: `'pay'`),
payload: string
}
GPLv3