Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 625 Bytes

inscribetransfer-deprecated.md

File metadata and controls

31 lines (20 loc) · 625 Bytes

inscribeTransfer (Deprecated)

Inscribe Transfer

Method

async function inscribeTransfer(
    ticker: string, 
    amount: string,
): string

Params

  • tickerrequired string the hex string of psbt to sign
  • amountrequired string

Response

txidstring

Example

const provider = (window.$onekey && window.$onekey.btc) || window.unisat;

const ticker = "010203"
const amount = "100"
const txid = async provider.signPsbt(psbtHex);