Skip to main content

encode_batch_call

Function encode_batch_call 

Source
pub fn encode_batch_call(
    protobuf_payloads: &[Vec<u8>],
) -> Result<Vec<u8>, Error>
Expand description

Encode multiple fact submissions as SimpleAccount.executeBatch() calldata.

Each protobuf payload becomes one call to DataEdge’s fallback(). All calls have value=0.