You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[kotlin-sdk] Script/OP_RETURN outputs and output-order guarantee on the Core send #4082
Priority: P2 — only the Maya integration needs it, and Maya is the wallet's deliberate last send-path holdout (stays on dashj until then).
Ask:addOutputScript(scriptBytes, amountDuffs) on the Core send options (OP_RETURN memo outputs) plus a documented guarantee that outputs appear in insertion order with change at a caller-chosen index (Maya requires strict vout ordering and change routed to vin0's address).
Fixed by #4308. buildSignedPayment accepts opReturnData, preserveOutputOrder and changeToFirstInput, which gives a guaranteed layout (recipient at vout 0, OP_RETURN at vout 1, change to the first input's address at vout 2). Closing.
Activity
HashEngineering commentedon Nov 9, 2026
Fixed by #4308.
buildSignedPaymentacceptsopReturnData,preserveOutputOrderandchangeToFirstInput, which gives a guaranteed layout (recipient at vout 0, OP_RETURN at vout 1, change to the first input's address at vout 2). Closing.