Function formatStorePayload

  • Name

    formatPayload

    Summary

    Prepares post request payload to store secret NFT data into TEE enclaves.

    Returns

    Payload ready to be submitted to TEE enclaves.

    Parameters

    • owner: IKeyringPair
    • signer: IKeyringPair
    • nftId: number

      The ID of the secret NFT.

    • share: string

      A share of the private key used to decrypt the secret NFT.

    • blockId: number
    • blockValidity: number = SIGNER_BLOCK_VALIDITY

    Returns TernoaHelpers.StorePayloadType

Generated using TypeDoc