HypernativeApi

class HypernativeApi(host: String, apiKey: String, requests: PortalRequests)

API class for Hypernative security scanning functionality.

This class handles all Hypernative-related API calls including scanning EVM transactions, EIP-712 messages, Solana transactions, addresses, NFTs, tokens, and URLs for security risks.

Parameters

host

The base URL of the API server.

apiKey

The API key used for authentication.

requests

An instance of PortalRequests to handle HTTP requests.

Constructors

Link copied to clipboard
constructor(host: String, apiKey: String, requests: PortalRequests)

Functions

Link copied to clipboard

Screens addresses for compliance and security flags.

Link copied to clipboard

Scans an EIP-712 typed message for security risks.

Link copied to clipboard

Scans an EVM transaction for security risks.

Link copied to clipboard

Scans NFTs for security risks.

Link copied to clipboard

Scans a Solana transaction for security risks.

Link copied to clipboard

Scans tokens for reputation and security risks.

Link copied to clipboard

Scans a URL for phishing or malware.