Delegations

Query all alliances delegations with pagination

get
Query parameters
pagination.keystringOptional

key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

pagination.offsetstring · uint64Optional

offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.

pagination.limitstring · uint64Optional

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

pagination.count_totalbooleanOptional

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

pagination.reversebooleanOptional

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Responses
200
A successful response.
application/json
get
GET /terra/alliances/delegations HTTP/1.1
Host: luna.nownodes.io
Accept: */*
{
  "delegations": [
    {
      "delegation": {
        "delegator_address": "text",
        "validator_address": "text",
        "denom": "text",
        "shares": "text",
        "reward_history": [
          {
            "denom": "text",
            "index": "text",
            "alliance": "text"
          }
        ],
        "last_reward_claim_height": "text"
      },
      "balance": {
        "denom": "text",
        "amount": "text"
      }
    }
  ],
  "pagination": {
    "next_key": "text",
    "total": "text"
  }
}

Query all paginated alliance delegations for a delegator addr

get
Path parameters
delegator_addrstringRequired
Query parameters
pagination.keystringOptional

key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

pagination.offsetstring · uint64Optional

offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.

pagination.limitstring · uint64Optional

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

pagination.count_totalbooleanOptional

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

pagination.reversebooleanOptional

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Responses
200
A successful response.
application/json
get
GET /terra/alliances/delegations/{delegator_addr} HTTP/1.1
Host: luna.nownodes.io
Accept: */*
{
  "delegations": [
    {
      "delegation": {
        "delegator_address": "text",
        "validator_address": "text",
        "denom": "text",
        "shares": "text",
        "reward_history": [
          {
            "denom": "text",
            "index": "text",
            "alliance": "text"
          }
        ],
        "last_reward_claim_height": "text"
      },
      "balance": {
        "denom": "text",
        "amount": "text"
      }
    }
  ],
  "pagination": {
    "next_key": "text",
    "total": "text"
  }
}

Query all paginated alliance delegations for a delegator addr and validator_addr

get
Path parameters
delegator_addrstringRequired
validator_addrstringRequired
Query parameters
pagination.keystringOptional

key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

pagination.offsetstring · uint64Optional

offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.

pagination.limitstring · uint64Optional

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

pagination.count_totalbooleanOptional

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

pagination.reversebooleanOptional

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Responses
200
A successful response.
application/json
get
GET /terra/alliances/delegations/{delegator_addr}/{validator_addr} HTTP/1.1
Host: luna.nownodes.io
Accept: */*
{
  "delegations": [
    {
      "delegation": {
        "delegator_address": "text",
        "validator_address": "text",
        "denom": "text",
        "shares": "text",
        "reward_history": [
          {
            "denom": "text",
            "index": "text",
            "alliance": "text"
          }
        ],
        "last_reward_claim_height": "text"
      },
      "balance": {
        "denom": "text",
        "amount": "text"
      }
    }
  ],
  "pagination": {
    "next_key": "text",
    "total": "text"
  }
}

Query a specific delegation by delegator addr, validator addr and denom

get
Path parameters
delegator_addrstringRequired
validator_addrstringRequired
denomstringRequired
Query parameters
pagination.keystringOptional

key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

pagination.offsetstring · uint64Optional

offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.

pagination.limitstring · uint64Optional

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

pagination.count_totalbooleanOptional

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

pagination.reversebooleanOptional

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Responses
200
A successful response.
application/json
get
GET /terra/alliances/delegations/{delegator_addr}/{validator_addr}/{denom} HTTP/1.1
Host: luna.nownodes.io
Accept: */*
{
  "delegation": {
    "delegation": {
      "delegator_address": "text",
      "validator_address": "text",
      "denom": "text",
      "shares": "text",
      "reward_history": [
        {
          "denom": "text",
          "index": "text",
          "alliance": "text"
        }
      ],
      "last_reward_claim_height": "text"
    },
    "balance": {
      "denom": "text",
      "amount": "text"
    }
  }
}