import { APIResource } from "../../core/resource.js"; import { APIPromise } from "../../core/api-promise.js"; import { RequestOptions } from "../../internal/request-options.js"; export declare class Address extends APIResource { /** * Scan Address * * @example * ```ts * const response = await client.hedera.address.scan({ * address: '0.0.1456986', * chain: 'mainnet', * }); * ``` */ scan(body: AddressScanParams, options?: RequestOptions): APIPromise; } export interface AddressScanResponse { /** * The outcome of the address scan, indicating the assessed risk level of the * scanned address.
Possible values:
- `Malicious` — The address is * confirmed to be associated with malicious activity.
- `High-Risk` — The * address shows strong indicators of high-risk or potentially malicious behavior. *
- `Warning` — The address exhibits suspicious signals that may require * caution.
- `Benign` — No known malicious or risky activity was detected * for the address.
- `Error` — The scan could not be completed * successfully. */ result_type: 'Malicious' | 'High-Risk' | 'Warning' | 'Benign' | 'Error'; /** * A list of human-readable textual features describing the scanned address, * intended for display to the end user. */ features?: Array; } export declare namespace AddressScanResponse { interface Feature { /** * A human-readable description explaining the feature. */ description: string; /** * The unique identifier for the feature. */ feature_id: string; /** * The risk classification indicated by the feature. Possible values are * `Malicious`, `High-Risk`, `Warning`, `Benign`, or `Info`. */ type: 'Malicious' | 'Warning' | 'Benign' | 'High-Risk' | 'Info' | (string & {}); } } export interface AddressScanParams { /** * The address to validate. */ address: string; /** * The chain the transaction runs on. */ chain: 'mainnet'; } export declare namespace Address { export { type AddressScanResponse as AddressScanResponse, type AddressScanParams as AddressScanParams }; } //# sourceMappingURL=address.d.ts.map