We need to implement the /get_teen_accounts endpoint in the Vault backend. This endpoint is responsible for retrieving all the teen accounts controlled by a specific account.
Details
Method: GET
Path: /get_teen_accounts
Summary: Get all the teen accounts controlled by this account.
Request Parameters:
address: The StarkNet address for which the teen accounts are to be retrieved.
Response:
Status Code: 200
Description: Successful retrieval of teen accounts
Description
We need to implement the
/get_teen_accounts
endpoint in the Vault backend. This endpoint is responsible for retrieving all the teen accounts controlled by a specific account.Details
Request Parameters:
Response:
Notes:
The teen accounts are represented as an array of hexadecimal strings.
Example
Tasks:
/get_teen_accounts
endpoint.