OrangeSurf on Nostr: What is happening here? First the user enters their txid. A post is made to the ...
What is happening here?
First the user enters their txid.
A post is made to the accelerator/estimate API which looks up the transactions onchain fee, size and unconfirmed ancestors. It also returns the number of sats to increase the fee rate to the next block estimate!
Next the user enters their bid boost (how many sats they want to add to their transaction bid). The helptext updates automatically to display the number of sats estimated to bump the transaction into to the next block.
On pressing enter / clicking Generate Payment a post is made to the payments/bitcoin API. The response includes the amount to pay and the LN invoice which is rendered as a QR and displayed as text.
If the user changes either input the invoice is hidden.
Published at
2024-09-03 13:38:32Event JSON
{
"id": "1bd74f09a02cdc6f7bf5e65f5a85fb1fe75cffbdcad7aefe23c3c275488e8fec",
"pubkey": "3ddeea527009e25c88d34212f7c9aa36344fbeebd2b69a04ee77ffc3c0ef7371",
"created_at": 1725370712,
"kind": 1,
"tags": [
[
"e",
"df602c683dd819b61599137b92b1a81a213480c541350f78fc84a69e2a19adea",
"",
"root"
],
[
"p",
"3b6a3d3bb3358836a64d1c80292b96e7698ec35a2e5ca451defa6bd3af3eeb84",
"",
"mention"
],
[
"p",
"3ddeea527009e25c88d34212f7c9aa36344fbeebd2b69a04ee77ffc3c0ef7371"
]
],
"content": "What is happening here?\n\nFirst the user enters their txid. \n\nA post is made to the accelerator/estimate API which looks up the transactions onchain fee, size and unconfirmed ancestors. It also returns the number of sats to increase the fee rate to the next block estimate!\n\nNext the user enters their bid boost (how many sats they want to add to their transaction bid). The helptext updates automatically to display the number of sats estimated to bump the transaction into to the next block.\n\nOn pressing enter / clicking Generate Payment a post is made to the payments/bitcoin API. The response includes the amount to pay and the LN invoice which is rendered as a QR and displayed as text. \n\nIf the user changes either input the invoice is hidden.",
"sig": "a526614f3160209052343486e76859b4e92e61dff0ea4f005b19ee61a7176c7c8026d0e18103d94e5d6ab0ce736e9381185d69f89985a73f0bafa281e4686a72"
}