CreateTokenType

Creates a new token type for a contract.

Server Authoritative (default)

void UVyNftAPI::CreateTokenType(int contractId, const FVyCreateTokenTypeRequest& Params, const FVyOnCreateTokenTypeComplete& OnComplete)

Parameters

contractId

int

The ID of the contract to create the token type for.

Params

The required parameters to create the token type.

OnComplete

FVyOnCreateTokenTypeComplete

(Delegate) Executes when the operation is complete (either success or fail). This delegate exposes a single parameter of type FVyCreateTokenTypeResponse.

OnComplete [FVyCreateTokenTypeResponse]

Success

bool

Indicates if the operation was successful

Errors

Array containing potential error information in case the operation failed.

ResponseContext

Raw response data of the operation

Result

Contains the result of the operation, only if the operation succeeded.

Last updated