Tendermint Ecosystem If you require assistance or need additional information to integrate Unagii Stake, reach out to us at support@unagii.com.
Get all network chain ids
GET
https://alpha-api.stakewith.us:9000/api/v1/latest_chain_ids
200 Cake successfully retrieved.
Copy {
"cosmos": "cosmoshub-4",
"terra": "columbus-4",
"kava": "kava-7",
"band": "band-guanyu-mainnet",
"starname": "iov-mainnet-2",
"switcheo": "switcheo-tradehub-1",
"persistence": "core-1"
}
Get network info
GET
https://alpha-api.stakewith.us:9000/api/v1/network-info/{network}/{chainId}
Path Parameters
200
Copy {
"network": "cosmos",
"value": {
"chainId": "cosmoshub-4",
"blockHeight": "6445280",
"blockTime": "2021-06-03T02:48:18.511633831Z",
"validatorAddr": "cosmosvaloper1jlr62guqwrwkdt4m3y00zh2rrsamhjf9num5xr"
}
}
Get estimated APY
GET
https://alpha-api.stakewith.us:9000/api/v1/yield/{network}/{chainId}
Path Parameters
200
Copy {
"network": "cosmos",
"apy": "0.0989"
}
Get total staked and staked ratio for StakeWithUs validator
GET
https://alpha-api.stakewith.us:9000/api/v1/total-staked/{network}/{chainId}
Path Parameters
200
Copy {
"network": "cosmos",
"value": 194127848332043,
"denom": "uatom",
"stakedRatio": "0.7080"
}
Get available balance
GET
https://alpha-api.stakewith.us:9000/api/v1/balance/{network}/{chainId}/{address}
Path Parameters
200
Copy {
"network": "cosmos",
"address": "cosmos16s9g7cffxnm7eepmery6jc7g2jgq7jl9wlz9sh",
"balances": [{ "value": 968179048, "denom": "uatom" }],
"chainId": "cosmoshub-4"
}
Get staked balance
GET
https://alpha-api.stakewith.us:9000/api/v1/delegators/swu/{network}/{chainId}/{address}
Path Parameters
200
Copy {
"delegation": {
"delegator_address": "cosmos16s9g7cffxnm7eepmery6jc7g2jgq7jl9wlz9sh",
"validator_address": "cosmosvaloper1jlr62guqwrwkdt4m3y00zh2rrsamhjf9num5xr",
"shares": "100586942.000000000000000000"
},
"balance": "100586942"
}
Get unbonding delegations
GET
https://alpha-api.stakewith.us:9000/api/v1/delegators/unbonding-delegations/list/{network}/{chainId}/{address}
Path Parameters
200
Copy [
{
"delegator_address": "cosmos16s9g7cffxnm7eepmery6jc7g2jgq7jl9wlz9sh",
"validator_address": "cosmosvaloper1jlr62guqwrwkdt4m3y00zh2rrsamhjf9num5xr",
"entries": [
{
"creation_height": "937218",
"completion_time": "2021-06-29T02:59:26.581287757Z",
"initial_balance": "2000000000",
"balance": "2000000000"
}
],
"validator": {
"moniker": "StakeWithUs",
"identity": "609F83752053AD57",
"website": "https://stakewith.us",
"details": "Secured Staking Made Easy. Put Your Crypto to Work - Hassle Free. Disclaimer: Delegators should understand that delegation comes with slashing risk. By delegating to StakeWithUs Pte Ltd, you acknowledge that StakeWithUs Pte Ltd is not liable for any losses on your investment."
},
"denom": "uatom"
}
]
Get unclaimed rewards
GET
https://alpha-api.stakewith.us:9000/api/v1/unclaimed-rewards/list/{network}/{chainId}/{address}
Path Parameters
200
Copy {
"network": "cosmos",
"address": "cosmos16s9g7cffxnm7eepmery6jc7g2jgq7jl9wlz9sh",
"rewards": [
{
"validator": {
"moniker": "StakeWith.Us",
"identity": "609F83752053AD57",
"website": "https://stakewith.us",
"details": "Secured Staking Made Easy. Put Your Crypto to Work - Hassle Free. Disclaimer: Delegators should understand that delegation comes with slashing risk. By delegating to StakeWithUs Pte Ltd, you acknowledge that StakeWithUs Pte Ltd is not liable for any losses on your investment."
},
"validator_address": "cosmosvaloper1jlr62guqwrwkdt4m3y00zh2rrsamhjf9num5xr",
"value": "2000000",
"denom": "uatom",
"reward": [{ "denom": "uatom", "amount": "2000000" }]
},
{
"validator": {
"moniker": "Sikka",
"identity": "5B5AB9D8FBBCEDC6",
"website": "sikka.tech",
"details": "Sunny Aggarwal (@sunnya97) and Dev Ojha (@ValarDragon)"
},
"validator_address": "cosmosvaloper1ey69r37gfxvxg62sh4r0ktpuc46pzjrm873ae8",
"value": "1000000",
"denom": "uatom",
"reward": [{ "denom": "uatom", "amount": "1000000" }]
}
],
"chainId": "cosmoshub-4"
}