Returns a specific ROFL app.

Changed on
get/{runtime}/rofl_apps/{id}

Request

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

Path parameters

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

The runtime which to query.

idstring required

The ID of the ROFL app to return.

Response

A JSON object containing a ROFL app.

idstring required

The identifier of the ROFL application.

adminstring required

The application administrator address.

admin_ethstring

The Ethereum address of the application administrator (only provided if known).

stakestring bigint required
policyobject required

The application authentication policy.

sekstring required

The secrets encryption public key.

metadataobject required

Arbitrary key-value pairs.

secretsobject required

Arbitrary SEK-encrypted key-value pairs.

removedboolean required

Whether the application has been removed.

date_createdstring date-time required

The date and time when the application was created.

last_activitystring date-time required

The date and time when the application was last active.

num_active_instancesinteger required

The number of currently active instances of the application.

Example response

{
  "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 optional property ////// to the response with the status