prepareExtrinsicToUpdate
prepareExtrinsicToUpdate(
stmtEntry,authorizationUri):Promise<SubmittableExtrinsic>
This function prepares and returns a SubmittableExtrinsic for updating a statement on the blockchain.
Parameters
Section titled “Parameters”• stmtEntry: IStatementEntry
The stmtEntry parameter is an object of type
IStatementEntry, which contains information about a statement entry.
• authorizationUri: `auth:cord:${string}`
The authorizationUri parameter in the
prepareExtrinsicToUpdate function is a URI that represents the authorization needed for the
statement entry. It is used to identify and retrieve the authorization details required for
updating the statement on the chain.
Returns
Section titled “Returns”Promise<SubmittableExtrinsic>
A SubmittableExtrinsic is being returned from the prepareExtrinsicToUpdate function.