Skip to Content
SdkClientInternalFunctionspostApiV1AdminAddCredits

postApiV1AdminAddCredits

postApiV1AdminAddCredits<ThrowOnError>(options: Options<PostApiV1AdminAddCreditsData, ThrowOnError>): RequestResult<PostApiV1AdminAddCreditsResponses, PostApiV1AdminAddCreditsErrors, ThrowOnError>

Defined in: src/client/sdk.gen.ts:26 

Add credits to user

Adds credits to a user’s account. The settlement worker will handle on-chain enrollment when processing requests.

Type Parameters

Type ParameterDefault type

ThrowOnError extends boolean

false

Parameters

ParameterType

options

Options<PostApiV1AdminAddCreditsData, ThrowOnError>

Returns

RequestResult<PostApiV1AdminAddCreditsResponses, PostApiV1AdminAddCreditsErrors, ThrowOnError>

Last updated on