Module state

Retrieves the entire peggy module's state

get
Responses
200
A successful response.
application/json
get
GET /peggy/v1/module_state HTTP/1.1
Host: inj.nownodes.io
Accept: */*
{
  "state": {
    "params": {
      "peggy_id": "text",
      "contract_source_hash": "text",
      "bridge_ethereum_address": "text",
      "bridge_chain_id": "text",
      "signed_valsets_window": "text",
      "signed_batches_window": "text",
      "signed_claims_window": "text",
      "target_batch_timeout": "text",
      "average_block_time": "text",
      "average_ethereum_block_time": "text",
      "slash_fraction_valset": "text",
      "slash_fraction_batch": "text",
      "slash_fraction_claim": "text",
      "slash_fraction_conflicting_claim": "text",
      "unbond_slashing_valsets_window": "text",
      "slash_fraction_bad_eth_signature": "text",
      "cosmos_coin_denom": "text",
      "cosmos_coin_erc20_contract": "text",
      "claim_slashing_enabled": true,
      "bridge_contract_start_height": "text",
      "valset_reward": {
        "denom": "text",
        "amount": "text"
      },
      "admins": [
        "text"
      ]
    },
    "last_observed_nonce": "text",
    "valsets": [
      {
        "nonce": "text",
        "members": [
          {
            "power": "text",
            "ethereum_address": "text"
          }
        ],
        "height": "text",
        "reward_amount": "text",
        "reward_token": "text"
      }
    ],
    "valset_confirms": [
      {
        "nonce": "text",
        "orchestrator": "text",
        "eth_address": "text",
        "signature": "text"
      }
    ],
    "batches": [
      {
        "batch_nonce": "text",
        "batch_timeout": "text",
        "transactions": [
          {
            "id": "text",
            "sender": "text",
            "dest_address": "text",
            "erc20_token": {
              "contract": "text",
              "amount": "text"
            },
            "erc20_fee": {
              "contract": "text",
              "amount": "text"
            }
          }
        ],
        "token_contract": "text",
        "block": "text"
      }
    ],
    "batch_confirms": [
      {
        "nonce": "text",
        "token_contract": "text",
        "eth_signer": "text",
        "orchestrator": "text",
        "signature": "text"
      }
    ],
    "attestations": [
      {
        "observed": true,
        "votes": [
          "text"
        ],
        "height": "text",
        "claim": {
          "type_url": "text",
          "value": "text"
        }
      }
    ],
    "orchestrator_addresses": [
      {
        "sender": "text",
        "orchestrator": "text",
        "eth_address": "text"
      }
    ],
    "erc20_to_denoms": [
      {
        "erc20": "text",
        "denom": "text"
      }
    ],
    "unbatched_transfers": [
      {
        "id": "text",
        "sender": "text",
        "dest_address": "text",
        "erc20_token": {
          "contract": "text",
          "amount": "text"
        },
        "erc20_fee": {
          "contract": "text",
          "amount": "text"
        }
      }
    ],
    "last_observed_ethereum_height": "text",
    "last_outgoing_batch_id": "text",
    "last_outgoing_pool_id": "text",
    "last_observed_valset": {
      "nonce": "text",
      "members": [
        {
          "power": "text",
          "ethereum_address": "text"
        }
      ],
      "height": "text",
      "reward_amount": "text",
      "reward_token": "text"
    },
    "ethereum_blacklist": [
      "text"
    ]
  }
}