Solidity Programming Language
3 min readMay 16, 2021

AVALANCHE X -CHAIN ANALYSIS

We have one turkish crypto exchange market’s AVAX address.

X-avax1qsnptt6yxnwmh8up7xn5u3sajz37lmyv8u3dmu

We have 2 different tools:

https://explorer.avax.network/address/avax1qsnptt6yxnwmh8up7xn5u3sajz37lmyv8u3dmu
https://avascan.info/blockchain/x/address/X-avax1qsnptt6yxnwmh8up7xn5u3sajz37lmyv8u3dmu/transactions

Avalanche has tool, is named graphql avascan, but it is really bad. Please dont use.

We have analysed 939 transactions and these are details. Attention 939 transactions. New transactions are added to the system.

https://explorer.avax.network/address/avax1qsnptt6yxnwmh8up7xn5u3sajz37lmyv8u3dmu

There are 2 different transactions, first one is “received”, what does it mean ?

Other parties send AVAX to the this crypto exchange market.

https://avascan.info/blockchain/x/tx/Qs69EYFDDsn1isE1wzBtTSGAhKVteRBZSbLGrjvskZDvxAJYM

One person sends 2.637+103 AVAX to the crypto exchange market.

Second one is “sent”, what does it mean ?

This crypto exchange market sends AVAX to the one person.

https://avascan.info/blockchain/x/tx/2NZT6hgSmsUPfnkghw5wZwsXoScbvd71CnWbFsXw5FDBCgCrsp

You look be careful. Crypto exchange market has 4.238 AVAX, 1.31 of this AVAX is sent to person and 4.236 AVAX return to Crypto exchange market. this amount is called remained output !

https://avascan.info/blockchain/x/address/X-avax1qsnptt6yxnwmh8up7xn5u3sajz37lmyv8u3dmu/transactions?p=30#tabletop

This company received 0.99 AVAX, 1,99 AVAX and 6.91 AVAX in the first 3 transactions.

[First sending transaction]:Company then used “1,99 AVAX” for sending “1 AVAX” and remains 0.99 AVAX . Attention, this amount(0.99 AVAX)is locked as UTXO (Unspent). This is UTXO list.

https://avascan.info/blockchain/x/tx/6dxG5cAHZXcnUitEJv46LHHFGHjwUPKKSTzCFWKmZiZGhYF86#output2eqsQ6dbKAmciDwBrxRYmMykWr2GivF5XoYKZXoK2s8b2AdDNo

We can see same UTXO from Transaction section;

https://avascan.info/blockchain/x/tx/6dxG5cAHZXcnUitEJv46LHHFGHjwUPKKSTzCFWKmZiZGhYF86

Trick is that every sent transaction does not remain as UTXO, could be used new sendings.

For example;

https://avascan.info/blockchain/x/address/X-avax1qsnptt6yxnwmh8up7xn5u3sajz37lmyv8u3dmu/transactions?p=30#tabletop

Sending transaction;

Company sent 6.91 + 0.99 AVAX and remains 0.99 AVAX.

Received transaction:

Company received 2.55 AVAX.

Sending transaction;

Company used the remained 0.99 AVAX and received 2.55 AVAX.

Conclusion; company could spent its receiving avax or not.

This is my file.

Avalanche explorer says for 939 transactions

My result for 939 transactions are as follows

my calculations

Balance is calculated from 2 different ways.

1- You can basically add all utxo amounts in adress because these are not spent.

2- You can calculate all remained outputs in sending transactions.

remained outputs+net sending =Sent

remained outputs + received = Received

Received-Sent= Balance

This company has 257.020 AVAX holding

Dr. Engin YILMAZ

17/05/2021

Ankara

New:

Spending

https://explorerapi.avax.network/v2/outputs?address=X-avax1qsnptt6yxnwmh8up7xn5u3sajz37lmyv8u3dmu&spent=true

Utxo

https://explorerapi.avax.network/v2/outputs?address=X-avax1qsnptt6yxnwmh8up7xn5u3sajz37lmyv8u3dmu&spent=false

https://explorerapi.avax.network/v2/ use this address with the following queries

https://docs.avax.network/build/tools/ortelius

@veridelisi
Solidity Programming Language
Solidity Programming Language

Written by Solidity Programming Language

Solidity basics for beginners: Learn the fundamentals of smart contract development and build your first DApp! #Solidity #Foundry #Ethereum #Opcodes #DApps

No responses yet