Skip to Content
dApps
On this page

sendInscription

Send Inscription

Method

declare function sendInscription( toAddress: string, inscriptionId: string, options?: { feeRate: number } ): Promise<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 = "<RECIPIENT_BITCOIN_ADDRESS>"; const inscription = "<INSCRIPTION_ID>"; const txid = await provider.sendInscription(address, inscription);

Demo

Open example 

Last updated on