Function formatRetrievePayload

  • Name

    formatRetrievePayload

    Summary

    Prepares post request payload to retrieve secret/capsule NFT data into TEE enclaves.

    Returns

    Payload ready to be submitted to TEE enclaves.

    Parameters

    • requesterPair: IKeyringPair
    • requesterRole: TernoaHelpers.RequesterType
    • nftId: number

      The ID of the NFT.

    • blockId: number

      The current block header id on-chain.

    • blockValidity: number = SIGNER_BLOCK_VALIDITY

      A block duration validity for the temporay signer account to be valid; default SIGNER_BLOCK_VALIDITY = 100 blocks.

    Returns TernoaHelpers.RetrievePayloadType

Generated using TypeDoc