NextAccountResponse
accountTypestringrequired
SELECT — integrator picks an ID from the range (Euler V2). AUTOGEN — ID is generated on-chain; omit the param to create (Init Capital).
Possible values: [SELECT, AUTOGEN]
nextAccountIdstringrequired
For SELECT: lowest unused account ID. For AUTOGEN: preview of the on-chain generated ID.
Example:
1activeAccountIdsstring[]required
Currently active account IDs for this owner. May be empty for AUTOGEN protocols.
Example:
["0","3","7"]accountIdRangestring[]required
Inclusive [min, max] range of valid account IDs.
Possible values: >= 2, <= 2
Example:
["0","255"]createHintstringrequired
Human-readable instructions for integrators on how to create a new sub-account.
NextAccountResponse
{
"accountType": "SELECT",
"nextAccountId": "1",
"activeAccountIds": [
"0",
"3",
"7"
],
"accountIdRange": [
"0",
"255"
],
"createHint": "string"
}