Skip to main content
edited tags
Link
Rob Hitchens
  • 55.6k
  • 11
  • 91
  • 146
deleted 1 character in body
Source Link
Shane Fontaine
  • 18.3k
  • 20
  • 56
  • 83

language : python 3.7
network : kovan
use web3(infura)


I want to check the balance as well as the pending transaction.
The address below is the address with the Pending transaction.
Testing in the KorbanKovan network may include or exclude fending as follows.

Do you know why?

address = '0x1Dcc3E38d55aac34C5e20Aa74da53a4F56Aa4189'
for x in range(5):
    data = w3.eth.getBalance(address, 'pending')
    print(data)
ssh://[email protected]:22/data/venv/python3/bin/python -u /data/wallet_test/web3_test.py
1514315008999999959
1514315008999999959
2450527368999999961
2450527368999999961
2450527368999999961

enter image description here

language : python 3.7
network : kovan
use web3(infura)


I want to check the balance as well as the pending transaction.
The address below is the address with the Pending transaction.
Testing in the Korban network may include or exclude fending as follows.

Do you know why?

address = '0x1Dcc3E38d55aac34C5e20Aa74da53a4F56Aa4189'
for x in range(5):
    data = w3.eth.getBalance(address, 'pending')
    print(data)
ssh://[email protected]:22/data/venv/python3/bin/python -u /data/wallet_test/web3_test.py
1514315008999999959
1514315008999999959
2450527368999999961
2450527368999999961
2450527368999999961

enter image description here

language : python 3.7
network : kovan
use web3(infura)


I want to check the balance as well as the pending transaction.
The address below is the address with the Pending transaction.
Testing in the Kovan network may include or exclude fending as follows.

Do you know why?

address = '0x1Dcc3E38d55aac34C5e20Aa74da53a4F56Aa4189'
for x in range(5):
    data = w3.eth.getBalance(address, 'pending')
    print(data)
ssh://[email protected]:22/data/venv/python3/bin/python -u /data/wallet_test/web3_test.py
1514315008999999959
1514315008999999959
2450527368999999961
2450527368999999961
2450527368999999961

enter image description here

Source Link

Adding a pending transaction to get the balance results in a different outcome

language : python 3.7
network : kovan
use web3(infura)


I want to check the balance as well as the pending transaction.
The address below is the address with the Pending transaction.
Testing in the Korban network may include or exclude fending as follows.

Do you know why?

address = '0x1Dcc3E38d55aac34C5e20Aa74da53a4F56Aa4189'
for x in range(5):
    data = w3.eth.getBalance(address, 'pending')
    print(data)
ssh://[email protected]:22/data/venv/python3/bin/python -u /data/wallet_test/web3_test.py
1514315008999999959
1514315008999999959
2450527368999999961
2450527368999999961
2450527368999999961

enter image description here