UNPKG

@axiom-crypto/tools

Version:

Useful data, field, and byte manipulation tools for Axiom.

8 lines (7 loc) 320 B
/** * Decodes a queryString into a Query object. You can typecast the result to the appropriate Query * type (i.e. QueryV1, QueryV2). * @param query The query as bytes in hex string format * @returns A Query object conforming to the decoded Query version */ export declare function decodeQuery(query: string): any;