mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-21 15:10:12 +00:00
* starting public endpoints * Adding public endpoints * added public spot market endpoints * websocket subscriptions updates * websocket push data handlers completing * linter fix * Added funding private endpoints * Adding authenticated account endpoints * Added fiat and OTC-RFQ authenticated endpoints * trading authenticated endpoints * completing trade endpoints and add public wrapper endpoints * Authenticated wrapper functions and corresponding unit test * Adding authenticated websocket endpoint and fixing wrapper functions * Documentation and exchange websocket update * update websocket orderbook checksum handling * linter issues fix and unit test update * remove invalid orderbook endpoint and unit test * Documentation, handlers, and model types update * minot fix * Minor fixes * Updating unit tests and added missing endpoints * Add missing credential check * Minor unit test fixes * fix minor linter issue * add snaphot test unit test * Fix on update checksum and documentation update * update exchange, add UpdateOrderExecutionLimits, and update documentation * Minor fix on tickers fetching * Minor websocket fix and smaill unit tests * Minor websocket and naming fixes * uncomment default channels * Fix type and unit test issues * websocket channels and data handling update * Update Advanced-Algo websocket handling and minor fixes * documentation and minor code fixes * Fix name changes * documentation contribution update * intervalToString method update * fix exchange_wrapper_standard tests * Fix minor issues based on exchange_wrapper_standards_test * Fix wrapper extended candlestick check * websocket orders fetching error check method update * Exchange name check and change * docs: Add missing contributors --------- Co-authored-by: Adrian Gallagher <adrian.gallagher@thrasher.io>
2.1 KiB
2.1 KiB
Multichain transfer support
Several exchanges support deposits and withdrawals by other blockchain networks. An example would be Tether (USDT) which supports the ERC20 (Ethereum), TRC20 (Tron) and Omni (BTC) networks.
GoCryptoTrader contains a GetAvailableTransferChains exchange method for supported exchanges which returns a list of the supported transfer chains specified by a cryptocurrency.
A simple demonstration using gctcli is as follows:
Obtaining a list of supported transfer chains
$ ./gctcli getavailabletransferchains --exchange=binance --cryptocurrency=usdt
{
"chains": [
"erc20",
"trx",
"sol",
"omni"
]
}
Obtaining a deposit address based on a specific cryptocurrency and chain
$ ./gctcli getcryptocurrencydepositaddress --exchange=binance --cryptocurrency=usdt --chain=sol
{
"address": "GW3oT9JpFyTkCWPnt6Yw9ugppSQwDv4ZMG1vabC8WmHS"
}
Withdrawing
$ ./gctcli withdrawcryptofunds --exchange=binance --currency=USDT --address=TJU9piX2WA8WTvxVKMqpvTzZGhvXQAZKSY --amount=10 --chain=trx
{
"id": "01234567-0000-0000-0000-000000000000",
}
Exchange multichain transfer support table
| Exchange | Deposits | Withdrawals | Notes |
|---|---|---|---|
| Alphapoint | No | No | |
| Binance.US | Yes | Yes | |
| Binance | Yes | Yes | |
| Bitfinex | Yes | Yes | Only supports USDT |
| Bitflyer | No | No | |
| Bithumb | No | No | |
| BitMEX | No | No | Supports BTC only |
| Bitstamp | No | No | |
| Bittrex | No | No | NA |
| BTCMarkets | No | No | NA |
| BTSE | No | No | Only through website |
| Bybit | Yes | Yes | |
| CoinbasePro | No | No | No |
| COINUT | No | No | NA |
| Exmo | Yes | Yes | Addresses must be created via their website first |
| GateIO | Yes | Yes | |
| Gemini | No | No | |
| HitBTC | No | No | |
| Huobi.Pro | Yes | Yes | |
| ItBit | No | No | |
| Kraken | Yes | Yes | Front-end and API don't match total available transfer chains |
| Lbank | No | No | |
| Okcoin | Yes | Yes | |
| Okx | Yes | Yes | |
| Poloniex | Yes | Yes | |
| Yobit | No | No | |
| ZB.COM | Yes | No | Addresses must be created via their website first |