-
Notifications
You must be signed in to change notification settings - Fork 69
@liquality.terra.<internal>.APIRequester
Krasimir Raykov edited this page Mar 30, 2022
·
2 revisions
@liquality/terra..APIRequester
• new APIRequester(baseURL
)
Name | Type |
---|---|
baseURL |
string |
terra/lib/chain/TerraChainProvider.ts:96
▸ get<T
>(endpoint
, params?
): Promise
<T
>
Name |
---|
T |
Name | Type |
---|---|
endpoint |
string |
params? |
URLSearchParams | APIParams
|
Promise
<T
>
terra/lib/chain/TerraChainProvider.ts:98
▸ getRaw<T
>(endpoint
, params?
): Promise
<T
>
Name |
---|
T |
Name | Type |
---|---|
endpoint |
string |
params? |
URLSearchParams | APIParams
|
Promise
<T
>
terra/lib/chain/TerraChainProvider.ts:97
▸ post<T
>(endpoint
, data?
): Promise
<T
>
Name |
---|
T |
Name | Type |
---|---|
endpoint |
string |
data? |
any |
Promise
<T
>
terra/lib/chain/TerraChainProvider.ts:100
▸ postRaw<T
>(endpoint
, data?
): Promise
<T
>
Name |
---|
T |
Name | Type |
---|---|
endpoint |
string |
data? |
any |
Promise
<T
>