Interface ParsedAlgorandUri

Interface for parsed Algorand URI. Represents the result of parsing an ARC-82 compliant URI.

interface ParsedAlgorandUri {
    appParams?: AppQueryParams;
    assetParams?: AssetQueryParams;
    id: number;
    originalUri: string;
    type: AlgorandUriType;
}

Properties

appParams?: AppQueryParams

Query parameters for applications (only present if type is APPLICATION)

assetParams?: AssetQueryParams

Query parameters for assets (only present if type is ASSET)

id: number

ID of the application or asset

originalUri: string

Original URI string that was parsed

Type of URI (app or asset)