• Parameters

    Returns Promise<UpdateLearnerDatumTx>

    successful TxHash of UpdateLearnerDatumTx that allows a Learner to update learnerInfo.

    Remarks

    This transaction will always update the Address in the LearnerReferenceDatum to match the connected wallet that initiates this transaction. There should be UI elements that show the Learner whether or not the connected address is a current match, and that explain what this tx will do.

    Example

    const UPDATE_LEARNER_DATUM_TX = await prepareUpdateLearnerDatumTx(
    wallet,
    andamioConfig,
    props.learnerReferenceUTxO,
    studentInfo
    );
    const res = await UPDATE_LEARNER_DATUM_TX.runTx();
    console.log(res);

Generated using TypeDoc