Skip to content

Instantly share code, notes, and snippets.

@vnavascues
Created December 14, 2020 17:41
Show Gist options
  • Save vnavascues/2cd53be0d61ca675268e0345f0d37923 to your computer and use it in GitHub Desktop.
Save vnavascues/2cd53be0d61ca675268e0345f0d37923 to your computer and use it in GitHub Desktop.
{
"message": "",
"result": {
"0x8Fe178db26ebA2eEdb22575265bf10A63c395a3d": {
"events": [
{
"balance": {
"amount": "100000",
"usd_value": "21345.00000"
},
"bond_id": "0x540cab9883923c01e657d5da4ca5674b6e4626b4a148224635495502d674c7c5",
"event_type": "deposit",
"identity_address": "0x2a6c38D16BFdc7b4a20f1F982c058F07BDCe9204",
"pool_id": "0x2ce0c96383fb229d9776f33846e983a956a7d95844fac57b180ed0071d93bb28",
"pool_name": "Tom",
"timestamp": 1604366004,
"tx_hash": "0x9989f47c6c0a761f98f910ac24e2438d858be96c12124a13be4bb4b3150c55ea"
},
{
"balance": {
"amount": "5056.894263641728544592",
"usd_value": "1440.96202042471054878149040"
},
"event_type": "claim",
"identity_address": "0x2a6c38D16BFdc7b4a20f1F982c058F07BDCe9204",
"pool_id": "0x2ce0c96383fb229d9776f33846e983a956a7d95844fac57b180ed0071d93bb28",
"pool_name": "Tom",
"timestamp": 1607453764,
"tx_hash": "0xa9ee91af823c0173fc5ada908ff9fe3f4d7c84a2c9da795f0889b3f4ace75b13"
},
{
"balance": {
"amount": "100000",
"usd_value": "28495.00000"
},
"bond_id": "0x540cab9883923c01e657d5da4ca5674b6e4626b4a148224635495502d674c7c5",
"event_type": "withdraw",
"identity_address": "0x2a6c38D16BFdc7b4a20f1F982c058F07BDCe9204",
"pool_id": "0x2ce0c96383fb229d9776f33846e983a956a7d95844fac57b180ed0071d93bb28",
"pool_name": "Tom",
"timestamp": 1607453764,
"tx_hash": "0xa9ee91af823c0173fc5ada908ff9fe3f4d7c84a2c9da795f0889b3f4ace75b13"
},
{
"balance": {
"amount": "105056.894263641728544592",
"usd_value": "29935.96202042471054878149040"
},
"bond_id": "0x16bb43690fe3764b15a2eb8d5e94e1ac13d6ef38e6c6f9d9f9c745eaff92d427",
"event_type": "deposit",
"identity_address": "0x2a6c38D16BFdc7b4a20f1F982c058F07BDCe9204",
"pool_id": "0x2ce0c96383fb229d9776f33846e983a956a7d95844fac57b180ed0071d93bb28",
"pool_name": "Tom",
"timestamp": 1607453764,
"tx_hash": "0xa9ee91af823c0173fc5ada908ff9fe3f4d7c84a2c9da795f0889b3f4ace75b13"
},
{
"balance": {
"amount": "786.898540670755865776",
"usd_value": "210.45601470239365630179120"
},
"event_type": "claim",
"identity_address": "0x2a6c38D16BFdc7b4a20f1F982c058F07BDCe9204",
"pool_id": "0x2ce0c96383fb229d9776f33846e983a956a7d95844fac57b180ed0071d93bb28",
"pool_name": "Tom",
"timestamp": 1607915796,
"tx_hash": "0x892e2dacbd0fcb787d7104b4f384e24fc4573294b75b9bfd91ca969119d8ed80"
},
{
"balance": {
"amount": "105056.894263641728544592",
"usd_value": "28097.46637081098029925113040"
},
"bond_id": "0x16bb43690fe3764b15a2eb8d5e94e1ac13d6ef38e6c6f9d9f9c745eaff92d427",
"event_type": "withdraw",
"identity_address": "0x2a6c38D16BFdc7b4a20f1F982c058F07BDCe9204",
"pool_id": "0x2ce0c96383fb229d9776f33846e983a956a7d95844fac57b180ed0071d93bb28",
"pool_name": "Tom",
"timestamp": 1607915796,
"tx_hash": "0x892e2dacbd0fcb787d7104b4f384e24fc4573294b75b9bfd91ca969119d8ed80"
},
{
"balance": {
"amount": "105843.792804312484410368",
"usd_value": "28307.92238551337395555292160"
},
"bond_id": "0x30bd07a0cc0c9b94e2d10487c1053fc6a5043c41fb28dcfa3ff80a68013eb501",
"event_type": "deposit",
"identity_address": "0x2a6c38D16BFdc7b4a20f1F982c058F07BDCe9204",
"pool_id": "0x2ce0c96383fb229d9776f33846e983a956a7d95844fac57b180ed0071d93bb28",
"pool_name": "Tom",
"timestamp": 1607915796,
"tx_hash": "0x892e2dacbd0fcb787d7104b4f384e24fc4573294b75b9bfd91ca969119d8ed80"
}
],
"staking_details": [
{
"apr": "52.43%",
"balance": {
"amount": "105843.792804312484410368",
"usd_value": "27762.8268525711646608395264"
},
"contract_address": "0x4846C6837ec670Bbd1f5b485471c8f64ECB9c534",
"pool_id": "0x2ce0c96383fb229d9776f33846e983a956a7d95844fac57b180ed0071d93bb28",
"pool_name": "Tom",
"profit_loss": {
"amount": "5843.792804312484410368",
"usd_value": "1651.41803512710420508328160"
},
"total_staked_amount": "28806904.154057988204380985"
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment