Interface AptosResponse<Req, Res>

The API response type

Param: status

the response status. i.e. 200

Param: statusText

the response message

Param: data

the response data

Param: url

the url the request was made to

Param: headers

the response headers

Param: config

(optional) - the request object

Param: request

(optional) - the request object

interface AptosResponse {
    config?: any;
    data: Res;
    headers: any;
    request?: Req;
    status: number;
    statusText: string;
    url: string;
}

Type Parameters

  • Req

  • Res

Properties

config?: any
data: Res
headers: any
request?: Req
status: number
statusText: string
url: string

Generated using TypeDoc