inscribeTransfer (Deprecated)
Inscribe Transfer
Method
async function inscribeTransfer(
ticker: string,
amount: string,
): string
Params
ticker
— requiredstring
the hex string of psbt to signamount
— requiredstring
Response
txid
— string
Example
const provider = (window.$onekey && window.$onekey.btc) || window.unisat;
const ticker = "010203"
const amount = "100"
const txid = async provider.signPsbt(psbtHex);
Last updated
Was this helpful?