Getting Bitcoin Block Header
1. Go to https://blockstream.info/api/blocks/tip/hash and copy the string (hash).
Example, copy the hash from your bowser:
00000000000000000002e7438da67d30f70677621d846fc20d2a3ed0d1a8fb19
2. Modify this URL:
https://blockstream.info/api/block/${hash}/header
and replace ${hash}
with your string (hash) from step 1.
In my example it looks like this:
https://blockstream.info/api/block/00000000000000000002e7438da67d30f70677621d846fc20d2a3ed0d1a8fb19/header
Then copy the URL in your browser, visit it and copy the Bitcoin block header (btc_header):
3. Go to Genesis Eden Account, Actions: electseed on bloks.io.
Enter the long string (Bitcoin Header) from step 2. into btc_header.
Click on Submit Transaction.
The Outcome:
Success
You'll receive a normal tx was accepted message. Your seed will be the active seed, until a block header with greater proof of work is submitted.
Errors
If you submit a header with low proof of work in comparison with the latter, you may see one of the following errors. In this case, you continue to submit block headers in the time window to find one with greater proof of work.
assertion failure with message: New seed block must have greater POW than previous seed.
The contract will take the block that has the most proof of work. This error tells you that the block you submitted doesn't have as much proof of work as the block the contract has already accepted from a previous submission.
assertion failure with message: Cannot seed election now
You're submitting too early or too late. You must submit seeds in a specific time window.
24 hours before the start of the election
the 2 hour window of the sortition round
Seed block could not be in the required time window
assertion failure with message: Seed block is too early
assertion failure with message: Seed block is too late
Author: Dario Cesaro
Editor: Randall Roland
Translator: -
Sources & References: