StarkEx JavaScript Client Library - v0.1.0-dev.7 / Exports / Gateway
-
GatewayBase
↳
Gateway
- conditionalTransfer
- deposit
- falseFullWithdrawal
- fullWithdrawal
- getFirstUnusedTxId
- getStarkDexAddress
- getTransaction
- isAlive
- markTransactionForReplacement
- mint
- multiTransaction
- 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
>
▸ markTransactionForReplacement(txId
): Promise
<string
>
Name | Type |
---|---|
txId |
NumericSequence |
Promise
<string
>
▸ mint(request
): Promise
<Record
<string
, string
>>
Name | Type |
---|---|
request |
TransactionRequest |
Promise
<Record
<string
, string
>>
▸ multiTransaction(request
): Promise
<Record
<string
, string
>>
Name | Type |
---|---|
request |
MultiTransactionRequest |
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
>>