Verify Payload signature
You can fetch the corresponding payload to verify the signature, to make sure it's signed by the account you expected to sign the payload.
xumm.payload?.get('some-payload-uuid').then(payloadResult => { /**/ })xumm.on("success", async () => {
const { payload_uuidv4 } = await xumm.environment.jwt
const payloadResult = await xumm.payload?.get(payload_uuidv4)
console.log(payloadResult)
})Last updated
Was this helpful?