- Preparing search index...
- The search index is not available
ternoa-js
Function teeSSSSharesUpload
- teeSSSSharesUpload(clusterId?: number, kind: "nft" | "capsule", payloads: TernoaHelpers.SecretPayloadType[], nbRetry?: number, enclavesIndex?: 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
-
clusterId: number = 0
-
kind: "nft" | "capsule"
-
-
nbRetry: number = 3
-
Optional
enclavesIndex: number[]
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;
})[]>
Name
teeSSSSharesUpload
Summary
Upload secret shares to TEE enclaves with retry.
Returns
TEE enclave response including both the payload and the enclave response.