T402 API Reference - v2.8.0
    Preparing search index...

    Interface NearRpcResponse<T>

    NEAR RPC response

    interface NearRpcResponse<T = unknown> {
        jsonrpc: "2.0";
        id: string;
        result?: T;
        error?: { code: number; message: string; data?: string };
    }

    Type Parameters

    • T = unknown
    Index

    Properties

    jsonrpc: "2.0"
    id: string
    result?: T
    error?: { code: number; message: string; data?: string }