prepareUpdateExtrinsic
prepareUpdateExtrinsic(
registryDetails):Promise<SubmittableExtrinsic>
Prepares an extrinsic to update the transaction hash and optional blob of a registry.
Parameters
Section titled “Parameters”• registryDetails: IRegistryTxHashUpdate
The details for updating the registry, including URI, transaction hash, and optional blob.
Returns
Section titled “Returns”Promise<SubmittableExtrinsic>
A promise that resolves to the prepared extrinsic.
Throws
Section titled “Throws”If the preparation fails.
Example
Section titled “Example”const registryDetails = { registryId '2L3xygo...', tx_hash: '0x456789abcdef', blob: '{"key":"newValue"}',};const extrinsic = await prepareUpdateExtrinsic(registryDetails);