Subaccount

Returns subaccount by id

Changed on
get/v1/subaccount/{id}

Request

Path parameters

idstring required

Response

accountstring hex required

Address of the account which registered the subaccount (non-checksummed)

createdAtinteger required

Subaccount creation timestamp (ms since Unix Epoch)

createdBlockNumberstring required

Block number this subaccount was created on

idstring uuid required

Id representing the registered subaccount

namestring hex required

Bytes32 encoded subaccount name (0x prefix, zero padded)

registeredBlockNumberstring

Block number this subaccount was registered on

Example response

{
  "account": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
  "createdAt": 1712019600000,
  "createdBlockNumber": "123062737",
  "id": "9036443a-441a-4a66-87f2-bd5c44cdca7a",
  "name": "0x7072696d61727900000000000000000000000000000000000000000000000000",
  "registeredBlockNumber": "123062737"
}

Changes

    • info

      added the non-success response with the status

    • info

      the response's property default value Bad Request was removed for the status

    • info

      the response's property default value Forbidden was removed for the status

    • info

      the response's property default value Not Found was removed for the status

    • info

      the response's property default value Too Many Requests was removed for the status

    • info

      the response's property default value Unauthorized was removed for the status

    • info

      the response's property default value Unprocessable Entity was removed for the status

    • info

      the response's property default value 400 was removed for the status

    • info

      the response's property default value 401 was removed for the status

    • info

      the response's property default value 403 was removed for the status

    • info

      the response's property default value 404 was removed for the status

    • info

      the response's property default value 422 was removed for the status

    • info

      the response's property default value 429 was removed for the status

    • info

      response property message list-of-types was narrowed by removing types array from media type application/json of response 400