prepare_roshambo_claim · Prepare claiming a piece's rake
may change things: you confirm before it runsSend a Chain Society piece's share of the RoShamBo rake pool into its own wallet; anyone may, from any wallet. Returns the unsigned transaction(s) to sign and send in order, a simulation of the first as the signer (whether it lands, the gas), and whether the account can pay. Nothing is signed or sent here.
Input schema
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"wallet": {
"description": "The wallet that signs; on a piece's server, its holder when omitted",
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"tokenId": {
"description": "Which Chain Society piece; on a piece's server, the piece itself when omitted",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
}
}