π¨createRepeatInscriptions
import { createRepeatInscriptions } from 'sats-connect'Payload
Description
import { createRepeatInscriptions } from 'sats-connect'
await createRepeatInscriptions({
payload: {
network: {
type: network,
},
repeat: Number(repeat),
contentType,
content,
payloadType: "PLAIN_TEXT",
/** Optional parameters:
appFeeAddress: "", // the address where the inscription fee should go
appFee: 1000, // the amount of sats that should be sent to the fee address
*/
suggestedMinerFeeRate,
},
onFinish: (response: CreateRepeatInscriptionsResponse) => {
alert(response.txId);
},
onCancel: () => alert("Canceled"),
});Last updated