Search
Preparing search index...
The search index is not available
@samuraitruong/coinspot-api
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@samuraitruong/coinspot-api
chart-client
ChartClient
Class ChartClient
Hierarchy
BaseClient
ChartClient
Index
Constructors
constructor
Properties
api
Url
Methods
calculate
Sign
get
History
get
Request
post
Request
Constructors
constructor
new
Chart
Client
(
)
:
ChartClient
Returns
ChartClient
Properties
api
Url
api
Url
:
string
Methods
calculate
Sign
calculate
Sign<T>
(
data
:
T
)
:
{
postdata
:
string
;
sign
:
string
}
Type parameters
T
Parameters
data:
T
Returns
{
postdata
:
string
;
sign
:
string
}
postdata
:
string
sign
:
string
get
History
get
History
(
request
:
HistoryRequest
)
:
Promise
<
ArrayLike
<
ArrayLike
<
number
>
>
>
Parameters
request:
HistoryRequest
Returns
Promise
<
ArrayLike
<
ArrayLike
<
number
>
>
>
get
Request
get
Request<T>
(
apiPath
:
string
)
:
Promise
<
T
>
Type parameters
T
Parameters
apiPath:
string
Returns
Promise
<
T
>
post
Request
post
Request<T>
(
url
:
string
, data
?:
{}
)
:
Promise
<
T
>
Type parameters
T
Parameters
url:
string
data:
{}
= ...
[
key:
string
]:
any
Returns
Promise
<
T
>
Exports
base-
client
chart-
client
client
index
public-
api-
client
read-
only-
client
types
Chart
Client
constructor
api
Url
calculate
Sign
get
History
get
Request
post
Request
Generated using
TypeDoc