This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"ba9a5d1efc32248e2494884e361716e1192c900769d7545e91265f78f78c2031":{ | |
"balance":11801, | |
"balance_lock":"ba9a5d1efc32248e2494884e361716e1192c900769d7545e91265f78f78c2031", | |
"locked":35403 | |
}, | |
"bb977a8aee2eee8c9a824401b3d0b83b5ea6f960ac3fa18c6311eca8d150ed10":{ | |
"balance":102, | |
"balance_lock":"bb977a8aee2eee8c9a824401b3d0b83b5ea6f960ac3fa18c6311eca8d150ed10", | |
"locked":303 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"ba9a5d1efc32248e2494884e361716e1192c900769d7545e91265f78f78c2031":"02744f2bfcab6feecbfcc2658b1ddd842f7299fb4c47f472a3f5e6af58e4b127" | |
}, | |
{ | |
"bb977a8aee2eee8c9a824401b3d0b83b5ea6f960ac3fa18c6311eca8d150ed10":"08bce968e77c5eaa50e0340ae32b03fda43f0ed8c3d3e68181c015919472de8e" | |
}, | |
{ | |
"c6d6e093ccd78b138e3037d2994f6a463f12669bed683ee516bec1cd8e4b4d99":"dba08065511b41ceb296abf8f295f6e3e8e76d48c76382bf33588e2d6f9f1caf" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"accountNumber":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", | |
"username":"randomuser1", | |
"votesReceived":11111342 | |
}, | |
{ | |
"accountNumber":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", | |
"username":"randomuser1", | |
"votesReceived":1111342 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Third Party library required: | |
requests: python -m pip install requests | |
''' | |
import requests | |
def check_for_confirmation(*, bank_ip, block_signature): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Required third party libraries | |
- requests: python -m pip install requests | |
- PyNaCl: pip install pynacl | |
''' | |
import requests | |
import json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Library Required: requests | |
Installation: `python -m pip install requests` | |
''' | |
import requests | |
PV_IP = "PV_IP" # IP Address of the primary validator of TNBC Chain | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
from datetime import datetime | |
import json | |
BANK_IP = "54.183.16.194" | |
def fetch_accounts_created_in_a_duration(start_date, end_date): | |
results = [] |