Comments (13)
I have resolved this issue. The correct name for Arbitrum One network is "ARBI".
from ccxt.
hello @gelono,
This is not directly related to CCXT, bybit has that chain suspended, so there's nothing ccxt can do about it.
from ccxt.
hello @gelono, This is not directly related to CCXT, bybit has that chain suspended, so there's nothing ccxt can do about it.
Ok, thank you. I didn't see it.
from ccxt.
@gelono No problem, will close this issue then, feel free to reopen it if anything!
from ccxt.
I see on the exchange the ability to select the Arbitrum One and Arbitrum One (Bridget) networks. Arbitrum One - works. I was able to manually withdraw funds.
from ccxt.
@gelono I see, will check it again then
from ccxt.
@gelono Can you please post a verbose request?
await exchange.load_markets()
exchange.verbose = True
(please omit the sensitive parts like the apiKey/address/etc)
from ccxt.
await exchange.load_markets()
fetch Request: bybit POST https://api.bybit.com/v5/asset/withdraw/create RequestHeaders: {'Content-Type': 'application/json', 'X-BAPI-API-KEY': '', 'X-BAPI-TIMESTAMP': '1715092218664', 'X-BAPI-RECV-WINDOW': '5000', 'X-BAPI-SIGN': '', 'Referer': 'CCXT', 'Accept-Encoding': 'gzip, deflate'} RequestBody: {"coin":"USDC","amount":"1.99","address":"0x4Ae******************D7E2","timestamp":1715092218643,"chain":"ARBITRUM ONE"}
from ccxt.
@gelono Thanks, actually the problem might be with the casing of the network, can you try to do
params = {
"chain": "Arbitrum One", # using the exchange-specific id here
}
withdraw_result = await all_ex["Bybit"].withdraw(
code="USDC",
amount=usdc_amount,
address=config.get("account_address"),
params=params
)
from ccxt.
Where can I find the exchange-specific id?
from ccxt.
You can check the request field (chain
) in the docs and the networks per currency inside the currency
structure.
but you shouldn't need to worry about the exchange-specific id chain
, network
is the ccxt-unified one, but we have a small issue with the casing that will be fixed shortly
from ccxt.
I was able to withdraw USDT on the BSC network. I think that in the case of the Arbitrum One network I am passing the network name incorrectly:
{'network': 'Arbitrum One'}
Or CCTX's uppercase processing makes the name incorrect.
from ccxt.
@gelono cool, actually ccxt had set networks in currency, you can find in exchange.currency('USDT')
.
Let us know if you have other issue.
from ccxt.
Related Issues (20)
- HTX exchange not available, but docs state its available. HOT 1
- [native fetch] fallback to native fetch doesn't support proxy agent HOT 3
- Docs: wrong reference URL for binance swap in method fetchLastPrices() HOT 1
- How to check if connection is failed HOT 2
- [zaif] int is divided by str error at custom_nonce function HOT 3
- [Hyperliquid] cannot load_markets in sandbox mode HOT 2
- load_leverage_brackets returns auth error HOT 4
- Bybit: "margin" property for markets is always undefined HOT 2
- Bybit: create/amend/cancel order implementation on new websocket API HOT 4
- AscendEX account closure without refund HOT 5
- Issue with too many subscriptions using watch_tickers() HOT 9
- \Exchange::network_id_to_code(): Argument #1 ($networkId) must be of type string, null given, called in /home/cssoftdemo/public_html/vendor/ccxt/ccxt/php/kucoin.php on line 3332 HOT 2
- Bybit: cancelOrderWs results in permission denied HOT 4
- watch_ohlcv() really not return error when disable internet connection HOT 2
- watch status for specific order HOT 1
- ccxt.pro mexc watch_balance no data HOT 1
- ccxt indodax fetch tickers error type HOT 1
- Phemex: funding fees not showing up (fetchMyTrades) HOT 2
- Phemex: Fee payed in PT (Phemex token) ignored (fetchMyTrades) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ccxt.