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 { /** * Gets an address and returns a full security assessment indicating whether or not * this address is malicious as well as textual reasons of why the address was * flagged that way. * * @example * ```ts * const response = await client.sui.address.scan({ * address: '0x2', * chain: 'mainnet', * }); * ``` */ scan(body: AddressScanParams, options?: RequestOptions): APIPromise; } export interface AddressScanResponse { /** * Verdict of the validation */ result_type: 'Benign' | 'Spam' | 'Warning' | 'Malicious' | 'Error'; /** * A list of textual features about this transaction that can be presented to the * user. */ features?: Array; } export declare namespace AddressScanResponse { interface Feature { description: string; feature_id: string; type: 'Benign' | 'Warning' | 'Malicious' | 'Info'; } } export interface AddressScanParams { address: string; chain: 'mainnet'; } export declare namespace Address { export { type AddressScanResponse as AddressScanResponse, type AddressScanParams as AddressScanParams }; } //# sourceMappingURL=address.d.ts.map