add rpc batching options struct