sendInscription

Send Inscription

Method

async function sendInscription(
    toAddress: string, 
    inscriptionId: string, 
    options?: { feeRate: number }
): string

Params

  • toAddress — required string the address to send

  • inscriptionId — required string the id of Inscription

  • options — optional

    • feeRate — required number the network fee rate

Response

txid — string

Example

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

const address = "010203"
const inscription = "010203"
const txid = async provider.sendInscription(address, inscription);

Demo

Last updated