ask
ask(string model, Kind kind, uint8 quorum, uint32 callbackGas,
uint40 ttl, uint96 fee, string prompt) returns (uint256 id)Pulls `fee` CREDIT from the caller (approve first) and emits the prompt in the Asked event. The prompt is never stored: an eight-kilobyte question costs the same storage as a one-line one, which is none.
Validation is strict and cheap: quorum 1–3, Text forces quorum 1, ttl between two minutes and seven days, fee at least 0.01 CREDIT per answer, callback gas at most 500,000, prompt at most 8,192 bytes.
The returned id is what you keep. For a contract, it is the key you will see again in onAnswer and the argument to boolAnswer, uintAnswer, choiceAnswer or answerOf.