prepareExtrinsicToRegister
prepareExtrinsicToRegister(
stmtEntry,authorizationUri):Promise<SubmittableExtrinsic>
This function prepares and returns a SubmittableExtrinsic for registering a statement on the blockchain.
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
prepareExtrinsic 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 registering the
statement on the chain.
Returns
Promise<SubmittableExtrinsic>
A SubmittableExtrinsic is being returned from the prepareExtrinsic function.