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 Parameter | Default type |
|---|---|
|
|
|
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
RequestResult<PostApiV1AdminAddCreditsResponses, PostApiV1AdminAddCreditsErrors, ThrowOnError>
Last updated on