Skip to main content

ptb_with_pure_inputs

Function ptb_with_pure_inputs 

Source
pub fn ptb_with_pure_inputs(
    count: usize,
    size: usize,
    with_randomness: bool,
) -> ProgrammableTransaction
Expand description

A programmable transaction with count pure inputs of size zero bytes each, then the randomness state object when with_randomness is set. Its one command uses the first two inputs, so there must be at least two.