postApiV1AdminMigrateCredits
postApiV1AdminMigrateCredits<
ThrowOnError>(options:Options<PostApiV1AdminMigrateCreditsData,ThrowOnError>):RequestResult<PostApiV1AdminMigrateCreditsResponses,PostApiV1AdminMigrateCreditsErrors,ThrowOnError>
Defined in: src/client/sdk.gen.ts:234Â
Migrate enrolled users to credits
Calls migrateEnrolledUsersToCredits on the escrow contract for unmigrated enrolled users, processing in batches. Requires admin API key.
Type Parameters
| Type Parameter | Default type |
|---|---|
|
|
|
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
RequestResult<PostApiV1AdminMigrateCreditsResponses, PostApiV1AdminMigrateCreditsErrors, ThrowOnError>
Last updated on