On this page
inscribeTransfer (Deprecated)
Legacy method for creating a token transfer inscription. This page is retained for existing integrations; do not treat it as a recommendation for new integrations.
Method
declare function inscribeTransfer(
ticker: string,
amount: string,
): Promise<string>;Params
ticker— requiredstringthe token tickeramount— requiredstring
Response
txid — string
Example
const provider = (window.$onekey && window.$onekey.btc) || window.unisat;
const ticker = "<TOKEN_TICKER>";
const amount = "100"
const txid = await provider.inscribeTransfer(ticker, amount);Last updated on