# erc681 **Repository Path**: parity-js/erc681 ## Basic Information - **Project Name**: erc681 - **Description**: No description available - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-01-05 - **Last Updated**: 2021-07-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # erc681 This module contains two functions: ## `parseURL(string)` Takes in a string of an Ethereum URL and returns an object matching that URL according to rules specified in [ERC-681](https://eips.ethereum.org/EIPS/eip-681). Returned object depends on the prefix parsed from the URI format: #### `pay` prefix \* default, currently the only possible prefix. ``` { prefix: 'pay', address: string, chainId: number (default: `1`) } ``` ## `parseURI(string)` Takes in a string of an Ethereum URI and returns an object matching that URI according to rules specified in [ERC-831](https://eips.ethereum.org/EIPS/eip-831): ``` { prefix: string (default: `'pay'`), payload: string } ``` # License GPLv3