The API request type
the url to make the request to, i.e. https://fullnode.devnet.aptoslabs.com/v1
the request method "GET" | "POST"
(optional) - the endpoint to make the request to, i.e. transactions
(optional) - the body of the request
(optional) - the content type to set the content-type header to, by default is set to application/json
content-type
application/json
(optional) - query params to add to the request
(optional) - the local method the request came from
(optional) - a ClientConfig object type to override request data
ClientConfig
Optional
The API request type
Param: url
the url to make the request to, i.e. https://fullnode.devnet.aptoslabs.com/v1
Param: method
the request method "GET" | "POST"
Param: endpoint
(optional) - the endpoint to make the request to, i.e. transactions
Param: body
(optional) - the body of the request
Param: contentType
(optional) - the content type to set the
content-typeheader to, by default is set toapplication/jsonParam: params
(optional) - query params to add to the request
Param: originMethod
(optional) - the local method the request came from
Param: overrides
(optional) - a
ClientConfigobject type to override request data