This guide will teach you how to claim Spacecoin or tokens from a fund.
The heir module is available with Spacecoind or Spacecoin-QT.
The Heir module requires you to be using a pubkey. For more information see Pubkey Information.
With Spacecoin-QT the commands will need to be entered in the console. This is accessible at Help -> Debug Window -> Console
.
An heir fund allows an heir to gain spending access after a predetermined amount of inactivity.
The owner of the fund can claim coins/tokens at any point. The heir of the fund can only claim coins/tokens after the inactivity period has ended.
heirinfo will show if an heir is eligible to claim coins/tokens.
You will need to fill in:
-
amount
- is the number of coins or tokens to claim (spend). -
fundingtxid
- the txid of the heir fund you're claiming from.
-
Navigate to
spacecoin-cli
orConsole
depending on your wallet. -
Enter the command:
heirclaim amount fundingtxid
Example:
heirclaim 1000 c5889a3b42544fe7c71be6cd3020a983d6f590972dc4936bcfd717f968f1d995
This will return a hex-encoded transaction that needs to be broadcast to the network with
sendrawtransaction
. -
Enter the command
sendrawtransaction hexFromHeirClaim
Example:
sendrawtransaction 0400008085202f89018cc8564e8eab3c702731b319ca93863225b5f8feb3106a5ab5854791b589ae48010000006b483045022100aa4c5f97fdfa05402e26db6951bd9b7611a7022d1f0b555d4ed8ed75c465f5d00220217ce6dcbea90366845326453e242f4b95bea5f0184d32af8a3f43f385ae36d4012103f6f64dff7bc20d882b369f7bfbd63d423a09f8e908f441bef4f5b425727832e1ffffffff02005ed0b200000000302ea22c8020e029c511da55523565835887e412e5a0c9b920801b007000df45e545f25028248103120c008203000401ccf0c1a43500000000232103f6f64dff7bc20d882b369f7bfbd63d423a09f8e908f441bef4f5b425727832e1ac000000006e7301000000000000000000000000
This returns a Transaction ID (txid). You can view this transaction on the explorer.