Module: ordinals
Interfaces
Functions
inscribeText
▸ inscribeText(signer
, toAddress
, feeRate
, text
, postage?
): Promise
\<Transaction
>
Inscribe some text data on Bitcoin using the remote signer.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
signer | RemoteSigner | undefined | Implementation to interact with Bitcoin and sign the PSBT. |
toAddress | string | undefined | The address to receive the inscription. |
feeRate | number | undefined | Fee rate of the Bitcoin network (satoshi / byte). |
text | string | undefined | Data to inscribe in the witness of the reveal transaction. |
postage | number | 10000 | Amount of postage to include in the inscription. |
Returns
Promise
\<Transaction
>
Promise which resolves to the reveal transaction.
Defined in
ordinals/index.ts:54