Returns a list of ROFL apps on the runtime.

Changed on
get/{runtime}/rofl_apps

Request

  • Base URL: https://nexus.oasis.io/v1
  • URL: https://nexus.oasis.io/v1/{runtime}/rofl_apps
  • Auth: none declared

Path parameters

runtime'emerald' | 'sapphire' | 'pontusxtest' | 'pontusxdev' | 'cipher' required
Example:sapphire

The runtime which to query.

Query parameters

limitinteger

The maximum numbers of items to return.

offsetinteger

The number of items to skip before starting to collect the result set.

adminstring

A filter on the admin of the ROFL app.

namestring[]

A filter on the name of the ROFL app. If multiple names are provided, the ROFL App must match all of them.

sort_by'created_at' | 'created_at_desc'

The field to sort the ROFL apps by. If unset, the ROFL apps will be sorted by activity (num_active_instances, num_transactions) in descending order. To sort by creation time, set this to created_at (or created_at_desc).

Response

A JSON object containing a list of ROFL apps.

total_countinteger required

The total number of records that match the query, i.e. the number of records the query would return with limit=infinity.

is_total_count_clippedboolean required

Whether total_count is clipped for performance reasons.

Example response

{
  "total_count": 412,
  "is_total_count_clipped": true,
  "rofl_apps": [
    {
      "admin": "oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p",
      "stake": "1234567890123456789012",
      "date_created": "2022-03-01T00:00:00Z",
      "last_activity": "2022-03-01T00:00:00Z",
      "last_activity_tx": {
        "round": 3379702,
        "timestamp": "2022-10-15T00:05:34Z",
        "hash": "8394f682150e5f62b02f197d16b4769d032cb1c1b7a6dcf853ba1b12626e080b",
        "eth_hash": "9e6a5837c6366d4a7e477c71ffe32d40915cdef7ef209792259e5ee70caf2705",
        "signers": [
          {
            "address": "oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p",
            "nonce": 114194
          }
        ],
        "sender_0": "oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p",
        "nonce_0": 114194,
        "fee": "3000000000000000",
        "gas_limit": 30000,
        "oasis_encryption_envelope": {
          "format": "encrypted/x25519-deoxysii"
        },
        "method": "evm.Call",
        "body": {
          "address": "t1mAPucIdVnrYBpJOcLV2nZoOFo=",
          "data": "RBo+cAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=\"",
          "value": ""
        },
        "is_likely_native_token_transfer": true,
        "to": "oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p",
        "amount": "100000001666393459",
        "amount_symbol": "ROSE",
        "encryption_envelope": {
          "format": "encrypted/x25519-deoxysii"
        },
        "evm_fn_name": "acceptTaskResults"
      }
    }
  ]
}

Changes

    • info

      added the required property //////////// to the response with the status

    • info

      added the new optional query request parameter sort_by