Market Cap: $3.9787T 1.270%
Volume(24h): $161.3573B 2.870%
Fear & Greed Index:

59 - Neutral

  • Market Cap: $3.9787T 1.270%
  • Volume(24h): $161.3573B 2.870%
  • Fear & Greed Index:
  • Market Cap: $3.9787T 1.270%
Cryptos
Topics
Cryptospedia
News
CryptosTopics
Videos
Top Cryptospedia

Select Language

Select Language

Select Currency

Cryptos
Topics
Cryptospedia
News
CryptosTopics
Videos

how atomic wallet query

The Atomic Wallet's API enables you to query information about your wallet, such as your balance and transaction history.

Nov 05, 2024 at 11:56 pm

How to Query the Atomic Wallet

The Atomic Wallet is a decentralized, non-custodial cryptocurrency wallet that allows users to store, send, receive, and exchange cryptocurrencies. The wallet is open-source and supports over 500 cryptocurrencies.

To query the Atomic Wallet, you can use the following steps:

  1. Open the Atomic Wallet.
  2. Click on the "Settings" tab.
  3. Click on the "API" tab.
  4. Copy the "API Key" and "API Secret" to a safe location.
  5. Open a command prompt or terminal window.
  6. Navigate to the directory where you want to store the query results.
  7. Run the following command:
curl -H "Content-Type: application/json" -H "X-API-Key: [API Key]" -H "X-API-Secret: [API Secret]" -d '{
  "jsonrpc": "2.0",
  "method": "getwalletinfo",
  "params": [],
  "id": 1
}' https://atomicwallet.io/api/v1/wallet

Replace [API Key] and [API Secret] with the values you copied in step 4.

The output of the command will be a JSON object containing information about your wallet, including the balance of each cryptocurrency, the total balance of your wallet, and the history of your transactions.

Here is an example of the output of the getwalletinfo command:

{
  "jsonrpc": "2.0",
  "result": {
    "id": "1",
    "result": {
      "wallet": {
        "balance": "1000.00 BTC",
        "transactions": [
          {
            "id": "1",
            "date": "2023-01-01",
            "amount": "10.00 BTC",
            "type": "send"
          },
          {
            "id": "2",
            "date": "2023-01-02",
            "amount": "20.00 BTC",
            "type": "receive"
          }
        ]
      }
    }
  }
}

You can use the Atomic Wallet API to query your wallet for a variety of information, including:

  • The balance of each cryptocurrency in your wallet
  • The total balance of your wallet
  • The history of your transactions
  • The status of your wallet (e.g., synced or not synced)
  • The list of supported currencies
  • The current exchange rates

The Atomic Wallet API is a powerful tool that allows you to access and manage your cryptocurrency funds. By using the API, you can automate tasks, develop applications, and integrate the Atomic Wallet into your own ecosystem.

Disclaimer:info@kdj.com

The information provided is not trading advice. kdj.com does not assume any responsibility for any investments made based on the information provided in this article. Cryptocurrencies are highly volatile and it is highly recommended that you invest with caution after thorough research!

If you believe that the content used on this website infringes your copyright, please contact us immediately (info@kdj.com) and we will delete it promptly.

Related knowledge

See all articles

User not found or password invalid

Your input is correct