- Preparing search index...
- The search index is not available
ternoa-js
Function formatRetrievePayload
- formatRetrievePayload(requesterPair: IKeyringPair, requesterRole: TernoaHelpers.RequesterType, nftId: number, blockId: number, blockValidity?: number): TernoaHelpers.RetrievePayloadType
-
Parameters
-
requesterPair: IKeyringPair
-
-
nftId: number
-
blockId: number
-
blockValidity: number = SIGNER_BLOCK_VALIDITY
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.