- Preparing search index...
- The search index is not available
ternoa-js
- mintCapsuleNFT<TNFT, TMedia, TCapsule>(owner: IKeyringPair, ipfsClient: TernoaHelpers.TernoaIPFS, keys: TernoaHelpers.PGPKeysType, nftFile: File, nftMetadata: TernoaHelpers.NftMetadataType<TNFT>, encryptedMedia: TernoaHelpers.CapsuleMedia<TMedia>[], capsuleMetadata?: Partial<TernoaHelpers.NftMetadataType<TCapsule>>, clusterId?: number): Promise<({
message: string;
name: string;
owner_address: string;
secret_data: string;
signature: string;
signer_address: string;
signersig: string;
stack?: string;
} | {
description: string;
enclave_id: number;
nft_id: number;
owner_address: string;
secret_data: string;
signature: string;
signer_address: string;
signersig: string;
status: number;
})[]>
-
Parameters
-
owner: IKeyringPair
-
-
-
nftFile: File
-
-
-
-
clusterId: number = 0
Returns Promise<({
message: string;
name: string;
owner_address: string;
secret_data: string;
signature: string;
signer_address: string;
signersig: string;
stack?: string;
} | {
description: string;
enclave_id: number;
nft_id: number;
owner_address: string;
secret_data: string;
signature: string;
signer_address: string;
signersig: string;
status: number;
})[]>