Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wallet address has vanished #83

Closed
s3cryptostuff opened this issue Dec 24, 2020 · 7 comments
Closed

Wallet address has vanished #83

s3cryptostuff opened this issue Dec 24, 2020 · 7 comments

Comments

@s3cryptostuff
Copy link

Wallet address X-avax12830awx6dnkcq6m95qn2veryt0kqfrakylhqml with Binance Txs is non existent

Transaction Details Not Found
A record for this transaction ID was not found in the Avalanche Explorer

AcHrhZQFHnAkbp5U4LmbpjjUnSFAZqnDcLwNr54NYJo8WAbjU

Screenshot 2020-12-23 135434

@el33th4x0r
Copy link

el33th4x0r commented Dec 24, 2020 via email

@s3cryptostuff
Copy link
Author

s3cryptostuff commented Dec 24, 2020

Great. Thanks for the help

@cgcardona
Copy link
Contributor

cgcardona commented Dec 24, 2020

Introduction

@s3cryptostuff, Hi I'm Gabriel from Ava Labs. Can you please provide some more details?

From the github issue and email I gather that you generated an X-Chain address, X-avax12830awx6dnkcq6m95qn2veryt0kqfrakylhqml, using your Avalanche Web wallet. You then used that X-Chain address to withdraw AVAX from Binance who gave you a transaction id: AcHrhZQFHnAkbp5U4LmbpjjUnSFAZqnDcLwNr54NYJo8WAbjU.

You then went to search for your transaction id in the Avalanche explorer and you don't see anything.

Binance Withdrawal

What time did you attempt to withdraw from Binance. According to this bot that keeps track on AVAX withdrawal status on Binance, AVAX withdrawals were SUSPENDED today from 2020-12-24 00:32:04.325670542 UTC until 2020-12-24 04:55:46.790478012 UTC when they were RESUMED until 2020-12-24 04:56:47.448099708 UTC when they were SUSPENDED again. So it's possible that your withdrawal transaction is just SUSPENDED.

From checking out your addresses and transaction id here is what I see and don't see.

Missing X-Chain Transaction ID

I do not see the transaction id which you provided on

  1. AvaScan
  2. Our Explorer

Both our API node and my full node show the transaction as Unknown

# API Node
curl --location --request POST 'https://api.avax.network:443/ext/bc/X' \
--header 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "avm.getTxStatus",
    "params": {
        "txID": "AcHrhZQFHnAkbp5U4LmbpjjUnSFAZqnDcLwNr54NYJo8WAbjU"
    }
}'

{
    "jsonrpc": "2.0",
    "result": {
        "status": "Unknown"
    },
    "id": 1
}

# My full node
curl --location --request POST 'http://localhost:9650/ext/bc/X' \
--header 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "avm.getTxStatus",
    "params": {
        "txID": "AcHrhZQFHnAkbp5U4LmbpjjUnSFAZqnDcLwNr54NYJo8WAbjU"
    }
}'

{
    "jsonrpc": "2.0",
    "result": {
        "status": "Unknown"
    },
    "id": 1
}

Missing X-Chain Address

The address you provided X-avax12830awx6dnkcq6m95qn2veryt0kqfrakylhqml also has no balances and no UTXOs

# No balances
curl --location --request POST 'https://api.avax.network:443/ext/bc/X' \
--header 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc":"2.0",
    "id"     : 1,
    "method" :"avm.getAllBalances",
    "params" :{
        "address":"X-avax12830awx6dnkcq6m95qn2veryt0kqfrakylhqml"
    }
}'

{
    "jsonrpc": "2.0",
    "result": {
        "balances": []
    },
    "id": 1
}

# No UTXOs
curl --location --request POST 'https://api.avax.network:443/ext/bc/X' \
--header 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc":"2.0",
    "id"     :1,
    "method" :"avm.getUTXOs",
    "params" :{
        "addresses":["X-avax12830awx6dnkcq6m95qn2veryt0kqfrakylhqml"],
        "limit": 5
    }
}'

{
    "jsonrpc": "2.0",
    "result": {
        "numFetched": "0",
        "utxos": [],
        "endIndex": {
            "address": "X-avax1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqxpdk7q",
            "utxo": "11111111111111111111111111111111LpoYY"
        },
        "encoding": "cb58"
    },
    "id": 1
}

