Returns a runtime account.

Changed on
get/{runtime}/accounts/{address}

Request

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

Path parameters

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

The runtime which to query.

addressstring required

The staking address of the account to return.

Response

A JSON object containing a runtime layer account.

addressstring required

The staking address for this account.

nonceinteger required

The expected nonce for the next transaction (= last used nonce + 1)

first_activitystring date-time

The timestamp of the first transaction involving this account.

Example response

{
  "address": "oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p",
  "address_preimage": {
    "address_data": "INLp2Ih3YIdcA+zFNhM+SIGyFgKsYYc9SKQeKRKe2uI="
  },
  "balances": [
    {
      "balance": "1234567890123456789012",
      "token_symbol": "ROSE",
      "token_decimals": 18
    }
  ],
  "evm_contract": {
    "eth_creation_tx": "dc19a122e268128b5ee20366299fc7b5b199c8e3",
    "gas_used": 153852
  },
  "evm_balances": [
    {
      "balance": "1234567890123456789012",
      "token_contract_addr": "oasis1qzk5pr2x8ah04lgjee3lv06fmyvqvz45egjv4ps0",
      "token_contract_addr_eth": "0xF8E3DE55D24D13607A12628E0A113B66BA578bDC",
      "token_decimals": 18
    }
  ],
  "stats": {
    "total_sent": "1234567890123456789012",
    "total_received": "1234567890123456789012",
    "num_txns": 4184
  },
  "first_activity": "2022-03-01T00:00:00Z"
}

Changes