How to Check a Transaction and Contract Balance on BscScan
Zapis w blockchainie można sprawdzić niezależnie. Jeśli transakcję wysłano do BNB Smart Chain, można ją znaleźć w BscScan na podstawie hasha transakcji. Można również sprawdzić aktywa znajdujące się pod adresem smart kontraktu.
The key is to read the data correctly. A Success status means that the network executed the transaction without reverting it. It does not prove that the address belongs to the intended project, that a token is genuine, or that the transaction is safe or beneficial.
Ten artykuł ma wyłącznie charakter edukacyjny. Nie stanowi porady finansowej i nie gwarantuje bezpieczeństwa żadnego projektu, smart kontraktu ani transakcji.
Czego potrzebujesz
Przygotuj jeden z tych identyfikatorów:
- a transaction hash (or TxHash), which identifies one transaction;
- a wallet or contract address, which identifies an account or smart contract.
Both usually begin with 0x, but they are not interchangeable. Obtain contract addresses from an official project source and compare the full string. A name or ticker is not enough: unrelated tokens may use the same name.
Nie musisz podłączać portfela, aby przeglądać publiczne dane BscScan. Nigdy nie wpisuj frazy seed ani klucza prywatnego — BscScan nie potrzebuje żadnego z nich.
Krok 1: Znajdź transakcję
- Open bscscan.com.
- Wklej pełny hash transakcji w pasku wyszukiwania.
- Open the
Transaction Detailsresult.
Jeśli wynik się nie pojawia, sprawdź, czy:
- transakcja została wysłana w BNB Smart Chain, a nie w innej sieci;
- hash został skopiowany w całości;
- portfel rzeczywiście rozgłosił transakcję;
- eksplorator miał czas na zindeksowanie nowo wysłanej transakcji.
Krok 2: Odczytaj pola transakcji
Sprawdź kolejno następujące pola:
-
Status
Successmeans execution completed without a revert.Pendingmeans the transaction has not yet been included.Failedmeans execution reverted. A failed contract call normally does not complete its intended state changes, but gas used may still be charged. -
Block and confirmations
The block number identifies where the transaction was included. Confirmations count the blocks added afterwards. Services may require different confirmation counts. BNB Smart Chain has a fast-finality mechanism and a probabilistic fallback in which additional blocks increase confidence. -
Timestamp
Confirm the date and time. BscScan can display UTC, so account for your time zone. -
From
This is the address that initiated the transaction. Compare it with the expected sender. -
To / Interacted With
For a simple transfer, this is the recipient. For a contract call, it is the contract directly called by the transaction. Compare the complete address with the project’s officially published address. -
Value
This is the native BNB sent at the top level. A BEP-20 transfer may show0 BNBhere because the token movement is displayed separately. -
BEP-20 Tokens Transferred
This section shows token transfer events, including token, sender, recipient, and amount. Verify the token contract address, not just its name, icon, or ticker. -
Transaction Fee
This is the BNB paid for execution. It is not the transferred amount. -
Transaction Action and Input Data
When the contract interface is known, BscScan may decode the function and its parameters. Treat the human-readable summary as a useful aid and still verify addresses, amounts, and emitted events.
W przypadku złożonych wywołań sprawdź również:
- Internal Txns, which shows internal calls and BNB movements involving contracts;
- Logs, which shows events emitted during execution.
Przykład: odczyt transferu 100 USDT
Załóżmy, że użytkownik zamierza wysłać 100 USDT do smart kontraktu. Podstawowa kontrola powinna potwierdzić, że:
StatusisSuccess;Frommatches the user’s address;Interacted Withmatches the intended contract;BEP-20 Tokens Transferredshows 100 units moving from the user to the intended address;- adres smart kontraktu tokena USDT jest zgodny z oficjalnym adresem USDT dla BNB Smart Chain;
Valuemay be0 BNB, while the gas fee is paid in BNB.
No single matching field is sufficient. A call to an impersonating contract can also have a Success status.
Krok 3: Sprawdź saldo smart kontraktu
- Wklej oficjalny adres smart kontraktu do BscScan.
- Potwierdź pełny adres na stronie wyniku.
- Read BNB Balance for native BNB held at the address.
- Open Token Holdings to inspect BEP-20 assets.
- Locate a specific token by its contract address and check the amount.
„Saldo smart kontraktu” nie jest jedną uniwersalną liczbą:
- salda BNB i USDT są odrębne;
- adres może przechowywać wiele tokenów, w tym niezamówione tokeny spamowe;
- system może używać kilku adresów smart kontraktów lub skarbca;
- aktywa mogą później zostać przeniesione na inny adres;
- bieżące saldo nie ujawnia wszystkich zobowiązań ani tego, komu przysługuje ekonomiczne prawo do aktywów.
For a more direct BEP-20 check, open the exact token contract, select Contract → Read Contract, find balanceOf, and enter the address being checked. This is a read-only query and requires no transaction or gas. The result may use the token’s smallest unit; apply the token’s decimals value to convert it to the displayed amount.
Co oznacza „Verified”
W BscScan weryfikacja kodu źródłowego smart kontraktu ma różne poziomy:
- Exact Match means the published source and constructor parameters were matched to the deployed bytecode;
- Similar Match means the bytecode matches an existing verified contract, but constructor arguments are not included in that match;
- Unverified means no matching source is published and only bytecode is available.
Weryfikacja ułatwia analizę kodu. Nie jest audytem bezpieczeństwa i nie dowodzi, że kod nie zawiera podatności.
If the address is a proxy, its active logic may live in a separate implementation contract and may be changeable by an authorized upgrader. Check whether BscScan identifies a proxy, follow the implementation address, and determine who controls upgrades. Reviewing only the proxy shell gives an incomplete picture.
Co BscScan może, a czego nie może potwierdzić
BscScan może pomóc ustalić, że:
- transakcja została uwzględniona w bloku;
- jeden adres wywołał drugi;
- smart kontrakty wyemitowały określone logi;
- adres ma obecnie określone saldo BNB lub tokena;
- opublikowany kod źródłowy został dopasowany do kodu bajtowego na wskazanym poziomie weryfikacji.
Samo w sobie nie potwierdza:
- kto jest właścicielem adresu lub go kontroluje;
- że token jest autentyczny na podstawie jego nazwy;
- że administratorzy nie mają niebezpiecznych uprawnień;
- że kod jest wolny od podatności;
- że istnieje płynność;
- że frontend pozostanie dostępny;
- że środki zostaną zwrócone lub przyniosą dochód.
Końcowa lista kontrolna
- Znalazłem hash w BNB Smart Chain.
- I compared the complete
FromandTo / Interacted Withaddresses. - Sprawdziłem adres smart kontraktu tokena.
- I distinguished native
Value, BEP-20 movement, and gas fee. - I reviewed
Internal TxnsandLogswhere relevant. - Sprawdziłem BNB i każdy wymagany token osobno.
- W przypadku proxy sprawdziłem implementację i uprawnienia do aktualizacji.
- My conclusion relies on several fields, not only
Success.
Źródła i dalsza lektura
- BscScan Information Center — Przeglądanie transakcji
- BscScan Information Center — Zrozumienie transakcji
- BscScan Information Center — Rodzaje weryfikacji smart kontraktów
- BscScan Information Center — Jak czytać stronę tokena
- BscScan Information Center — Czym jest token BEP-20?
- BNB Chain Docs — Wprowadzenie do BNB Smart Chain