As well as no previous transactions

Cross Chain Swap to P-Chain

I noticed something interesting. It looks like around the same time that you created this github issue, you performed a cross chain swap from the X-Chain to the P-Chain. You swapped 1.001000000 AVAX to address P-avax12830awx6dnkcq6m95qn2veryt0kqfrakylhqml. Note that's the same address which you reported as vanishing, but w/ a P- chain id instead of an X- chain id.

You can see the transaction here with transaction id 2w9C5oGmGVPMnDTLV6R7bDuerp3VdxgA3hBaosHQ4dqqAzZqRd. See the P-avax12830awx6dnkcq6m95qn2veryt0kqfrakylhqml address as the 2nd output.

The corresponding ImportTx on the P-Chain has a transaction id of 2XPR7HWQQpbkA6LZHZ8XxBd22RtDRyLHsJQwtp49qcfS6dvAKF and the P-avax12830awx6dnkcq6m95qn2veryt0kqfrakylhqml address has a 1 AVAX balance on the P-Chain.

curl --location --request POST 'https://api.avax.network:443/ext/bc/P' \
--header 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc":"2.0",
    "id"     :1,
    "method" :"platform.getBalance",
    "params" :{
      "address":"P-avax12830awx6dnkcq6m95qn2veryt0kqfrakylhqml"    
    }
}'

{
    "jsonrpc": "2.0",
    "result": {
        "balance": "1000000000",
        "unlocked": "1000000000",
        "lockedStakeable": "0",
        "lockedNotStakeable": "0",
        "utxoIDs": [
            {
                "txID": "2XPR7HWQQpbkA6LZHZ8XxBd22RtDRyLHsJQwtp49qcfS6dvAKF",
                "outputIndex": 0
            }
        ]
    },
    "id": 1
}

Since we're positive that your wallet did a cross chain swap to P-avax12830awx6dnkcq6m95qn2veryt0kqfrakylhqml then we can be confident that your wallet could also create the address X-avax12830awx6dnkcq6m95qn2veryt0kqfrakylhqml.

Can you open your web wallet and in the left hand column go to "Manage Keys". Next click on the icon of an ordered list that when you hover over it has a tooltip which reads "HD Addresses".

Now click on "Platform", this is the list of P-Chain addresses which your wallet has generated, and note the index of the P-avax12830awx6dnkcq6m95qn2veryt0kqfrakylhqml address. Lastly go to "External", this is the list of external X-Chain addresses which your wallet has generated. Because of the way we derive addresses per the BIP44 convention you should have X-avax12830awx6dnkcq6m95qn2veryt0kqfrakylhqml at the same index as the corresponding P-Chain address.

Next Steps

Based on the research we've done so far, the transaction id is Unknown on 4 different services and Binance Withdrawals have been SUSPENDED for most of the day, it seems like this is likely a Binance withdrawal issue.

Can you contact them and confirm that AVAX withdrawals are RESUMED and the transaction id which they provided you is accurate?

Also, can you give any insight in to your cross chain swap to the P-Chain and if you are able to see X-avax12830awx6dnkcq6m95qn2veryt0kqfrakylhqml address when you go to "Manage Keys" per my suggested steps above?

@s3cryptostuff
Copy link
Author

Yes, I tried the x-chain transfer just to see if the network was functioning.

Binance had changed the txs id to "2rudxvd8DMxwndN1NT7Kwxz6CqASADXaKZphdnFGwAa3SxV4nM" and the transfer has now completed.

Txs for your help

@cgcardona
Copy link
Contributor

Great news. Glad it worked out. 🎩

@el33th4x0r
Copy link

el33th4x0r commented Dec 24, 2020 via email

@s3cryptostuff
Copy link
Author

Just an FYI for later if you get anymore of these type of issues from Binance. My Binance wallet allowed me to initiate the withdrawal , then several hours later the txs had not completed and Binance was then blocking deposit/withdrawals due to "maintenance". Thanks again for the help and Happy Holidays

moreati pushed a commit to moreati/wallet-site that referenced this issue Feb 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants