Skip to Content
Anuma SDKClientInternalFunctionspostApiV1AdminMigrateCredits

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 ParameterDefault type

ThrowOnError extends boolean

false

Parameters

ParameterType

options

Options<PostApiV1AdminMigrateCreditsData, ThrowOnError>

Returns

RequestResult<PostApiV1AdminMigrateCreditsResponses, PostApiV1AdminMigrateCreditsErrors, ThrowOnError>

Last updated on