Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions blockapi/test/v2/api/cassettes/test_get_balance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interactions:
- Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/50.0.2661.102 Safari/537.36
method: GET
uri: https://lcd-cosmos.cosmostation.io/cosmos/bank/v1beta1/balances/cosmos14s5zljjqtzyl2zfey7ytkllyp0tampkel24qyu
uri: https://cosmoshub-mainnet-api.itrocket.net/cosmos/bank/v1beta1/balances/cosmos14s5zljjqtzyl2zfey7ytkllyp0tampkel24qyu
response:
body:
string: !!binary |
Expand Down Expand Up @@ -9041,7 +9041,7 @@ interactions:
- Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/50.0.2661.102 Safari/537.36
method: GET
uri: https://lcd-cosmos.cosmostation.io/cosmos/staking/v1beta1/delegations/cosmos14s5zljjqtzyl2zfey7ytkllyp0tampkel24qyu?pagination.limit=1000
uri: https://cosmoshub-mainnet-api.itrocket.net/cosmos/staking/v1beta1/delegations/cosmos14s5zljjqtzyl2zfey7ytkllyp0tampkel24qyu?pagination.limit=1000
response:
body:
string: !!binary |
Expand Down Expand Up @@ -9093,7 +9093,7 @@ interactions:
- Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/50.0.2661.102 Safari/537.36
method: GET
uri: https://lcd-cosmos.cosmostation.io/cosmos/staking/v1beta1/delegators/cosmos14s5zljjqtzyl2zfey7ytkllyp0tampkel24qyu/unbonding_delegations
uri: https://cosmoshub-mainnet-api.itrocket.net/cosmos/staking/v1beta1/delegators/cosmos14s5zljjqtzyl2zfey7ytkllyp0tampkel24qyu/unbonding_delegations
response:
body:
string: "{\n \"unbonding_responses\": [\n ],\n \"pagination\": {\n \"next_key\":
Expand Down Expand Up @@ -9137,7 +9137,7 @@ interactions:
- Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/50.0.2661.102 Safari/537.36
method: GET
uri: https://lcd-cosmos.cosmostation.io/cosmos/distribution/v1beta1/delegators/cosmos14s5zljjqtzyl2zfey7ytkllyp0tampkel24qyu/rewards
uri: https://cosmoshub-mainnet-api.itrocket.net/cosmos/distribution/v1beta1/delegators/cosmos14s5zljjqtzyl2zfey7ytkllyp0tampkel24qyu/rewards
response:
body:
string: !!binary |
Expand Down
2 changes: 1 addition & 1 deletion blockapi/v2/api/cosmos.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class CosmosApiBase(BlockchainApi, IBalance, metaclass=ABCMeta):

coin = COIN_ATOM

API_BASE_URL = 'https://lcd-cosmos.cosmostation.io/'
API_BASE_URL = 'https://cosmoshub-mainnet-api.itrocket.net/'
API_BASE_RATE_LIMIT = 0.2

supported_requests = {
Expand Down
Loading