StarkEx JavaScript Client Library - v0.0.6 / Exports / Gateway
-
GatewayBase
↳
Gateway
- conditionalTransfer
- deposit
- falseFullWithdrawal
- fullWithdrawal
- getFirstUnusedTxId
- getStarkDexAddress
- getTransaction
- isAlive
- mint
- settlement
- transfer
- withdrawal
• new Gateway(config
)
Name | Type |
---|---|
config |
StarkExClientConfig |
GatewayBase.constructor
▸ conditionalTransfer(request
): Promise
<Record
<string
, string
>>
Name | Type |
---|---|
request |
ConditionalTransferRequest |
Promise
<Record
<string
, string
>>
▸ deposit(request
): Promise
<Record
<string
, string
>>
Name | Type |
---|---|
request |
TransactionRequest |
Promise
<Record
<string
, string
>>
▸ falseFullWithdrawal(request
): Promise
<Record
<string
, string
>>
Name | Type |
---|---|
request |
FalseFullWithdrawalRequest |
Promise
<Record
<string
, string
>>
▸ fullWithdrawal(request
): Promise
<Record
<string
, string
>>
Name | Type |
---|---|
request |
FullWithdrawalRequest |
Promise
<Record
<string
, string
>>
▸ getFirstUnusedTxId(): Promise
<number
>
Promise
<number
>
▸ getStarkDexAddress(): Promise
<string
>
Promise
<string
>
▸ getTransaction(txId
): Promise
<Record
<string
, any
>>
Name | Type |
---|---|
txId |
number |
Promise
<Record
<string
, any
>>
▸ isAlive(): Promise
<string
>
Promise
<string
>
▸ mint(request
): Promise
<Record
<string
, string
>>
Name | Type |
---|---|
request |
TransactionRequest |
Promise
<Record
<string
, string
>>
▸ settlement(request
): Promise
<Record
<string
, string
>>
Name | Type |
---|---|
request |
SettlementRequest |
Promise
<Record
<string
, string
>>
▸ transfer(request
): Promise
<Record
<string
, string
>>
Name | Type |
---|---|
request |
TransferRequest |
Promise
<Record
<string
, string
>>
▸ withdrawal(request
): Promise
<Record
<string
, string
>>
Name | Type |
---|---|
request |
TransactionRequest |
Promise
<Record
<string
, string
>>