Subaccount

Returns subaccounts for the given account

Changed on
get/v1/subaccount

Request

Query parameters

order'asc' | 'desc'

Direction to paginate through objects

limitinteger

Limit the number of objects to return

cursorstring

Pointer to the current object in pagination dataset

namestring hex

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

senderstring hex required

Address of the subaccount wallet

orderBy'createdAt' | 'name'
Example:createdAt

Order by field

Response

hasNextboolean required

Whether there are more objects to paginate through

nextCursorstring

Pointer to the next page in pagination dataset

Example response

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

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