Interface SendTonCenterApiRequest

Sends a request to TON Center API and returns its response in JSON format. Request type for Tdjson#sendTonCenterApiRequest.

interface SendTonCenterApiRequest {
    @type: "sendTonCenterApiRequest";
    endpoint: string;
    type: TonCenterApiRequestType;
}

Properties

Properties

@type: "sendTonCenterApiRequest"
endpoint: string

The path of the requested endpoint. See https://toncenter.com/api/v3/index.html for the list of supported endpoints.

Type of the request.