app-monorepo icon indicating copy to clipboard operation
app-monorepo copied to clipboard

[BUG]: signPsbt lacks options

Open SteveYuOWO opened this issue 1 year ago • 2 comments

https://docs.unisat.io/dev/unisat-developer-center/unisat-wallet#signpsbt

In the unisat document, options include toSignInputs array, including 'index', 'address', 'publicKey', 'sighashTypes'.

Onekey wallet separately supports these parameters for babylon, can ordinary users call with these options params?

https://github.com/OneKeyHQ/app-monorepo/blob/x/packages/core/src/chains/btc/sdkBtc/index.ts#L216-L220

SteveYuOWO avatar Oct 30 '24 12:10 SteveYuOWO