Tool tree
OP_RETURN Bot will create an OP_RETURN output for you, you just need to pay the fees.
Implementation
gradeNot graded
gradeNot graded
page: Every page
create_op_returnAction
Create a Lightning invoice to write an OP_RETURN message on the Bitcoin blockchain
View tool JSON
{
"name": "create_op_return",
"kind": "act",
"impl": "imperative",
"description": "Create a Lightning invoice to write an OP_RETURN message on the Bitcoin blockchain",
"inputSchema": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "The message to write (max 99,000 bytes)"
},
"noTwitter": {
"type": "boolean",
"description": "If true, do not post to Twitter",
"default": false
}
},
"required": [
"message"
]
},
"page": "/"
}create_unified_paymentSensitive Action
Create a unified payment (Lightning + on-chain) for an OP_RETURN message
View tool JSON
{
"name": "create_unified_payment",
"kind": "transact",
"impl": "imperative",
"description": "Create a unified payment (Lightning + on-chain) for an OP_RETURN message",
"inputSchema": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "The message to write (max 99,000 bytes)"
},
"noTwitter": {
"type": "boolean",
"description": "If true, do not post to Twitter",
"default": false
}
},
"required": [
"message"
]
},
"page": "/"
}check_payment_statusAnswer
Check the payment and broadcast status of an OP_RETURN request
View tool JSON
{
"name": "check_payment_status",
"kind": "answer",
"impl": "imperative",
"description": "Check the payment and broadcast status of an OP_RETURN request",
"inputSchema": {
"type": "object",
"properties": {
"rHash": {
"type": "string",
"description": "The payment hash (r_hash) in hex"
}
},
"required": [
"rHash"
]
},
"page": "/"
}view_messageAction
View the OP_RETURN message for a confirmed transaction
View tool JSON
{
"name": "view_message",
"kind": "act",
"impl": "imperative",
"description": "View the OP_RETURN message for a confirmed transaction",
"inputSchema": {
"type": "object",
"properties": {
"txId": {
"type": "string",
"description": "The transaction ID in hex"
}
},
"required": [
"txId"
]
},
"page": "/"
}