/** * barkd REST API * A simple REST API for barkd, a wallet daemon for integrating bitcoin payments into your app over HTTP. Supports self-custodial Lightning, Ark, and on-chain out of the box. barkd is a long-running daemon best suited for always-on or high-connectivity environments like nodes, servers, desktops, and point-of-sale terminals. All endpoints return JSON. Amounts are denominated in satoshis. * * The version of the OpenAPI document: 0.6.2 * Contact: hello@second.tech * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * Request to verify a signed message * * Exactly one of `pubkey` and `address` must be set. * @export * @interface VerifyMessageRequest */ export interface VerifyMessageRequest { /** * The Ark address whose user public key to verify the signature against * @type {string} * @memberof VerifyMessageRequest */ address?: string | null; /** * The message that was signed * @type {string} * @memberof VerifyMessageRequest */ message: string; /** * The public key to verify the signature against * @type {string} * @memberof VerifyMessageRequest */ pubkey?: string | null; /** * The BIP-340 Schnorr signature over the message digest * `SHA256("bark/message" || message)`, in hex * @type {string} * @memberof VerifyMessageRequest */ signature: string; } /** * Check if a given object implements the VerifyMessageRequest interface. */ export declare function instanceOfVerifyMessageRequest(value: object): value is VerifyMessageRequest; export declare function VerifyMessageRequestFromJSON(json: any): VerifyMessageRequest; export declare function VerifyMessageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): VerifyMessageRequest; export declare function VerifyMessageRequestToJSON(json: any): VerifyMessageRequest; export declare function VerifyMessageRequestToJSONTyped(value?: VerifyMessageRequest | null, ignoreDiscriminator?: boolean): any;